News for hackers. Stuff that matters.
Re:Lua-RTOS: a real-time operating system for ESP32 by OskarS on Wednesday June 09, 2021 @08:17AM (#27447026)
I'm curious about this as well. And it's not just GC: just allocating memory is not real-time safe unless you're using something like a bump allocator. Lua seems very much like the wrong language for this.
Re:Lua-RTOS: a real-time operating system for ESP32 by fullstop on Wednesday June 09, 2021 @08:59AM (#27447353)
Lua doesn't need to use malloc directly -- you can replace the memory allocation function with your own implementation which is real-time safe.