Tagged articles
4 articles
Page 1 of 1
IT Services Circle
IT Services Circle
Nov 7, 2025 · Backend Development

Why C++23’s std::flat_map and std::flat_set Boost Performance and Cache Locality

Introduced in C++23, std::flat_map and std::flat_set replace tree‑based maps and sets with vector‑backed, flat containers that offer superior cache locality, faster traversal for small‑to‑medium data sets, and reduced memory overhead, though they incur O(N) insertion costs and iterator invalidation.

C++23cache localitycontainer performance
0 likes · 6 min read
Why C++23’s std::flat_map and std::flat_set Boost Performance and Cache Locality
21CTO
21CTO
Mar 9, 2025 · Fundamentals

How Bjarne Stroustrup Envisions Safer C++ with Mandatory Guidelines

Bjarne Stroustrup urges the C++ community and the WG21 standards committee to adopt mandatory guideline configuration files, known as Profiles, to improve type and memory safety, while highlighting recent language features, upcoming C++23 and C++26 enhancements, and the broader evolution of the language.

Bjarne StroustrupC++C++23
0 likes · 9 min read
How Bjarne Stroustrup Envisions Safer C++ with Mandatory Guidelines
Code DAO
Code DAO
Jan 18, 2022 · Fundamentals

Three Practical C++23 Features You’ll Use Frequently

The article introduces three useful C++23 additions—a literal suffix for size_t and ptrdiff_t that ensures portable index types, a multidimensional subscript operator enabling concise matrix element access, and a std::string/std::string_view contains() function that simplifies substring checks—each likely to see frequent use.

C++23multidimensional operatorptrdiff_t
0 likes · 8 min read
Three Practical C++23 Features You’ll Use Frequently