2 ms·
> I'm not sure if modern Windows even ships with a copy -- it definitely doesn't ship with copies of all the versions that applications might depend on. They a
by monocasa 4y ago
> I'm not sure if modern Windows even ships with a copy -- it definitely doesn't ship with copies of all the versions that applications might depend on.
They actually did end up fixing this with Windows 10. https://learn.microsoft.com/en-us/cpp/windows/universal-crt-deployment?view=msvc-170 https://learn.microsoft.com/en-us/cpp/windows/universal-crt-... I think what finally pushed them in that direction was wanting to be in control of security updates for libc.
> Linux follows the Windows model, where the stable interface is the kernel (Linux's syscalls, Windows's ntdll).
ntdll isn't stable. They remove entypoints with just about every major release.
- jmillikin 4y agoInteresting! Is there a modern equivalent of kernel32, then? I haven't done low-level Windows programming since before the 64-bit transition, but I thought they kept the model of a DLL wrapper with a stable ABI.
- monocasa 4y agoThe modern version of kernel32/user32 is still kernel32/user32. That's the lowest point in the system exposing a mostly stable API.