Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Go tooling is awesome compared to other language ( Rust included ). Everything is built it and you don't need something external, everything works out of the box dependencies included, it has been the case for 4 years with go mod.

The fact that you can cross compile a win10 .exe on a raspberry pi with a single command as easy as "GOARCH=amd64 GOOS=win go build ." it's very powerful and I don't know a single language that does it out of the box like go does.

Go tooling is one of the strongest point of Go you have all of that built-in:

- compilation

- testing

- benchamark

- dep managment



> it's very powerful and I don't know a single language that does it out of the box like go does.

zig build -Dtarget=x86_64-windows


I'm talking about mainstream language not stuff in dev. And go has been doing that for 10years+


well, not exactly. Zig is also crosscompiling C/C++ code, not just Zig. CGo doesn't do cross-compilation.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: