🦜 Standard C++ | Articles & Books
@isocpp.org.blog@rss-parrot.net
I'm an automated parrot! I relay a website's RSS feed to the Fediverse. Every time a new post appears in the feed, I toot about it. Follow me to get all new posts in your Mastodon timeline!
Brought to you by the RSS Parrot.
---
Your feed and you don't want it here? Just
e-mail the birb.
C++26: Erroneous Behaviour -- Sandor Dargo
https://isocpp.org//blog/2025/05/cpp26-erroneous-behaviour-sandor-dargo1
Published: May 17, 2025 23:38
C++’s undefined behaviour impacts safety. Sandor Dargo explains how and why uninitialised reads will become erroneous behaviour in C++26, rather than being undefined behaviour.
C++26: Erroneous Behaviour
by Sandor Dargo
From the article:
…
Writing Senders -- Lucian Radu Teodorescu
https://isocpp.org//blog/2025/05/writing-senders-lucian-radu-teodorescu
Published: May 15, 2025 23:33
In the December issue of Overload [Teodorescu24], we provided a gentle introduction to senders/receivers, arguing that it is easy to write programs with senders/receivers. Then, in the February issue [Teodorescu25a], we had an article that walked the…
Using Token Sequences to Iterate Ranges -- Barry Revzin
https://isocpp.org//blog/2025/05/using-token-sequences-to-iterate-ranges-barry-revzin
Published: May 13, 2025 20:48
There was a StackOverflow question recently that led me to want to write a new post about Ranges. Specifically, I wanted to write about some situations in which Ranges do more work than it seems like they should have to. And then what we can do to avoid…
free performance: autobatching in my SFML fork -- Vittorio Romeo
https://isocpp.org//blog/2025/05/free-performance-autobatching-in-my-sfml-fork-vittorio-romeo
Published: May 9, 2025 15:34
This article shows how a very simple automatic batching strategy can be applied on top of SFML without affecting the library API, resulting in free performance for the end user!
free performance: autobatching in my SFML fork
by Vittorio Romeo
…
AoS vs SoA in practice: particle simulation -- Vittorio Romeo
https://isocpp.org//blog/2025/05/aos-vs-soa-in-practice-particle-simulation-vittorio-romeo
Published: May 9, 2025 15:33
This article presents a practical benchmark of a particle simulation using both the AoS (Array of Structures) and SoA (Structure of Arrays) data layouts. How much performance can we gain by merely switching up the way our data is stored?
AoS vs SoA in…
How to Join or Concat Ranges, C++26 -- Bartlomiej Filipek
https://isocpp.org//blog/2025/05/how-to-join-or-concat-ranges-cpp26-bartlomiej-filipek
Published: May 7, 2025 20:55
C++ continues to refine its range library, offering developers more efficient and expressive ways to manipulate collections. In this post, we'll dive into three powerful range adaptors—concat_view, join_view, and join_with_view—exploring their differences,…
Speeding up C++ Code with Template Lambdas -- Daniel Lemire
https://isocpp.org//blog/2025/05/speeding-up-cpp-code-with-template-lambdas-daniel-lemire
Published: May 5, 2025 20:52
Integer division is one of the most expensive operations in C++, but when the divisor is known at compile time, the compiler can optimize it significantly. This post explores different approaches—using templates, lambda expressions, and template…
C++26: Removing Language Features -- Sandor Dargo
https://isocpp.org//blog/2025/05/cpp26-removing-language-features-sandor-dargo
Published: May 1, 2025 20:49
C++ is often seen as an ever-growing language, with each new standard introducing powerful features while maintaining backward compatibility. However, C++26 takes a step toward simplification by officially removing deprecated features, including implicit…
Bjarne Stroustrup on How He Sees C++ Evolving -- David Cassel
https://isocpp.org//blog/2025/04/bjarne-stroustrup-on-how-he-sees-cpp-evolving-david-cassel
Published: April 29, 2025 20:45
Bjarne Stroustrup, creator of C++, is advocating for the adoption of guideline-enforcing profiles to enhance the language's safety and security.
Bjarne Stroustrup on How He Sees C++ Evolving
by David Cassel
From the article:
“I wanted to…
Details of std::mdspan from C++23 -- Bartlomiej Filipek
https://isocpp.org//blog/2025/04/details-of-stdmdspan-from-cpp23-bartlomiej-filipek
Published: April 25, 2025 20:35
In this article, we’ll see details of std::mdspan, a new view type tailored to multidimensional data. We’ll go through type declaration, creation techniques, and options to customize the internal functionality.
Details of std::mdspan from C++23
by…