4 ms·
You clearly don't understand terra then. Terra is a system language that mimics Luas syntax and uses it as a preprocessor. The only thing that makes it differen
by DarkWiiPlayer 8y ago
You clearly don't understand terra then. Terra is a system language that mimics Luas syntax and uses it as a preprocessor. The only thing that makes it different from, say, C, is that the compiler can actually run the code it generates immediately, and outputting an enclosed executale is an option, but not the default.
As for PUC Lua, yes, it's perfectly ok for most things when you're mostly scripting and using C for the heavy lifting anyway, like when you're building a scripting language into an already existing game engine or program.
LuaJIT was always meant to fill the in-between role (which is, arguably, the broadest one) where you can't be bothered to write a full C application to host your Lua code but still need more speed than you get by just running a whole program in PUC Lua.
- mitchtbaum 8y ago> where you can't be bothered to write a full C application to host your Lua code This Rust code I linked to is an application framework. It makes several of Rust's most powerful libraries available to Lua, which should greatly improve development speed. I'm using it to build an event-based Lua web framework on top of it. (also there) Development of other network applications should also be very smooth, afaics.
- justincormack 8y agoYeah thats a different use case somewhat like a modern version of openresty but built around a set of libraries rather than inside Nginx. There may still be a case for some applications for a jit compiler for the Lua parts but that depends on the application.