Hacker GitHub

← All repos

borgo-lang/borgo

View on GitHub ↗ ★ 4,633 Rust

Borgo is a statically typed language that compiles to Go.

25 mentions on Hacker News by 22 people: 2 stories, 23 comments · first 2024-04-30 · latest 2026-05-07

Mentions per year 25 mentions · busiest year 2025 (14)
20082026
  1. …https://github.com/odin-lang/odin (Odin) 3) https://github.com/goplus/xgo (Xgo, formerly Goplus) 4) https://github.com/borgo-lang/borgo (Borgo) 5) https://github.com/mitchellh/gox (Gox) 6) https://github.com/MadAppGang/dingo (Dingo) 7)…
  2. …Go, trying to be a better a Go. Off the top of my head: XGo ( https://github.com/goplus ), Borgo ( https://github.com/borgo-lang/borgo ), Soppo ( https://github.com/halcyonnouveau/soppo )...
  3. Checkout Borgo: https://github.com/borgo-lang/borgo I also find that D is good between language. You can do high level or low level whenever you need it. You can also do some inbetween systems programming in C# if you don’t care about a VM…
  4. You want https://github.com/borgo-lang/borgo , but that project is dead. You might be interested in Gleam?
    comment by Philpax · 2025-12-04 · in Thoughts on Go vs. Rust vs. Zig
  5. ▲ 2
    Borgo: A statically typed language that compiles to Go
    story by thunderbong · 2025-11-24 · 0 comments
  6. There is borgo https://github.com/borgo-lang/borgo but it's not yet mature and not being actively developed
    comment by qouteall · 2025-11-15 · in Go's Sweet 16
  7. …uses constructs like Option<T> instead of nil, Result<T,E> instead of multiple return values, etc. https://github.com/borgo-lang/borgo
    comment by gr4vityWall · 2025-11-15 · in Go's Sweet 16
  8. There's Borgo: https://github.com/borgo-lang/borgo I've never used it so can't speak from any experience, and unfortunately it doesn't seem particularly active (and doesn't mention a current status anywhere), and doesn't have a license, so…
    comment by nathcd · 2025-11-07 · in Why I love OCaml (2023)
  9. https://github.com/borgo-lang/borgo
    comment by bobbylarrybobby · 2025-10-22 · in Go subtleties
  10. …using a different syntax, I'd write way more Go code. I feel like that's what petlangs like Borgo ( https://github.com/borgo-lang/borgo ) and AGL ( https://github.com/alaingilbert/agl ) are doing: making Go less goey.
  11. > Would love to see a coffeescript for golang. It's not viable to use, but: https://github.com/borgo-lang/borgo
    comment by Mawr · 2025-08-22 · in Go is still not good
  12. You're not the only one who wishes Go was just a bit more like Rust: https://github.com/borgo-lang/borgo Sadly, that project seems to be dead, but I hope someone picks up its mantle some day. A marginally better Go could, well, go far.
  13. Go with sum type: Borgo https://github.com/borgo-lang/borgo
  14. …safe, bears a fairly high adoption cost as existing code often cannot be ported directly. Borgo ( https://github.com/borgo-lang/borgo ) is a nil safe language that compiles to go, so is easily adoptable in existing Go systems.
  15. …borgo[1] syntax to be the Go 2 language. A man can dream... [1]: https://borgo-lang.github.io/ | https://github.com/borgo-lang/borgo
    comment by stock_toaster · 2025-06-04 · in (On | No) Syntactic Support for Error Handling
  16. check out Borgo https://github.com/borgo-lang/borgo It is Go with algebraic datatypes!
    comment by simon_void · 2025-03-29 · in The Koto Programming Language
  17. I wouldn’t use this in production, but this was in HN earlier this year and I love the idea: https://github.com/borgo-lang/borgo
    comment by russell_h · 2024-12-30 · in When Zig Is Safer and Faster Than Rust
  18. Note that the compiler is not open source. https://github.com/borgo-lang/borgo/issues/11
    comment by mrhonza · 2024-11-29 · in Borgo Programming Language
  19. The dream. Someone posted this, which is designed along these lines, here not long ago. https://github.com/borgo-lang/borgo
    comment by hackerbrother · 2024-10-23 · in Show HN: Rust Web Framework
  20. …is an interesting attempt to address some of these issues. I would love it to get real traction. https://github.com/borgo-lang/borgo
    comment by garyrob · 2024-08-17 · in An unordered list of things I miss in Go
  21. …stuff like "pattern matching" is really nice. It's nice enough that it motivated efforts like https://github.com/borgo-lang/borgo Somewhat implicit is that Rust has enough of a community that there are many good packages/libraries and…
    comment by rgoulter · 2024-05-17 · in Exercises to Learn Rust
  22. See the example with the `?` operator: https://github.com/borgo-lang/borgo?tab=readme-ov-file#error... The main benefits of a Result type are brevity and the inability to accidentally not handle an error.
  23. There is a `?` operator: https://github.com/borgo-lang/borgo?tab=readme-ov-file#error...
  24. …to be a transpiler (consumes a Borgo and does the work to convert and emit a Go program as text): https://github.com/borgo-lang/borgo/blob/main/compiler/src/c...
  25. ▲ 666
    Borgo is a statically typed language that compiles to Go
    story by manx · 2024-04-30 · 545 comments