News for hackers. Stuff that matters.
Re:Jinx: Embeddable scripting language for real-time applica... by farnerup on Friday June 17, 2022 @10:08AM (#31778403)
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.
Re:Jinx: Embeddable scripting language for real-time applica... by dirkf on Friday June 17, 2022 @01:29PM (#31781459)
Just 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.