nowfound

Dev tools · July 24, 2023

BA

Borgo – a Rusty language that compiles to Go

Hey HN Borgo is a programming language I've been working on for the past year. It looks like Rust (because I didn't want to write a parser) and compiles to Go. What I want from a programming language is: - Sum types - Pattern matching - Option/Result types - Garbage collected - Concurrency without async - Good third-party package ecosystem Borgo is my attempt at filling the gaps in the list above, adding features seen in ML-like languages to Go. One ambitious goal of this project is to be compatible with existing Go packages. Generating bindings is pretty much automatic (there's an…

In plain words

Borgo is a programming language with Rust-like syntax that compiles to Go. It adds features from ML-like languages including sum types, pattern matching, and Option/Result types while maintaining Go's garbage collection and straightforward concurrency model. The language aims to be compatible with existing Go packages through automatic binding generation, allowing developers to access Go's third-party ecosystem. The compiler is functional but incomplete, and an online playground is available for testing.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

Hey HN Borgo is a programming language I've been working on for the past year. It looks like Rust (because I didn't want to write a parser) and compiles to Go. What I want from a programming language is: - Sum types - Pattern matching - Option/Result types - Garbage collected - Concurrency without async - Good third-party package ecosystem Borgo is my attempt at filling the gaps in the list above, adding features seen in ML-like languages to Go. One ambitious goal of this project is to be compatible with existing Go packages. Generating bindings is pretty much automatic (there's an importer tool) and should help massively with adoption. The repo includes bindings to some packages in the stdlib already. The compiler is in no way complete, but you can definitely build some interesting programs with it. The online playground runs the compiler as a WASM binary, stitches together the transpiled Go code and sends it off for execution to the official Go playground. The playground contains quite a few examples and goes more in depth into each feature: https://borgo-lang.github.io/ Would appreciate any feedback! :)

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 1d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, July 2023

the whole month →
  • Clustr1,529

    The reality check for your crypto portfolio

    Commerce · 2023 · clustr.io

  • WL

    Hey everyone, I here is a small open-source project I've been working on lately. I'd love to hear your thoughts and improvement ideas :) GitHub: [github.com/Vincenius/workout-lol](https://github.com/Vincenius/workout-lol)

    Dev tools · 2023 · workout.lol

  • HN

    I saw this [0] pretty cool thread by user revskill, and wanted a quicker way to search through it, but also to keep them all in one place so I can read them at my leisure whenever I get time. Right now is like 60 lines of Ruby using Nokogiri, but I will certainly look into it further down the line and improve the list. There's a cronjob checking the thread every 12 hours but I will eventually shut that down and it will become static after that. There are some really awesome blogs in there. I really recommend going through the list, it made my day. [0] "Could you share your personal blog…

    Life & fun · 2023 · dm.hn

  • Lazy929

    Capture at the speed of thought

    AI · 2023 · lazy.so

  • A safe space for your thoughts, private, local, p2p & open

    Commerce · 2023 · anytype.io

  • n8n 1.0788

    Workflow automation for technical people

    Dev tools · 2023 · n8n.io