2 ms·
I wonder if I could learn anything interesting by making a user space machine agnostic os using some VM like wasm that allows for preemption
by 01HNNWZ0MV43FF 2y ago
I wonder if I could learn anything interesting by making a user space machine agnostic os using some VM like wasm that allows for preemption
- PhilipRoman 2y agohttps://github.com/rswier/swieros https://github.com/rswier/swieros is a cool project that uses it's own VM (with a C compiler included). I was surprised by all the capabilities it has.
- pjmlp 2y agoFor sure, all Xerox PARC famous OSes are kind of VM based for example. The compilers generated bytecode, and the CPUs were microcoded. So the first boot phase was to load the microcode into the CPU, and then boot into Smalltalk, Interlisp-D, Mesa, Cedar environments. There was a project that tried to be a future Amiga OS replacement that was also bytecode based with JIT, https://news.ycombinator.com/item?id=9806607 https://news.ycombinator.com/item?id=9806607 Inferno with Limbo, another example, get wasm to replace disVM role. Or like ART on Android, and so on. Ah, IBM i (née AS/400) is also bytecode based with a JIT on the kernel. Lots of examples out there, UNIX is not the only way.