Cooperative multitasking
Posted: Sun May 02, 2021 8:34 am
My goal is to build a cooperative multitasking OS.
It will compile from byte code similar to JVM and CIL and the cooperation will be built-in.
My thinking is that taking it out of the hands of the programmer and putting it under the control of the OS will prevent or reduce the instabilities we saw back in the days of Windows 9x, which gave CMT a bad rep.
The plus side for me is a lot less task switching, stack operations, cache flushes, etc. at the hardware level, all of which is very expensive in an OS designed for virtualization - already running on top of an OS that has the CPUs doing a lot of that for its own purposes with extra for the purposes of virtualization.
Anyone see any flaws in my thinking, or have tried the same thing and run into the same problems as 9x
It will compile from byte code similar to JVM and CIL and the cooperation will be built-in.
My thinking is that taking it out of the hands of the programmer and putting it under the control of the OS will prevent or reduce the instabilities we saw back in the days of Windows 9x, which gave CMT a bad rep.
The plus side for me is a lot less task switching, stack operations, cache flushes, etc. at the hardware level, all of which is very expensive in an OS designed for virtualization - already running on top of an OS that has the CPUs doing a lot of that for its own purposes with extra for the purposes of virtualization.
Anyone see any flaws in my thinking, or have tried the same thing and run into the same problems as 9x