85 ms·
Anyone know why Microsoft implemented their package manager in C++ and not C#?
by kolanos 6y ago
Anyone know why Microsoft implemented their package manager in C++ and not C#?
- walkingolof 6y agoI would guess fewer dependencies with a native image.
- vips7L 6y agoProbably because of startup time and size. Powershell faces these same problems.
- Matthias247 6y agoI would rather guess because "that was the team/persons favorite tool to do the job". In most areas tool choices are less about objective benefits and more based on familiarity/popularity/etc.
- snuxoll 6y agoMicrosoft is publishing this as part of a UWP package, writing it in C++ means it could publish the libraries as a framework package allowing other applications to consume it as WinRT components regardless of their implementation language (C++, Rust, C#, JS, etc). Whether this is planned or not I don’t know, but as they are putting this in the App Installer package right now which also has a public API I would not be surprised.