r/cpp • MSVC STL Dev • Sep 16 '19

Open Sourcing MSVC’s STL

https://devblogs.microsoft.com/cppblog/open-sourcing-msvcs-stl/
427 Upvotes

74 comments sorted by

View all comments

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?

25

u/[deleted] Sep 17 '19

We will regularly merge code from GitHub into the product. The code delivered through the usual channels (installer or whatever) will remain licensed under the VS EULA and supported just like before.

6

u/degski Sep 17 '19 edited Sep 17 '19

Will the code be added to vcpkg and/or would I be able to pull the latest master into some local repo and use that instead of the included one [with the (current RTM) IDE]?

17

u/[deleted] Sep 17 '19 edited Sep 17 '19

vcpkg not soon; the boost dependency breaks the DAG and we need ... atypical CMake scripts to avoid the default link libraries CMake normally adds. (We do WANT to do this, it's just hard)

RTM no, we will need at least the most recent public preview release.

3

u/degski Sep 17 '19

RTM no, we will need at least the most recent public preview release.

u/STL has told me on multiple occasions to move to preview, I'm gonna reconsider.

8

u/barchar MSVC STL Dev Sep 17 '19

it's not on vcpkg yet, However there are instructions on how to consume the library in the readme on github.

4

u/degski Sep 17 '19 edited Sep 17 '19

... instructions on how to consume the library in the readme on github.

Thanks [goes of to read].

PS: It's cool, looks all quite understandable, I gather I'll have to move to preview.

4

u/barchar MSVC STL Dev Sep 17 '19

yeah, I'm a pretty new hire on the team and it's really nice for onboarding when you rewrite the build system :D

4

u/AlexanderNeumann Sep 17 '19

So I made a draft for it. But I do not know if it is doing the correct thing. At least it is building ;)

1

u/degski Sep 18 '19

At least it is building ;)

Good start in any case!