Hacker News new | past | comments | ask | show | jobs | submit login

Exactly, FreeRTOS makes it trivial to spin up 20 threads... who was doing that with MS-DOS?



You wouldn't, because the whole point of bare metal is to ignore the OS and use directly the BIOS and hardware.

And regarding threads, we would use cooperative concurrency, and also take ownership of the timer interrupt.

Anything is easy when there is an abstraction implemented as library.

Games and demoscene tricks.


I don't understand why they used a wasteful threaded model instead of an event reactor. It makes no sense to me on a constrained embedded platform. The right way to do it is Japaric's "Real-Time Interrupt-driven Concurrency". Only works for ARM cores though...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: