by ardit33 · 18y ago · 0 comments
Its an interesting read. Lua seems pretty sweet!
You'd be amazed at the sorts of aggressive optimizations that can be done at compile-time.
If the symbols are "hard linked", it is not dynamic anymore.
I wonder what strategy the LISP dialects out there typically use? I was impressed how easy it is to create an object system in a LISP, but somewhat dismayed because all examples just used (cond) for symbol lookup. Maybe because they were just academic examples, or perhaps they really don't care about performance at all?
Lies, slander! ;-)
Anything that happens within a function can be treated as a black box, and compiled down to the metal, if you like.
The language can be as dynamic as you like; that doesn't preclude the output format from being tightly optimized machine code.