|
|
|
|
|
by abhijat
2355 days ago
|
|
I was looking for languages which produce binaries which are self contained (in terms of being statically linked OR dynamically linked with few dependencies) close to what go produces, out of a default build process. I guess with musl C, C++ and Rust can do that though it is a bit of work. OCaml seems to link only to non OCaml stuff dynamically, which fits the bill too. |
|
Also, the likes of Haskell let you build binaries dependent only on OS provided libraries whereas the likes of Nim compile to C. You might want to play with the short listed languages to get an idea. A simple Hello World will tell you what they link with by default. Anything beyond that is up to you.