Topic
Everything filed under cpp, newest first.
RSS · JSON · All topics
blqsort - A C++ Quicksort Faster Than std::sort
Christof Kaser presents blqsort, an MIT-licensed branchless quicksort for C and C++ that beats std::sort and ipnsort on random and partially sorted data, with benchmarks and an explanation of how it works.
41 min · 9,518 words
C++26 DIS failed, how does C++ survive?
Andreas Fertig, a member of the C++ standards committee, explains what it means that the C++26 Draft International Standard was disapproved in the October 2026 ISO national-body ballot, the first such failure for C++, and discusses the possible paths forward and the loss of trust behind the vote.
6 min · 1,309 words
Handles are the better pointers
Andre Weissflog (floooh) describes replacing raw and smart pointers in C and C++ with index handles: centralizing memory management in systems that own arrays of items, giving out integer handles instead of pointers, and using per-slot generation counters to detect dangling handles safely.
13 min · 2,978 words