Skip to content
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

Closed
henke37 opened this issue Jan 15, 2017 · 3 comments
Closed

Embedded runtimes #1

henke37 opened this issue Jan 15, 2017 · 3 comments

Comments

@henke37
Copy link

henke37 commented Jan 15, 2017

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.

@munificent
Copy link
Owner

Dynamic linking is used and space is saved.

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.

@hellerve
Copy link
Contributor

Just a quick note: Haskell also links its runtime statically—and Haskell libraries, for that matter.

@munificent
Copy link
Owner

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. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants