Errm - hot plug?
How do you think hot plug works? The OS needs to be told that something is plugged in. And how would it know that if there wasn't a USB stack running in the background? Say you plug in an external hard drive. The USB stack detects it, identifies it as mass storage and loads the appropriate driver. This driver identifies the geometry and then mounts the drive as a volume. That doesn't happen until you plug in a device, but the USB stack still has to be running to be able to see the hot plug event. That's pretty much as efficient as you can make it, without disabling the stack itself and thus removing hot plug capability.
Edit: Sorry, I thought you were talking to me - were you talking to freqmax there?
@freqmax
@Daedalus, Easy, load the driver, probe, save result. As for USB load the USB bus driver but treat other sub-drivers like the first one.
Load the driver, probe, save the result... That's pretty much what OS4 does though. You can plug several CD-ROM drives into an OS4 machine, but it'll only load drivers for the ones which are connected. If you don't have a 2 CD drives connected, it won't load two drivers. I don't understand your point there...
Just because there are resources isn't a good reason to waste them. One example is embedded usage where less resources saves equipment and battery etc..
That's very true, and as someone who writes firmware for embedded devices, I'm well aware of resource management issues there. But again, I don't see what's being wasted here with OS4. It only loads what it needs, but the powers that be have decided that modern features are needed...
@commodorejohn
Well, waste depends on your perspective. Most of the features are a little more advanced than OS3.9, and so take up more RAM. On top of that, it's all rewritten in C, which is bigger and less efficient, but means easier development. How much RAM does a 3.9 machine with USB, TCP/IP, and all the patches that would bring it to similar functionality use? I know mine uses a sizeable chunk of RAM, and I wouldn't get much change from 32MB... I guess one needs to decide if the OS should use more modern features, or stick with the old-fashioned, bolt-on-what-you-want philosophy...