Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
OskarS
on June 9, 2021
|
parent
|
context
|
favorite
| on:
Lua-RTOS: a real-time operating system for ESP32
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.
fullstop
on June 9, 2021
[–]
Lua doesn't need to use malloc directly -- you can replace the memory allocation function with your own implementation which is real-time safe.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: