4 ms·
Readme says transpile: "Borgo is a new language that transpiles to Go." And it's written in rust. Kinda unholy.
by PurpleRamen 2y ago
Readme says transpile: "Borgo is a new language that transpiles to Go."
And it's written in rust. Kinda unholy.
- metadat 2y agoYeah, the top of the project says "compiles", then the readme says "transpiles". Perhaps the author was just trying to get all the SEO terms in there. > And it's written in rust. Kinda unholy. Agreed, it's like, do you really hate writing Go so much that you'll really write all that Rust to get out of it? Haha. Reminds me of the web frameworks which generated the JS so you didn't have to touch it, like GWT of old. I'm sure it was a fun exercise to create Borgo, though. My favorite transpiler is Haxe. It targets so many other languages, the surface area is impressive. https://haxe.org/ https://haxe.org/
- Alifatisk 2y agoI’ve totally forgotten about Haxe!
- pjmlp 2y agoNothing like adding dependencies to the build toolchain.
- speed_spread 2y agoNothing unholy there. It's easier to transpile to a less constrained language. Transpiling to Rust would require using one of the GC crates or refcount everything. Then you'd have to also satisfy the mutability and send/sync constraints. Go needs none of these things, so all the transpiler needs to care about is it's own added constraints.