“Thoughts on a more powerful and simpler C++ (5 of N)”
summary
Argues two concrete efforts: a Lifetime profile that statically diagnoses common dangling cases (string_view, iterators, raw pointers) with a released 1.0 spec and two implementations — MSVC extension that runs in IDE with real‑time squiggles and a Clang prototype that is ~5% compilation overhead and catches many real bugs; and a metaclasses prototype (Clang + cppx.godbolt) that generates accessors, async “active” objects, guarded/mutex wrappers and properties to remove boilerplate and replace many macro patterns, already in SG7 and exercising working examples.
AI-written summary · about
chapters (9)
- 0:00Introduction and pipe dream
- 1:56Why simplifying C++
- 8:00Lifetime profile goals
- 29:52Dangling examples and demos
- 50:12Metaclasses introduction
- 1:02:05Guarded classes with metaclasses
- 1:17:16Active objects with metaclasses
- 1:26:00Property metaclass
- 1:31:29Q&A session
related talks
01h 48m“Meta: Thoughts on generative C++”
31m“New standards to the rescue: the view through an IDE’s glasses”
56m“Modern C++ Interfaces..."
58mWhat is C++
01h 44m"The Evolution of C++ Past, Present and Future"
01h 06m“C++ Metaprogramming: Journey from simple to insanity and back"
01h 01mRethinking the Way We Do Templates in C++
59mThe Best Parts of C++
