It's obscurely frustrating when the same innovation both solves a problem, _and_...
Simon Tatham @simontatham@hachyderm.io
It's obscurely frustrating when the same innovation both solves a problem, _and_ renders it unnecessary. You lose the opportunity to enjoy the first of those.
When I was a student, my first free software project was #NASM. It had to support lots of x86 OSes' different object-file formats. So I had about seven OSes that I needed to test it on.
I could only afford one computer on a student budget, so I had to install them all on the same machine and do some Extreme Multiboot. No existing bootloader could handle my 7-OS setup, so I had to write my own specialist heavy-duty bootloader. (Naturally, _in_ NASM.)
Debugging code that runs at boot time, when every test requires a reboot, is a complete pain. I could test snippets of the code out of context in a DOS debugger, but sooner or later, I'd have to install the whole thing, test-boot it, and like as not, find it hung without giving me any useful feedback.
Virtual machine technology came in on x86 not long after, and made this all so much nicer. You can test your boot-time code with only a normal edit-compile-link cycle and minimal faff to install it in the VM's virtual boot media! If you're lucky you can even get per-instruction diagnostics out of the VM, or attach a debugger to it! It's all amazing! I wish I'd had a VM for debugging dboot, back in 1997 …
… Except that if I'd had VMs available, I also wouldn't have _needed_ dboot. At least five of my test OSes would have lived in dedicated VMs in the first place. (Maybe I'd still have dual-booted Linux and Windows, but that was a normal setup that any bootloader of the era could have handled.)
So I'd never have had the opportunity to enjoy the nicer debugging experience!