Re:Removing garbage collection from the Rust language
by pjmlp on Tuesday June 04, 2013 @05:57AM
(#5818499)
msvcrt.dll is not an OS API library, Kernel32.dll is.
[ Parent
| on HN ]
Re:Removing garbage collection from the Rust language
by marshray on Tuesday June 04, 2013 @12:21PM
(#5820372)
http://msdn.microsoft.com/en-us/library/abx4dbyh(v=vs.80).as... The msvcrt.dll is now a "known DLL," meaning that it is a system component owned and built by Windows. It is intended for future use only by system-level components.
Msvcrt.dll began shipping as part of the OS around the Win2K/XP timeframe, IIRC.
Re:Removing garbage collection from the Rust language
by pjmlp on Tuesday June 04, 2013 @01:01PM
(#5820645)
It still does not make it an OS API, it is the C runtime library which is quite different even if bundled with the OS.
Re:Removing garbage collection from the Rust language
by marshray on Tuesday June 04, 2013 @01:15PM
(#5820734)
I know some folks who think of the NT syscall interface as the 'true' OS API and see kernel32.dll as an add-on. I'll ask, but I don't think these folks make a distinction between user32.dll and the msvcrt.dll that ships with the OS.
Re:Removing garbage collection from the Rust language
by pjmlp on Tuesday June 04, 2013 @04:22PM
(#5821898)
> I know some folks who think of the NT syscall interface as the 'true' OS API and see kernel32.dll as an add-on.
This is 100% correct, many of the real syscalls are located in Ntoskrnl, while kernel32.dll is actually part of the Win32 subsystem, given the personalities feature from Windows.
So you could be using another subsystem.
However, given that the POSIX and OS/2 subsystems are no longer supported, the only available subsystem is Win32.
Metro is another matter as it uses another architecture not based on the subsystems mechanism.
But in the end these are all OS APIs, not language runtimes.
Re:Removing garbage collection from the Rust language
by marshray on Tuesday June 04, 2013 @04:52PM
(#5822046)
OK, asking around, the word I get is that the OS team owns the msvcrt.dll in %systemroot%\system32. Although unofficially it might be the case that x86 apps built with VC6 depend on this dll to implement a stable interface, it's not officially recommended to take dependencies on it.