3 ms·
The corners of the language make it difficult to benefit from compilation. Per the language, things like the internals of an instance of a class can be manipula
by maxerickson 14y ago
The corners of the language make it difficult to benefit from compilation. Per the language, things like the internals of an instance of a class can be manipulated at runtime, so the compiled output ends up needing to support the entire dynamic runtime.
Cython and Nuitka (among others) do this to varying degrees.
- randomdata 14y agoDidn't Smalltalk basically invent the idea of being able to open up objects at runtime? Even Objective-C, with its strong Smalltalk ties, allows for runtime modification.
- scott_s 14y agoAny language with eval is probably going to, by default, be interpreted. You can compile a language with eval, but it means you'll need to stick the compiler into every binary with a program that calls eval.
- pnathan 14y agoCommon Lisp allows all sorts of internal runtime manipulation and is usually compiled to machine code. :-)