cppreference-doc VS STL

Compare cppreference-doc vs STL and see what are their differences.

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
cppreference-doc STL
56 154
405 9,812
- 1.9%
0.0 9.7
over 1 year ago 6 days ago
HTML C++
GNU General Public License v3.0 only 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.

cppreference-doc

Posts with mentions or reviews of cppreference-doc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-16.
  • Looking for well written, modern C++ (17/20) example projects for microcontrollers
    19 projects | /r/embedded | 16 Mar 2023
    Rather than looking at good examples (which you should by all means do), add cppreference.com to you bookmarks and use it as your reference. By far the best C++ reference on the net. (from a C programmer who was thrown into C++ a decade ago -- slowly digesting C++20 now) Both StackOverflow.com and electronic.stackexchange.com are two additional QA sites that can help.
  • My first C++ project! A "mostly sane" C++ coroutine helper library
    2 projects | /r/cpp | 23 Feb 2023
    Sadly, not much. My method of learning is to get my hands dirty and waste a lot of time doing things wrong before I do them right. The only resource (outside of Google and StackOverflow) that I always had open was https://en.cppreference.com
  • C++ switch problem
    1 project | /r/learnprogramming | 10 Feb 2023
    In general, https://en.cppreference.com is your friend.
  • Can sanitizers find the two bugs I wrote in C++?
    11 projects | news.ycombinator.com | 8 Feb 2023
    > As a C++ language reference I highly recommend https://en.cppreference.com

    I'd be careful about such re-formulations of the Standard. When I was adding printf format checking to the D compiler, I discovered there were subtle discrepancies in the description of exactly how printf behaves. I went back to using the Standard.

  • Ask HN: What are great resources to catch up C++?
    4 projects | news.ycombinator.com | 16 Jan 2023
    Modern C++ code now looks very different to even C++11 code which is considered to be the start of modern C++.

    "A Tour of C++" which has already been recommended is probably a good start to get back in the game. I think there was a new version coming out, but not sure what the current status about this is.

    [https://en.cppreference.com](cppreference.com) is a good resource for me. It has documentation regarding the new standards as well and up to C++20 the examples are mostly complete, at least for the relevant things.

    I can also recommend watching the "Back to Basics" talks on the CppCon youtube channel and once you are more familiar also the regular talks. They are great resources about practical topics.

    Jason Turner's C++ Weekly videos are also a great resource. They are usually 10-15 minutes long videos that give you a good start to think about. Great way to learn something new every week.

  • Why did rust Settle on snake_case?
    1 project | /r/learnrust | 8 Jan 2023
    At Google, at least, the style guide says to use snake case for variable names in C++ (but camel case for classes). As far as I can tell, this is also the convention in the C++ standard library.
  • wget keeps downloading forever, and stuff I don't want
    1 project | /r/linuxquestions | 27 Dec 2022
    Lets say that there's a file at https://en.cppreference.com/ called preferences.c. The command to download it would be wget https://en.cppreference.com/preferences.c
  • I am stuck in tutorial hell
    2 projects | /r/cpp | 21 Dec 2022
    I would start with a direction of where to apply C++. Updating legacy code, working on embedded systems, creating financial application and creating high performant games are a few common option. Also sites like cppreference and Compiler Explorer/Godbolt are your friends in learning. CPlusPlus.com might help with legacy support as it stops with C++11.
  • C++ #include errors detected
    2 projects | /r/CodingHelp | 12 Dec 2022
    Keep in mind that most YouTube C++ tutorials are garbage. Use www.learncpp.com instead as a tutorial, and https://en.cppreference.com as a language reference. Once you familiarize yourself with the language, you can learn the best practices using the C++ Core Guidelines.
  • I'm struggling
    2 projects | /r/cpp_questions | 12 Dec 2022
    The important thing to remember is that a concept exist and roughly what it's called, so you can look it up when you need to. You don't need to keep all the details in your head, that's what we have en.cppreference.com for.

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 <future> 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 cppreference-doc and STL you can also consider the following projects:

telescope-vimwiki.nvim - look through your vimwiki with your telescope

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.

browser-compat-data - This repository contains compatibility data for Web technologies as displayed on MDN

asio - Boost.org asio module

cling - The cling C++ interpreter

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

magic_get - std::tuple like methods for user defined types without any macro or boilerplate code

tracy - Frame profiler

cgi-lib - A FREE ANSI C library for CGI programming.

gcc

stdrev - Script for cppreference, to control the amount of visible content

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