3 ms·
Given the quality of the software you want your cellphone to get from a network repository and run, a non-preemptive OS with shared resources would be worthless
by marcosdumay 10y ago
Given the quality of the software you want your cellphone to get from a network repository and run, a non-preemptive OS with shared resources would be worthless.
We tried the simple approach. It's a nightmare.
(Yes, on single application embedded CPUs simple is great. Those are disappearing faster than glaciers. Everything has different applications running in parallel nowadays.)
- catwell 10y agoHow hard would it be to make a preemptive Forth system? Not that much, I suppose. Or we could have hardware like GreenArray chips [1] with many cores (144) so that every application could have its own core and preemption would not even be necessary. [1] The author of the article, Jeff Fox, worked for them. He died in 2011.
- marcosdumay 10y agoAdd resource protection and you'll get a full blown OS, with a Linux-like performance or worse. But if you just want it to be preemptive, you'll need a small supervisor, a heavier memory manager, and some context switches. You'll get about the same performance green threads get on modern languages.