3 ms·
LuaJIT (http://luajit.org http://luajit.org), as well, and it's still very easy to move any hotspots out to C.
by silentbicycle 17y ago
LuaJIT (http://luajit.org http://luajit.org), as well, and it's still very easy to move any hotspots out to C.
- bensummers 17y agoDropping down to C is available in pretty much any other language too.
- silentbicycle 17y agoYes, but since Lua has been designed from the beginning to embed in a C program, its developers take the C API very seriously. (At the least, you can use Lua as a C library providing a great string/atom system, script & config file parser, and a garbage-collected Python-like repl for automated testing and debugging.)
- bensummers 17y agoAgreed, some languages are easier than others. Another one which is particularly easy is Ruby. And, with JNA in Java, it's even pretty easy in Java.