-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embedded runtimes #1
Comments
In which languages? Most don't statically link the C runtime, of course, but from what I can tell, I think they do generally statically link their own language's runtime. Go binaries include the Go runtime, and I think OCaml binaries typically do when compiled to native code. |
Just a quick note: Haskell also links its runtime statically—and Haskell libraries, for that matter. |
Good to know. I'm going to go ahead and close this out because it seems like at least enough languages do this that I'm not totally off base for claiming so. :) |
The sentence "In a fully compiled language, the code implementing the runtime gets inserted directly into the resulting executable." isn't what actually happens. Dynamic linking is used and space is saved.
The text was updated successfully, but these errors were encountered: