Use modern language features

Use modern language features in C++ — with three ready prompts, from the immediate task to the lasting pattern.

3prompt heights
Open it in the interactive atlas →

3 ready prompts

Written for the moment this actually comes up.

Improve — make it easier to accept

+
Before I open the refactor PR, make it easy to review the modernizations: show diffs that replace…
Before I open the refactor PR, make it easy to review the modernizations: show diffs that replace pointer arithmetic with standard algorithms, highlight where ownership becomes unique_ptr instead of raw new/delete, and annotate any places where using concepts, spans, or coroutines could simplify code but were left out for compatibility reasons. Flag changes that could alter performance or ABI.

Decide — diagnose the stuck moment

+
I rewrote the tight processing loop using ranges and std::views to make it clearer, and Mary owns…

I modernized a hot loop but CPU profiles now show a regression.

I rewrote the tight processing loop using ranges and std::views to make it clearer, and Mary owns performance testing. The unit tests pass but our profiler shows a 10% regression in that path. I can’t tell if this is allocator behavior, iterator abstraction cost, or missed move semantics. What’s the most efficient way to diagnose whether to revert to the old loop or tune the modern code for equivalent performance?

Become — change the pattern

+
We repeatedly convert older code to newer language features and then find subtle performance…

Each modernization patch introduces small regressions or compatibility surprises.

We repeatedly convert older code to newer language features and then find subtle performance regressions, ABI incompatibilities, or harder-to-debug call stacks. The pattern is doing transformations without a checklist for risk. Which practices should we adopt—tooling, benchmarks, and review principles—so we get the readability and safety benefits of modern features without sacrificing performance or stability?

Next to this one

Other programming language work people do in C++.

Every task here came from the work, not from a feature list — which is why the prompts name what you want done and never the button that does it. The tool changes; the work does not.
Copyright © LLOS.ai · 2026 — original pedagogy, voice, and design — all rights reserved.

The rest of the map

Same library, five ways in.