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

It doesn't seem that easy. How would you do that in Python or Ruby? Indeed, you can't easily do it with anything that links against glibc as it wont do static linking for some things, so even for C code it can be non trivial (install Musl libc).


Since Go is compiled it would be fair to see the other compiled languages, but I guess even Python and Ruby has some level of support.

OCaml -> http://caml.inria.fr/pub/docs/manual-ocaml-4.00/manual025.ht... Rust -> rustc -C link-args=-static-libgcc hello.rs C -> gcc -o foo main.o -static -lbaz -lbar Python -> http://www.py2exe.org/ Ruby -> https://github.com/larsch/ocra




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

Search: