|
|
|
|
|
by farnerup
1458 days ago
|
|
This is interesting. While languages like Python, Lisp and probably Lua can run on a microcontroller, they are never going to be completely trusted unless you have control over memory use. In Jinx it seems like you can/must define your own memory allocation function. |
|
In fact, the core API function to create a new Lua state (lua_newstate()) requires an allocator function but usually people use a library API function (luaL_newstate()) for state creation that calls the core API using an allocator based on the standard C functions.