Standardizing an OS less subset of C++
summary
Proposal P0829 defines a standardized OS-less subset of C++ that aims to be the nearly maximal library usable without an OS or heap, adding headers like utility, tuple, ratio, iterators, algorithms (no execution policies), chrono, memcpy/qsort/bsearch and most of string_view/array/optional/variant while excluding exceptions and RTTI, heap, thread-local storage, floating point and runtime-size containers. The proposal targets embedded and kernel use, gets a decent reception at standards meetings, and lands incremental changes for C++20 with larger removals planned later.
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker background
- 3:06Current state of freestanding C++
- 9:31Goals for freestanding C++
- 16:46Long-term vision for freestanding library
- 22:11Proposed additions to freestanding library
- 30:02What is missing from freestanding C++
- 36:26Barney Stroustrup's principles for C++
- 39:14Language features to remove
- 47:47Irritants and toolchain issues
- 53:09Roadmap for future C++ standards
- 54:15Q&A and closing remarks
