Let's cmakeify the C++ standard library
summary
Proposal replaces every C++ type with std::string and shows how that yields one true data structure and single allocation for all; examples include integers encoded as text, structs serialized with semicolons, maps as key SEMICON value, and unordered_map without tombstones. Claimed benefits: trivial ABI stability, no templates or name mangling, universal SSO so a char uses 23 bytes, faster cross-type conversions (vector<string> → vector<int>) and one implementation of each algorithm, plus simple file/socket serialization.
AI-written summary · about
chapters (8)
- 0:00Start
- 0:50Structs and classes
- 1:01std::vector
- 1:12std: unordered_map
- 1:25No need for name mangling
- 1:51No need for templates
- 2:07No need for reflection
- 2:47Boring and slow
related talks
51mTypical C++, but Why?
54mTypical C++, But Why?
01h 13mType safe C++ – LOL! :-)
56mC++17: The Library Features
01h 29mWhat Does It Take to Implement the C++ Standard Library?
42mSerialization in C++ has never been easier! But wait, there's more
52musing namespace std;
01h 03mC++17 part 2: The Library Features
