16 points · by polar · 18y ago · 20 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.
I've also done audio processing projects in Python, and ended up switching to D because Python couldn't do floating point additions and multiplications across large lists fast enough.
Eg. Games: A lot of games use something like Lua for scripting their UI, but for the hardcore game engine they use C or C++
http://www.strongtalk.org/ http://rubini.us/ http://www.cons.org/cmucl/
http://cobra-language.com/docs/why/
I'll be curious to see if it succeeds.