Hacker News new | ask | show | jobs
by thangngoc89 615 days ago
> single binary

> Which language you would suggest?

Golang

1 comments

Or also Rust, Zig, or Nim.
How is the cross-compilation of these 3 languages compared to Golang? I suggested Golang because it’s super easy, just set the correct GOARCH and you’re good to go.
Zig is also super easy; just use the -target flag and you're good to go.

Pretty sure Rust is only slightly less easy. No idea about Nim.