3 ms·
Nice to see this here! I helped edit parts of this, feel free to ask me questions. Personally I’ve quite enjoyed using Nim in RTOS and embedded systems. I belie
by elcritch 4y ago
Nice to see this here! I helped edit parts of this, feel free to ask me questions. Personally I’ve quite enjoyed using Nim in RTOS and embedded systems. I believe it opens up the full power of embedded programming to non-experts.
It’s hard to describe how nice the combination of ARC/ORC memory management with the TLSF allocator is for a ready-to-go real time code and systems programming.
This combo gets 90-95% the speed and size of manual memory management, while being much easier to program. Generally performance and real time metrics or latency is a matter of optimizing your code, not re-writing it. Since Nim v2 integrates the allocator it also makes it trivial to debug allocations, or check for leaks.