TGViewer
C++ - Reddit C++ - Reddit @r_cpp · 227 subscribers
Post #25858 2
Please consider bundling C++ STL with your application

Systems targeted by C++ toolchains vary a lot even though C++ constantly changes. If you rely on operating system STL for your application code, following things may happen:

- If your platform A supports C++20 and your platform B supports C++14 and your platform C supports C++11, you will either force C++ <= 11 to all your libraries, or use macro magic etc, to use one set of features each platform.

- If you operate in a specialized domain, such as real-time systems, you may need a standard library built with specific configuration options, such as disabling exceptions or RTTI. Relying on the system-provided STL leaves you dependent on how it was built, which may not meet your requirements

If you build your STL of choice you solve all these issues:

- You can use the highest C++ standard possible, you no longer have to think about each operating system state extensively.
- You can configure your STL to match your needs

In nearly all modern system languages you build standard library yourself, I don't see any reason why C++ developers shouldn't consider this.


https://redd.it/1x6zfqy
@r_cpp
Reddit From the cpp community on Reddit Explore this post and more from the cpp community
More from @r_cpp
  1. Oct 17, 2026A C++ Trick Question - Blog Post https://greenlightning.eu/programming/cpp-trick-question/…
  2. Oct 17, 2026A Cross Toolkit Animation Timeline Control https://www.youtube.com/watch?v=131P4BNCTbI htt…
  3. Oct 17, 2026C++ Under the sea conference I just attended the C++ Under the Sea 2-day conference. I rea…
  4. Oct 17, 2026"C++23 - The Complete Guide" now as Paperback C++23 - The Complete Guide is now also avail…
  5. Oct 17, 2026A quick C++ standard container overview https://meetingcpp.com/blog/items/A-quick-Cpp-stan…
  6. Oct 17, 2026The Double Headed Stack Allocator – The blog at the bottom of the sea https://blog.demofox…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →