4 ms·
How 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 t
by catwell 10y ago
How 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.