papers VS STL

Compare papers vs STL and see what are their differences.

papers

ISO/IEC JTC1 SC22 WG21 paper scheduling and management (by cplusplus)

STL

MSVC's implementation of the C++ Standard Library. (by microsoft)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
papers STL
85 154
598 9,817
2.8% 2.0%
4.2 9.7
25 days ago 4 days ago
Perl C++
- GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

papers

Posts with mentions or reviews of papers. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-07.
  • Qt and C++ Trivial Relocation (Part 1)
    3 projects | news.ycombinator.com | 7 May 2024
    It is slowly making its way through the standards committee. https://github.com/cplusplus/papers/issues/43

    The author has a fork of clang and gcc with some pretty impressive speedups, so I’m hopeful! https://lists.isocpp.org/sg14/2024/04/1127.php

  • Learn Modern C++
    6 projects | news.ycombinator.com | 26 Dec 2023
    What's fun is, because everything is decided in papers, we can find out why! https://github.com/cplusplus/papers/issues/884

    Accepted paper here: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p20...

    > The proposed std::print function improves usability, avoids allocating a temporary std::string object and calling operator<< which performs formatted I/O on text that is already formatted. The number of function calls is reduced to one which, together with std::vformat-like type erasure, results in much smaller binary code (see § 13 Binary code).

    Additionally,

    > Another problem is formatting of Unicode text:

    > std::cout << "Привет, κόσμος!";

    > If the source and execution encoding is UTF-8 this will produce the expected output on most GNU/Linux and macOS systems. Unfortunately on Windows it is almost guaranteed to produce mojibake despite the fact that the system is fully capable of printing Unicode

  • The insanity of compile time programming
    2 projects | /r/cpp_questions | 10 Dec 2023
  • P1673 A free function linear algebra interface based on the BLAS
    1 project | news.ycombinator.com | 23 Nov 2023
  • When will std::linalg make it into a new C++ release?
    1 project | /r/cpp | 14 Sep 2023
    See https://github.com/cplusplus/papers/issues/557
  • C++ Papercuts
    3 projects | news.ycombinator.com | 28 Aug 2023
    Bringing editions to C++ failed, and I am not aware of anyone trying to tackle the issues https://github.com/cplusplus/papers/issues/631

    (I could be wrong though! I follow the committee more than you may guess, but not as much as to think I know everything about what's going on.)

  • Argonne National Lab is attempting to replicate LK-99
    2 projects | news.ycombinator.com | 29 Jul 2023
    GitHub would not be relevant in this respect because:

    * It's owned by a (single) commercial corporation, Microsoft.

    * There is censorship both by content and in some respects by country of origin.

    * The code is closed.

    but otherwise it's an interesting idea.

    The C++ standardization committee uses GitHub to track papers submitted to them, see:

    https://github.com/cplusplus/papers

  • C++23: The Next C++ Standard
    1 project | /r/cpp | 11 Jul 2023
    There was no non-approval. The facility needs more work, and the authors (and the committee) were focusing on getting print/format done first. I hope that the paper will be worked on again in the future. We will be happy to review it once there is a revision (see github for history)
  • What C++ library do you wish existed but hasn’t been created yet?
    18 projects | /r/cpp | 8 Jul 2023
  • 2023-06 Varna ISO C++ Committee Trip Report — First Official C++26 meeting!
    2 projects | /r/cpp | 23 Jun 2023
    For more details on what we did at the 2023-06 Varna meeting, the [GitHub issue](https://github.com/cplusplus/papers/issues/328) associated with the paper has a summary.

STL

Posts with mentions or reviews of STL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-03.
  • Show HN: Logfmtxx – Header only C++23 structured logging library using logfmt
    3 projects | news.ycombinator.com | 3 Apr 2024
    Again, they are barely functional.

    MSVC chokes on many standard-defined constructs: https://github.com/microsoft/STL/issues/1694

    clang does not claim to be "mostly usable" at all - most papers are not implemented: https://clang.llvm.org/cxx_status.html#cxx20

    And gcc will only start ot be usable with CMake when version 14 is released - that has not happened yet.

    And, as I mentioned before, IDE support is either buggy (Visual Studio) or non-existing (any other IDE/OS). So you're off to writing in a text editor and hoping your compiler works to a somewhat usable degree. Yes, at some point people should start using modules, I agree, but to advise library maintainers to ship modularized code... the tooling just isn't there yet.

    I mean, the GitHub issue is Microsoft trying to ship their standard library modularized, they employ some of the most capable folks on the planet and pay them big money to get that done, while metaphorically sitting next to the Microsoft compiler devs, and they barely, barely get it done (with bugs, as they themselves mention). This is too much for most other library maintainers.

  • Cpp2 and cppfront – An experimental 'C++ syntax 2' and its first compiler
    7 projects | news.ycombinator.com | 31 Mar 2024
    Notice that there are in practice three distinct implementations of the C++ standard library. They're all awful to read though, here's Microsoft's std::vector https://github.com/microsoft/STL/blob/main/stl/inc/vector

    However you're being slightly unfair because Rust's Vec is just defined (opaquely) as a RawVec plus a length value, so let's link RawVec, https://doc.rust-lang.org/src/alloc/raw_vec.rs.html -- RawVec is the part responsible for the messy problem of how to actually implement the growable array type.

    Still, the existence of three C++ libraries with slightly different (or sometimes hugely different) quality of implementation means good C++ code can't depend on much beyond what the ISO document promises, and yet it must guard against the nonsense inflicted by all three and by lacks of the larger language. In particular everything must use the reserved prefix so that it's not smashed inadvertently by a macro, and lots of weird C++ idioms that preserve performance by sacrificing clarity of implementation are needed, even where you'd ordinarily sacrifice to get the development throughput win of everybody know what's going on. For example you'll see a lot of "pair" types bought into existence which are there to squirrel away a ZST that in C++ can't exist, using the Empty Base Optimisation. In Rust the language has ZSTs so they can just write what they meant.

  • C++ Specification vs Implementation
    3 projects | /r/cpp_questions | 19 Nov 2023
  • C++23: Removing garbage collection support
    3 projects | news.ycombinator.com | 1 Nov 2023
    Here is Microsoft's implementation of map in the standard library. I think of myself as a competent programmer / computer scientist. I couldn't write this: https://github.com/microsoft/STL/blob/f392449fb72d1a387ac502...
  • std::condition_variable wait for (very) long time
    1 project | /r/cpp | 4 Jul 2023
    Be careful on Windows, the MSVC STL implementation uses the system time, so it can be badly impacted by clock adjustments: https://github.com/microsoft/STL/issues/718
  • Compiler explorer: can you use C++23 std lib modules with MSVC already?
    1 project | /r/cpp | 1 Jul 2023
    Can you provide a link? If it affects import std;, I'd like to add it to my tracking issue.
  • Learn to write production quality STL like classes
    4 projects | /r/cpp_questions | 28 Jun 2023
  • MSVC C++23 Update
    3 projects | /r/cpp | 3 Jun 2023
    Do you have a list of the bugs you've filed and their current status, like the one I have for the STL? I saw you mentioned 3 bugs 7 months ago, 2 of which were fixed in 17.6 and the third of which was a duplicate of an active bug ("deducing this" is known to not yet work with modules, which is why we don't define the feature-test macro to claim full support).
  • C++/CLI wrap of a C++ class that includes &lt;future&gt; in public header
    1 project | /r/dotnet | 3 May 2023
  • Has Boost lost its charm?
    3 projects | /r/cpp | 27 Apr 2023
    Yep. And look at our implementation's name: https://github.com/microsoft/STL

What are some alternatives?

When comparing papers and STL you can also consider the following projects:

circle - The compiler is available for download. Get it!

EA Standard Template Library - EASTL stands for Electronic Arts Standard Template Library. It is an extensive and robust implementation that has an emphasis on high performance.

compiler-explorer - Run compilers interactively from your web browser and interact with the assembly

asio - Boost.org asio module

C++ Format - A modern formatting library

robin-hood-hashing - Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20

LEWG - Project planning for the C++ Library Evolution Working Group

tracy - Frame profiler

CPM.cmake - 📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.

gcc

tinyformat - Minimal, type safe printf replacement library for C++

llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.