by robbyt · 6y ago · 0 comments
1. Some abstraction. 2. Replacing the existing "thing" with a new one that had more functionality.
Building layers of abstraction is typically safer and easier, but the abstractions aren't free. There's a really performance and completely tax to using the additive approach. Just take a look at the Win32 API. So many calls are slow AF and just reading a file off the disk in Windows requires 1000s of syscalls and confext switches- because of too much "safe" abstractions built over the years.
Compare this to Apple's engineering strategy, where they often deprecate and replace an APIs. This is obviously more abusive to the developers, and the users, but arguably better for the long term stability and performance of the system.
Windows, like any big system, has problems, but not this one. Its FS is slow, but not for this reason.
Another problem is that the Windows Api is designed differently from the Linux Api. Windows is optimized for network drives, Linux more for local drives. Software designed for Linux often hits access patterns that don't perform well in Windows.
0: https://docs.microsoft.com/en-us/windows-hardware/drivers/if...
And searching the whole disk for a partial filename? tens of minutes.
I can do both in a database on the same machine in seconds...
Disruptive has a distribution problem - how do you get people to use it
Vertical integration can be "10x better" and if you meet that threshold, maybe people adopt it, like iphones
Or maybe you have existing distribution networks or power to get people to act