3 ms·
Dropping down to C is available in pretty much any other language too.
by bensummers 17y ago
Dropping 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.