5 ms·
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 h
by farnerup 4y 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.
- dirkf 4y agoJust FYI: Lua also allows you to provide your own allocator 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.