3 ms·
http://blogs.msdn.com/b/oldnewthing/ http://blogs.msdn.com/b/oldnewthing/ Really, that's my answer. Win32 is Raymond Chen Land, Fear and Loathing With Backward
by derleth 13y ago
http://blogs.msdn.com/b/oldnewthing/ http://blogs.msdn.com/b/oldnewthing/
Really, that's my answer. Win32 is Raymond Chen Land, Fear and Loathing With Backwards Compatibility. SimCity relied on internal details of how the kernel managed memory such that it reused memory it had already freed and they kept it working. MSFT modified the Windows kernel to avoid breaking it.
Torvalds is Chen-like in his adamance that the kernel can't break userspace, but Torvalds never had to deal with Windows 95 and the strange MS-DOS-derived world it inhabited. Linux never had to deal with 16-bit x86 code, so it was always able to keep its internals private, limiting the random stuff user programs could end up relying on. Win32 offers no such consolations.
I'd implement POSIX on top of Win32 any day to avoid the alternative, with the caveat that some things are flatly impossible and some things are possible but will never be efficient.
- guard-of-terra 13y agoBtw, the top post regarding command lines applies to unix equally.