HACKER Q&A
📣 abhijat

What languages produce self contained binaries?


Go is one, are there any other languages which produce self contained binaries out of the box?

Or link dynamically but only to very few libraries like glibc so they are easy to distribute?


  👤 satyenr Accepted Answer ✓
C, C++, D, Nim, Haskell, OCaml, Rust, Swift, Objective-C, Crystal..... the list goes on. Many of the languages have a native code implementation in addition to an interpreter or a byte code compiler — e.g. Common Lisp (SBCL), Scheme (Chicken Scheme), Kotlin/Native.....

👤 ak39
Delphi/FreePascal

👤 eeZah7Ux
Link dynamically if you care about security upgrades.