1. X
  2. CPPAlliance
Log inSign up
CPPAlliance
222 posts
Image
user avatar
CPPAlliance
@CPPAlliance
Our mission is to make the C++ programming language accessible and useful to anyone who wishes to learn and apply the language.
Joined November 2017
36
Following
1,137
Followers
RepliesRepliesMediaMedia

Log in or sign up for X

See what’s happening and join the conversation

Continue with phone
or
Log in with username or email
Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
  • user avatar
    CPPAlliance
    @CPPAlliance
    Jul 31
    constexpr std::vector? Works. constexpr std::string? Works. constexpr placement new? "Not a constant expression" You could allocate at compile time, but you couldn't construct into that storage C++26 closes the last major gap in constexpr allocation 🧵👇
    6K
  • user avatar
    CPPAlliance
    @CPPAlliance
    Jul 30
    The Linux kernel's most important concurrency primitive has been in production for 20+ years Readers never block. Writers make a copy, modify the copy, then atomically swap the pointer C++26 standardizes it as std::rcu 🧵👇
    25K
  • user avatar
    CPPAlliance
    @CPPAlliance
    Jul 29
    Lock-free data structures have one hard problem: when can you safely delete a node that another thread might still be reading? Most solutions involve epoch counters, grace periods, or hand-rolled deferred destruction C++26 adds the technique that Facebook and the Linux kernel
    15K
  • user avatar
    CPPAlliance
    @CPPAlliance
    Jul 28
    Matrix multiply in C++: Pull in Eigen? 300K lines of headers Link BLAS? Platform-specific build gymnastics Write it yourself? Good luck with cache locality C++26 puts linear algebra in the standard library 🧵👇
    8.1K
  • user avatar
    CPPAlliance
    @CPPAlliance
    Jul 27
    std::function has a 13-year-old const-correctness bug: Its operator() is const, but it can call a non-const operator() on the stored callable C++26 adds the version that was correct from the start 🧵👇
    10K
  • See @CPPAlliance's full profile

    Sign up
    Log in
Advertisement
Advertisement