Show HN: A thread hierarchy management library in C
github.com
github.com
Because FreeRTOS is unlikely to play nice with your host OS, typically you'd need to emulate a target (say, arm) using an emulator like qemu. Once you're at that point, you could run it like any other program. There's probably more complexity to it like building an image but there'd be a bunch of tutorials for this.
When would you typically do this? For testing your FreeRTOS (or other bare metal) code without actually loading it on to your device and power cycling it. Maybe as part of a regression test
both are doing the most natural thing for proper concurrency. nthm with true concurrency (native threads). dill with fake concurrency, coros only, aka green threads.
- https://github.com/mratsim/weave
- RFC that describes the goals: https://github.com/nim-lang/RFCs/issues/160