Microsoft Open Sources C++ Standard Library
Written by Kay Ewbank   
Friday, 20 September 2019

The C++ Standard Library (STL) which ships as part of the MSVC toolset and the Visual Studio IDE is being released as open source by Microsoft. The Microsoft Visual C++ compiler and libraries toolset (MSVC) team made the announcement at CppCon 2019.

The library is now on GitHub in a repository containing all the product source code and a new CMake build system. Obviously, this doesn't affect developers who just want to use the STL, as this is available for use in the Visual Studio IDE. However, developers wanting to participate in the STL's development can do so by using the GitHub repo - or will be able to do so soon. The move to GitHub is still underway, but you can already clone and build the code.

cplus

 

The development teram says that the move has been made because:

"As C++ Standardization accelerates, with more large features being voted in every year, we believe that accepting major features as open source contributions will be important. (For example, C++20’s chrono and format libraries are potential candidates.)"

The library is distributed under the Apache License v2.0 with LLVM Exceptions. Microsoft says the choice was made because having the same license as libc++ will make it easier to share code between the libraries, though they're not being merged.

The development team says there are no plans to make anything else in the MSVC toolset open source, though some of the support libraries for the STL may be open sourced in the future. The thinking behind making the STL open source is that it is different because it is evolving rapidly and is designed by the C++ Standardization Committee, unlike other MSVC libraries.

The only catch, according to the developers, is that the move to open source will mean the team spending time overhauling the build system, test infrastructure, and issue tracking, which will delay some work on C++20 library features.

cplus

More Information

C++ STL On GitHub

Related Articles

Bjarne Stroustrup Thinks He Has A Better Way To Do Generics

C++ Where Is It Heading? C++17

Microsoft Open Sources Checked C

C++ 14 Approved

In Praise Of C++ Bjarne At ICPC

Why your next language better be C++ 

The Irrelevance of the New C++ Standard 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on, Twitter, Facebook or Linkedin.

Banner


Too Good To Miss: Drones Display Better Than Fireworks!
02/01/2020

Given the worries and controversy around the (2020) New Year firework displays perhaps this deserves to be better known: Visitors to the 2019 Big Data Expo held in Guiyang City, Guizhou Province, [ ... ]



Too Good To Miss: The Role Of ASCII Art In Code
30/12/2019

There are some news items from the past year that deserve a second chance. Here we have one such - a picture is worth a thousand words - and this is why ASCII art turns up in code more often than you  [ ... ]


More News

graphics

 



 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Friday, 20 September 2019 )