3 ms·
Also, although people often praise the architecture of the NT-based line, I think 3.x and the rest of the DOS-based Windows were far more impressive; while NT i
by userbinator 6y ago
Also, although people often praise the architecture of the NT-based line, I think 3.x and the rest of the DOS-based Windows were far more impressive; while NT is very much a "traditional" OS, 3.x and 9x are in some ways far more similar to a bare-metal hypervisor.
This fact becomes very apparent when one tries to write drivers for the latter OSs, wherein you write a user-mode library that basically behaves as if it's accessing the hardware "directly" as an old DOS application would, and then write a "virtual device driver" to virtualise/multiplex the hardware among multiple "virtual machines".
There's admittedly far less protection than in the NT world where all applications' (and DOS ones are run in an emulator) access to hardware needs to pass through the kernel, but the thin and permissive virtualisation layer --- where applications can essentially access the hardware directly if not "trapped" by virtual device drivers --- makes for amazingly low resource usage and high performance. A DOS application running in 3.x/9x can interact directly with the hardware and the only overhead is that of V86 mode, comparable to the full x86 vitualisation extensions (AMD-V/VT-x) introduced much later.