| ▲ | melodyogonna 3 hours ago | ||||||||||||||||
That's two new languages compiling to Go making HN frontpage in as many days. It seems people like everything about Go except the language itself. Me? I like everything about Go including the language, these transpiled languages are interesting though. But I keep wondering if they could integrate at a lower-level than the source code. Like how JVM languages integrate at the bytecode level, or LLVM languages at the LLVM level | |||||||||||||||||
| ▲ | MichaelNolan 3 hours ago | parent | next [-] | ||||||||||||||||
> But I keep wondering if they could integrate at a lower-level than the source code. I’m sure they could, but targeting go source code has the benefit of giving early adopters an escape hatch. If it targeted LLVM directly, I would never consider using this at work since the risk of it being abandoned is too high. But since it targets go source, I would perhaps consider it for some low importance projects at work. | |||||||||||||||||
| |||||||||||||||||
| ▲ | nu11ptr an hour ago | parent | prev | next [-] | ||||||||||||||||
> But I keep wondering if they could integrate at a lower-level than the source code. Unfortunately nothing below source code level is stable, so they would constantly be chasing changes after any Go release. I personally wish they would focus on making it accessible, as Go actually has a nice runtime and would make a good language target. | |||||||||||||||||
| ▲ | onlyrealcuzzo an hour ago | parent | prev | next [-] | ||||||||||||||||
What was the other one? I'm working on a language that transpiles to Zig with a custom Go-like runtime (and no garbage collector, Rust-style Affine movement instead). Sky seems quite cool, as it's additive to Go in interesting ways. I originally considered keeping the GC and just transpiling to Go so I didn't need to write a Runtime. Go rules! It really does. But I HATE writing/reading Go. So I'm glad more people are doing this! | |||||||||||||||||
| |||||||||||||||||
| ▲ | ksec 2 hours ago | parent | prev [-] | ||||||||||||||||
If we think of Go as different kind of C, then having Go as a compiled target seems to make sense as C is a compiled target. | |||||||||||||||||