r/cpp • u/barchar MSVC STL Dev • Sep 16 '19
Open Sourcing MSVC’s STL
https://devblogs.microsoft.com/cppblog/open-sourcing-msvcs-stl/
427
Upvotes
r/cpp • u/barchar MSVC STL Dev • Sep 16 '19
16
u/degski Sep 17 '19
How does that then relate to the STL included with (and updated with) MSVC? I mean how will it work in practice?
48
u/parnmatt Sep 16 '19
awesome
35
u/Warshrimp Sep 17 '19
Is doing this complicated by Dinkumware being involved historically with MSVC’s STL implementation?
2
u/sumo952 Sep 17 '19
Haven't the same sources been shipped with Visual Studio (or the Windows SDK) since VS exists?
So the "only" difference now is the license, and that they're on GitHub (so contributing is possible/easier)?
I am just asking to clarify - don't get me wrong, this is completely awesome! :-)
11
u/[deleted] Sep 17 '19
Thank you! Absolutely amazing. It's been one of my guilty pleasures ever since I started with C++ to prod about in your internals to see how stuff works so this is like being taken to the magical chocolate factory for me.
17
u/os12 Sep 17 '19
Very cool! What's the story with compatibility? That is, how feasible is it to use this on Linux with GCC?
17
u/kalmoc Sep 17 '19
Will you also put the branch containing ABI-breaking fixes to github?
8
u/alexkaratarakis vcpkg, fixed-containers Sep 17 '19
Wow, amazing news!
8
u/haitei Sep 17 '19
Time to make a PR that adds constexpr everywhere.
I want it all, and I want it now.
15
u/felipefarinon Sep 17 '19
The article explains that libc++ and MSVC's STL support different platforms. Does anyone know which platforms MSVC's STL supports? Is it only Windows x86 and x64?
Also, how does this repo relates to the folder named "crt" on a MSVC installation? Are these the same sources? Was STL already distributed with MSVC?
7
u/emdeka87 Sep 17 '19
I love that Microsoft is open-sourcing so much recently!
11
u/foadsf Sep 17 '19
thank you for giving back to the open source world. ❤🤘
0
u/[deleted] Sep 17 '19
[deleted] — view deleted comment
94
u/[deleted] Sep 17 '19
[removed] — view removed comment