This period

2026-10-28 → 2026-11-27 · rolling 30 days

Social media

80 this period

What people are talking about now

X @lefticus 2026-11-26

Black Friday Special! C++23 Best Practices is now on sale for $0.99! I'm also lowering the printed version prices in all markets link.amazon/B001GJMqc leanpub.com/cpp23_best_pra…

♥ 41 ↺ 0 💬 0 at discovery
Hacker News surprisetalk 2026-11-25

In C++, = default and {} are not the same constructor

▲ 119 💬 178 at discovery
Hacker News Curiositry 2026-11-25

Marginalia Search, Money, C++, Rust, AI, Stuff

▲ 138 💬 58 at discovery
Reddit r/cpp 2026-11-25

toml++ 3.5.1 released Hiya folks, I've finally come back to maintaining toml++ after a couple of years focusing on other things, and am happy to share that v3.5.1 is now [released](https://github.com/marzer/tomlplusplus/releases/tag/v3.5.1)! Highlights since v3.4.0: * Support for TOML v1.1.0 🎉️ * Support for C++20 `std::chrono` date-time types * Support for C++20 modules with `import tomlplusplus` * Faster parsing (~2x, ~5x for string-heavy docs) * Faster formatting (~1.5x, ~3x for float-heavy docs) * Faster compiles and smaller binaries for some configurations * Lots of fixes for various issues Full changelog [here.](https://github.com/marzer/tomlplusplus/blob/v3.5.1/CHANGELOG.md) *"What about v3.5.0?"* 3.5.0 and 3.5.1 are exactly the same library. The patch bump was necessary because I'm rusty and messed up the tagging for v3.5.0, so I just made a new release right on top of it to keep things safe for packaging systems. Also this will probably the last feature bump for the v3.x series of releases. There's a whole load of larger structural and design things I want to get to that require breaking changes, so I'll start cooking on those and hopefully have that out as a v4 next year some time. Until then it'll just be patch bumps.

▲ 55 💬 3 at discovery
Reddit r/cpp 2026-11-24

4 filesystem performance traps in the standard library · Mathieu Ropert

▲ 53 💬 16 at discovery
Reddit r/cpp 2026-11-24

Búzios Trip Report I wrote up a short report from the Búzios meeting and where things stand with C++26: https://cppalliance.org/newsmedia/news/b%C3%BAzios-trip-report-what-the-c26-ballot-taught-us/

▲ 27 💬 57 at discovery
X @lefticus 2026-11-24

I hid an Easter Egg in C++ Weekly during this year and 0 people noticed any part of it. It spans several episodes. No one commented on it or claimed the prize. youtube.com/@cppweekly

♥ 59 ↺ 3 💬 2 at discovery
X @ChShersh 2026-11-24

I just now realised it explains why I love C++ Since childhood I’m used to reusing every single household item and extending its lifetime. That’s why winning even nanoseconds in C++ brings joy. I’ve been surviving my whole life on micro-optimisations.

♥ 55 ↺ 1 💬 3 at discovery
Reddit r/cpp 2026-11-23

Prediction c++26 Since there's no kalshi market for c++ standards, put your predictions below for the upcoming second dis.

▲ 31 💬 103 at discovery
X @ChShersh 2026-11-23

To add a bit of nuance to this post (nuance on X, ikr), there's actually a legit use for raw pointers in C++ and here's my perfect ownership and resource management system. 1. No naked new/delete 2. Owners allocate resources only through std::unique_ptr 3. If you need to pass a pointer read-only, you can pass just T* as an argument. 4. You can even store raw pointers if you're confident the owner dies after you. 5. You almost never need std::shared_ptr. It's poor man's GC. Only in super niche cases like "persistent binary trees" You can easily guarantee 4 at compile-time if you only store pointers in the corresponding std::unique_ptr owner (aka RAII). Returning T* from a method and hoping the user doesn't store it or dies before you is a slippery slope.

♥ 107 ↺ 0 💬 16 at discovery
Reddit r/cpp 2026-11-23

Why is there no proper build system (CMake exists but...yk) like cargo in C++? Meson and Bazel exist but I have not seen widespread adoptability. Edit: I forgot to add package manager in title as well lmao

▲ 0 💬 51 at discovery
Reddit r/cpp 2026-11-22

Closing Quick Bench

▲ 63 💬 3 at discovery
Hacker News dverlaeckt80 2026-11-22

C++26 is done (again): November 2026 ISO C++ meeting trip report

▲ 87 💬 71 at discovery
Reddit r/cpp 2026-11-22

How can we get MSVC to actually test their compiler? It seems like every update to MSVC over the past year has had some sort of massive basic compiler regression, that the team refuses to actually hotfix because regressions are not actually considered problematic. What can we do to change this and actually make regressions fixable without waiting 6+ months? Having "LTS" compilers isn't useful when every LTS compiler has some break in it. Using older compilers isn't an option, because we're an open source library that people use, and also GitHub Action runners automatically update to the newest compilers and don't make it easy to use old ones. https://developercommunity.visualstudio.com/t/x64-MSVC-1952-O2-miscompiles-inline-ar/11182010?q=double+19.52 This is our new one from this time.

▲ 65 💬 47 at discovery
Reddit r/cpp 2026-11-22

std::contracts::controls::enforced From [P4451R2](https://isocpp.org/files/papers/P4451R2.pdf), ``` #include int f(int x) pre (x > 0) post (r : r > 0) { contract_assert (x > 0); return x; } ``` Long, 3 levels deep namespace? And > Because the label is found by ordinary name lookup, a namespace alias or a using-directive works > as well: > namespace scl = std::contracts::controls; Same issue as with C++11 UDL: inconvinient to use, especially in headers, since include + alias is required - aliases will not make it better, in my opinion. That makes me sad. Am I the only one?

▲ 60 💬 84 at discovery
X @ChShersh 2026-11-22

Using raw pointers in C++ https://t.co/f80pxWMT7K

♥ 230 ↺ 6 💬 9 at discovery
Reddit r/cpp 2026-11-21

C++26 is done (again)! — Trip report: November 2026 ISO C++ standards meeting (Búzios, Brazil)

▲ 236 💬 334 at discovery
X @ChShersh 2026-11-20

A minor but annoying paper cut: If a programming language provides both header and implementation files, their file extension should be named so that the header comes first alphabetically. Both C++ and OCaml do it wrong.

♥ 344 ↺ 2 💬 21 at discovery
Hacker News llmblockchain 2026-11-19

Ask HN: Tips for transitioning from web development to embedded/firmware?

▲ 141 💬 87 at discovery
Reddit r/cpp 2026-11-19

Google talk at REBASE'26: Agentic Coding is not going to save C++ So the REBASE'26 conference happened recently, and besides the whole thing of what Carbon has achieved or never will, there are talks like this one from Google folks, regarding what they are doing with their C++. The talk is all about the recent ongoing migration discussed on [Google security blog](https://bughunters.google.com/blog/scaling-memory-safety), and other related efforts. https://www.youtube.com/watch?v=Ob0CMX8s55s

▲ 36 💬 101 at discovery
Reddit r/cpp 2026-11-18

C++ Optimizations in MSVC Build Tools 14.52 - C++ Team Blog

▲ 75 💬 8 at discovery
X @ChShersh 2026-11-18

You have one day to learn C++ before GTA VI

♥ 93 ↺ 0 💬 4 at discovery
X @ChShersh 2026-11-16

Blessed that Robert Pattinson didn't interview for a C++ SWE role at my company

♥ 359 ↺ 8 💬 5 at discovery
X @jfbastien 2026-11-16

Prediction: C will support contracts based programming before C++ does.

♥ 80 ↺ 3 💬 7 at discovery
Reddit r/cpp 2026-11-16

Why haven't C++ subset compilers been made/caught on? At work, I write real time software. Seeing where allocations happen and having guarantees on the behaviour of code would be nice. Compile times can be much faster and optimisations can also be aggressive when you know you're restricted to a subset of the language.

▲ 30 💬 59 at discovery
Reddit r/cpp 2026-11-15

clice 1.0: a C++ language server built on Clang, with C++20 modules out of the box, non-self-contained headers, and crash isolation Hi [r/cpp](https://www.reddit.com/r/cpp/)! I've been working on clice, a C++ language server built on Clang, for about two and a half years, and 1.0 is out today. The main differences from clangd: * Every compile runs in a worker process, so a Clang crash costs one request instead of the whole server. * C++20 modules work out of the box from a `compile_commands.json`, with PCHs and PCMs cached on disk across sessions. * Non-self-contained headers are compiled in the context of a file that includes them, and you can switch contexts and build configurations. * Template support: completion and go-to-implementation through dependent names, using instantiations when there are any. * A CLI to index, query, refactor and modularize whole projects. The post covers the features and the story behind it. Binaries for Linux, macOS and Windows (x64 and arm64) are on the [release page](https://github.com/clice-io/clice/releases/tag/v1.0.0), and the VS Code extension is on the Marketplace. Feedback and bug reports are very welcome! Release post: https://ykiko.me/en/articles/2105384023094834022/

▲ 50 💬 34 at discovery
Hacker News molenzwiebel 2026-11-15

Clice v1.0 Released: Welcome to Modern C++

▲ 156 💬 85 at discovery
X @straceX 2026-11-15

RT @straceX: Rust compiler: "I can’t let you do that." C compiler: "I can’t stop you from doing that." C++ compiler: "47,000 words, uncle…

♥ 381 ↺ 9 💬 10 at discovery
X @straceX 2026-11-15

Rust compiler: "I can’t let you do that." C compiler: "I can’t stop you from doing that." C++ compiler: "47,000 words, unclear which."

♥ 381 ↺ 9 💬 10 at discovery
Reddit r/cpp 2026-11-15

What really kills C++

▲ 0 💬 52 at discovery
Reddit r/cpp 2026-11-14

CMake 4.5.0 released; supports import std for all scannable targets with C++20 and later

▲ 218 💬 33 at discovery
Reddit r/cpp 2026-11-14

DO NOT USE FIBERS! - I did it anyway I'm a "pro-fiber" guy, which gets lonely fast when you search the internet for friends and mostly run into Gor Nishanov tearing them apart in P1364 ("Fibers under the magnifying glass"), or Raymond Chen writing that Win32 fibers "aren't useful for much any more." Sometimes it feels like Microsoft just lacks the imagination for where fibers actually work. Fair point though: if you try to use fibers as a general-purpose replacement for OS threads in arbitrary code, the warnings are right. TLS issues, fixed stacks, and third-party libraries blocking worker threads are very real problems. I built a fiber-based task scheduler anyway (the first version goes back to 2007), because when you're parallelizing sequential, CPU-bound code like an encoder or compressor on a single file, the tradeoffs are completely different. You own the task code, the number of active fibers is bounded by the work in flight, and tasks often run for just tens of microseconds before waiting on each other mid-work. In that spot, OS threads cost way too much and stackless coroutines force you to tear apart existing call chains. I wrote up my side of the story - where the usual criticism hits the mark, where it misses, and why fibers still make sense here: https://www.thinkmeta.com/concurrenttasks/why-fibers Any other "pro-fiber" folks out there, or has everyone moved on to stackless coroutines / `std::execution`?

▲ 47 💬 50 at discovery
Reddit r/cpp 2026-11-14

P4476R0: HANDLING A REJECTED DIS

▲ 39 💬 169 at discovery
X @lemire 2026-11-14

There is more C and C++ than you think in Python. https://t.co/shHNFflhhw

♥ 149 ↺ 3 💬 13 at discovery
X @blelbach 2026-11-13

I once presented some compiler tech to Ian Buck. He raised a deep technical question that had nagged me but no one else had asked My 1st VP Chris Lamb sold me on NVIDIA by whiteboarding what became our whole C++ strategy. I met my 2nd VP, Tim Costa, at a C++ committee meeting

♥ 292 ↺ 10 💬 5 at discovery
Reddit r/cpp 2026-11-13

MSVC Build Tools Preview updates - November 2026

▲ 59 💬 18 at discovery
Reddit r/cpp 2026-11-13

Terrible tips for a C++ developer: 2026 edition, Part 1

▲ 74 💬 6 at discovery
X @ChShersh 2026-11-12

I’m writing a simple 15-line function on a hot path in C++ Opus 5.5 suggested an implementation. I pushed back on every single line and had to rewrite it manually. Spent 2x more time on this.

♥ 391 ↺ 8 💬 30 at discovery
X @ChShersh 2026-11-12

Regrettable outcome of using C instead of C++ as a foundation of parallel processing. CUDA Shoulda Woulda

♥ 506 ↺ 15 💬 10 at discovery
Reddit r/cpp 2026-11-11

For the first time, a C++ standard failed to pass the national bodies

▲ 174 💬 67 at discovery
X @ChShersh 2026-11-11

Pivoted to writing C++ in HFT after writing Haskell and OCaml for 10 years in blockchain, dating, healthcare, fintech, and education.

♥ 349 ↺ 3 💬 10 at discovery
Hacker News 0xdeadf1sh 2026-11-11

Show HN: Godbolt-in-a-floating-window for Neovim (C, C++, Rust)

▲ 102 💬 18 at discovery
X @ChShersh 2026-11-10

C/C++ is the toolchain to build the tech of the future https://t.co/1D3lSJG10V

♥ 1798 ↺ 109 💬 69 at discovery
X @ChShersh 2026-11-09

1K likes on a C++ snippet, wow. This site is not lost yet.

♥ 167 ↺ 0 💬 4 at discovery
Reddit r/cpp 2026-11-09

Any time estimate for reflection in MSVC? I haven’t seen an announcement for C++26 implementation in MSVC. Honestly, I am mostly interested in reflection. Anyone know of any estimate of when it ships in MSVC?

▲ 48 💬 51 at discovery
Hacker News hasley 2026-11-09

Ask HN: Do you still enjoy coding in C++?

▲ 55 💬 80 at discovery
X @lefticus 2026-11-09

Ep 558 - C++23's from_range and ranges::to youtu.be/KPKYN6A1VcQ https://t.co/2P1VsPY8Ze

♥ 28 ↺ 1 💬 0 at discovery
X @ChShersh 2026-11-08

BFS and DFS are basically the same algorithm. In fact, they could be implemented using the same template function in C++ I call this function CFS – Common First Search. Also, the letter 'c' conveniently sits just between 'b' and 'd'. https://t.co/ThMymoETxw

♥ 1727 ↺ 67 💬 57 at discovery
Reddit r/cpp 2026-11-08

Herb Sutter: When a language’s creator and its owners strongly disagree: C++26 post-DIS, historical experience, and paths forward

▲ 132 💬 129 at discovery
Hacker News Rochus 2026-11-08

Show HN: Micron – Oberon with the Power of C

▲ 61 💬 20 at discovery
Reddit r/cpp 2026-11-07

Dealing with AI Slop At Work I work at a C++ shop with coders that I really respected - very deep C++ knowledge and are building very technical deep systems products. Over the last few months the CTO has gone off the deep end with AI talking of creating software factory (He’s been reading too much X), he releases huge multi thousand line PRs with basically no review. All sense of scientific temperament and engineering rigour has gone out of the window it seems. I do believe that AI is a transformational tool and I use it plenty in the development process but I still strive to understand what the AI has written and often use the AI as multiplier rather than surrendering my thinking to it. it’s become increasingly hard to actually develop while deeply understanding the codebase because it has become so sloppy. I am very sad as this means I’m not really interfacing with writing C++ as much and exploring cool new corners of the language in my daily work. There is definitely some cool stuff this lets us do a bit more of - high level planning and systems design by reading many papers as well as exploring formal verification. But overall I am left disappointed. I wonder how it is like at everyone else’s work places and if anyone has any thoughts and suggestions on how I can still develop my C++ knowledge.

▲ 327 💬 190 at discovery
Reddit r/cpp 2026-11-07

How does one actually contribute to LLVM these days? I have had several patches that I’ve sent PRs for )(using my work email since I thought that looked a bit more legitimate) 1. Someone who was nice responded to one of them and said that someone at Intel needed to code review i. Never got another response, I followed up in the comments and emailed the person at Intel no response Patch 2) Someone responded that they were busy and would get around to it when they had a chance to. It’s been a few months and followed up in the comments to no response patch 3) Someone was assigned to look at it. They worked at a company I haven’t heard about but they seem to no longer work there and the account has been deactivated since. I haven’t been able to get it reassigned. I don’t really contribute to open source projects at all and I‘m unsure if this is the norm. All of them are fairly small patches to fix bugs I’ve experienced day to day and I’m curious if there’s a way to get file PRs that I am missing

▲ 96 💬 35 at discovery
Reddit r/cpp 2026-11-06

"C++26 DIS failed, how does C++ survive?"

▲ 99 💬 178 at discovery
X @ChShersh 2026-11-05

Btw, this explains why C++ is so complex For every problem there’s a solution that works 99% of the time but breaks in the remaining 1%. You can greatly simplify the design by simply ignoring inconvenient problems. However, when you actually get to that 1%, you’re going to have a super hard time. C++ gives you enough flexibility to solve problems at any given layer. You have high-level abstractions, and you have access to cache line sizes. But it means there’s no shortcut. The language constantly keeps you aware of that case that can bite you any time.

♥ 298 ↺ 13 💬 25 at discovery
Reddit r/cpp 2026-11-05

CLion 2026.3 Is Here

▲ 52 💬 17 at discovery
X @Boost_Libraries 2026-11-05

C++20 coroutines don’t get their own stack. Need one that does? The classic answer, swapcontext(), was dropped from POSIX in 2008, and on glibc it makes a system call on every switch There’s a much faster way 🧵👇

♥ 25 ↺ 3 💬 2 at discovery
X @ChShersh 2026-11-05

Haskell is C++ of FP. OCaml is Go of FP. I like Haskell. I like OCaml. I like C++. I hate Go. Explain this to me pls.

♥ 224 ↺ 1 💬 42 at discovery
X @ChShersh 2026-11-05

Me watching everyone play WoW: Forever while I write C++ to increase shareholder value https://t.co/ZAwm7L6pQq

♥ 202 ↺ 4 💬 14 at discovery
Hacker News thatxliner 2026-11-04

C++26 Disapproved

▲ 300 💬 191 at discovery
Reddit r/cpp 2026-11-04

Flecs 4.2 is out!

▲ 52 💬 4 at discovery
X @ChShersh 2026-11-04

If you know C, C++, Java, C#, Python, Go, JavaScript, TypeScript, Fortran, COBOL, PHP, Ruby, SmallTalk you still will be lost in Haskell.

♥ 262 ↺ 8 💬 15 at discovery
Reddit r/cpp 2026-11-03

A Simple Introduction to std::simd [WIP]

▲ 50 💬 13 at discovery
Reddit r/cpp 2026-11-03

How I design C++ classes This is my first ever blog-post, any feedback is welcome! ofc, no AI got used.

▲ 54 💬 27 at discovery
X @lauriewired 2026-11-03

My ACCU On Sea Conference Talk, “CallMeMaybe: Building Modern Runtime Reflection via C++26” is now on YouTube! Upcoming native static reflection in C++26 opens the door to new dynamic reflection capabilities. Using C++26 static reflection, it’s possible to build a type-safe runtime reflection registry without manual registration, with attention to binary size and invocation overhead! Static Reflection is pretty cool. Runtime Reflection is *really* cool!

♥ 586 ↺ 24 💬 10 at discovery
Reddit r/cpp 2026-11-03

Pretty nasty MSVC 19.51 hash of float bug Hash of 0.0 and -0.0 are not the same, as the condition: ``` _Keyval == 0.0F ? 0.0F : _Keyval ``` is optimized away if you compile with: ``` /arch:AVX2 /O2 ``` https://godbolt.org/z/45WPzceYx If you use Visual Studio 2022 it works fine. I'm somewhat surprised they don't have regression tests since the standard library explicitly handles this case. So I guess, check you hash maps if you update.

▲ 49 💬 67 at discovery
Reddit r/cpp 2026-11-02

Catastrophic misoptimization of byte-range equality comparison in all major C++ compilers (and Rust). Language issue or compiler issue? Someone brought a C++ snippet that reduced to the following (std::array used instead of char* for consistency for later) bool eq2(const std::array & lhs, const std::array & rhs) { for (int i = 0; i < 64; ++i) if (lhs[i] != rhs[i]) return false; return true; } It basically returns true iff two 64 byte memory regions are a bitwise match. You'd think this can be optimized by modern compilers flawlessly, right? Right?! And the worst thing that can happen is it doesn't get autovectorized, right? Right?! Well, to everybody's surprise... https://godbolt.org/z/v4d8G5ovh GCC attempts to partially conditionally vectorize but doesn't want to use unaligned loads. Moreover its vectorization is way more cumbersome than it needs to be. Then after it finds a mismatch it... reverts to the unvectorized version?! Clang and MSVC do not even attempt to vectorize it - and in a way it makes them end up better than GCC, which is wild. ---------------- Now, to try to investigate we've checked how it looks in Rust. https://godbolt.org/z/K7xE3qc94. It does what GCC does but fully vectorized. At this point we're confused as to what the source of the problem is. Are we missing something with respect to what transformations are allowed? Is it really that much to ask from the as-if rule? As a sanity check we use std::array's operator==. https://godbolt.org/z/xPhPYMjvz. Oh would you look at that? Now the compilers can do well (ok not you MSVC. GCC also fumbles the flag register slightly). The situation is the same in Rust - https://godbolt.org/z/3GjWorze8. Not only does it vectorize correctly but the vectorized code is better - using vpxor. ----------------- Ultimately this isn't just academical. Situations like this undermine the trust in the compiler at the most fundamental level. Not every place can use std::array, not everyone can use ranges and span yet. We could use `std::equal` but why does it matter so much? What if `!=` changes to `<` and there's no good solution anymore? To what degree are we supposed to be paranoid about basic optimizations being done or not? The similarity of codegen between Rust and C++ would point to it being either a compiler issue or a fundamental code correctness issue. The fact that C++ Clang differs from Rust (LLVM) would suggest it's at least partially a language issue. Why is this extremely simple code so nasty? --------------- edit. some more [not so] fun findings https://www.reddit.com/r/cpp/comments/1xlyti8/catastrophic_misoptimization_of_byterange/19s1i09srxdaa/

▲ 67 💬 100 at discovery
X @lefticus 2026-11-02

Learning C++ With C++26's Reflection with Ryan Keane - CppCast 414 / C++ Weekly 557 youtu.be/d--qkwcF5vM https://t.co/16Ffo8FZzr

♥ 29 ↺ 3 💬 0 at discovery
X @lemire 2026-11-02

Should you define your constructor in C++ with = default? This can have remarkable negative performance effects when compiling with recent versions of GCC. Read my articles to find out more. https://t.co/1Q9rifg7b1

♥ 108 ↺ 11 💬 4 at discovery
X @lemire 2026-11-02

There is an hexadecimal floating-point format, it is supported in C++ and C. It uses a significand written in hexadecimal (base 16) together with a binary exponent (a power of two). The exponent is introduced by p or P rather than e/E. For example: 0x1.8p0 is exactly 1.5 0x1.0p-126 is the smallest positive normal single-precision value 0x1.921fb54442d18p+1 is a common high-precision representation of π

♥ 111 ↺ 11 💬 8 at discovery
Reddit r/cpp 2026-11-01

HPX V2.0.0 released: C++20 baseline, C++20 modules, stdexec-based senders/receivers, early C++26 reflection! - The HPX Project HPX, the C++ Standard Library for Parallelism and Concurrency, has released V2.0.0. It is the largest release in a long time: more than 830 merged pull requests from more than 90 contributors since V1.11.0. HPX implements the C++23 Standard parallelism and concurrency facilities in full and offers the only widely available open-source implementation of C++17, C++20, and C++23 parallel algorithms - including a complete set of parallel range-based algorithms and the full integration of the algorithms with the upcoming sender and receivers interfaces. Beyond the standard, HPX includes proposed features for upcoming C++ releases: much of the parallelism and concurrency capabilities expected in C++26, the C++ Concurrency TS, Parallelism TS V2, data-parallel algorithms, executors, senders and receivers, and more. It also extends C++ Standard APIs to distributed environments (such as compute clusters) and heterogeneous systems (such as GPUs). Some of the changes that may interest r/cpp: * C++20 is now the minimum, and the whole library can optionally be built and consumed as C++20 modules. * Our own std::execution implementation is gone; senders and receivers are now based on stdexec, and a P2079 parallel scheduler runs sender work on HPX thread pools. * Early use of C++26 reflection: types can be serialized without writing serialize() functions, and remote actions and components no longer need registration macros. * New C++23 parallel algorithms (the fold family, find\_last, iota) and many conformance fixes in the existing ones. * Functions can carry a task size (nano\_task, small\_task, ...), which the parallel algorithms use to decide how to split a loop. HPX enables an asynchronous C++ programming model that improves parallel efficiency and reduces the complexity typically associated with concurrent applications. As a newly welcomed project of the [High Performance Software Foundation](http://hpsf.io/), HPX now benefits from vendor-neutral governance and collaboration with a broader ecosystem of high-performance computing tools, strengthening the foundation for portable, production-ready HPC software across the industry. Release: [https://github.com/TheHPXProject/hpx/releases/tag/v2.0.0](https://github.com/TheHPXProject/hpx/releases/tag/v2.0.0) What's new: [https://docs.hpx.dev/latest/html/releases/whats\_new\_2\_0\_0.html](https://docs.hpx.dev/latest/html/releases/whats_new_2_0_0.html)

▲ 52 💬 2 at discovery
Hacker News FabCH 2026-11-01

Show HN: OmniDiff – Opensource, super fast, content aware Git difftool, in Rust

▲ 243 💬 70 at discovery
X @ChShersh 2026-10-31

> c++ > c with ++ https://t.co/MdNqnzaStW

♥ 105 ↺ 2 💬 4 at discovery
X @ChShersh 2026-10-31

Here’s a really scary story for this Halloween. To become a good SWE, you need to learn C++

♥ 443 ↺ 18 💬 27 at discovery
Reddit r/cpp 2026-10-31

How do I avoid UB in contracts? This question might be better served in /r/cpp_questions but since contracts were the reason C++26 failed the latest vote I thought posting it here might generate some useful debate. I've been using contracts in personal projects since GCC16 was released. I've come to appreciate them both as documentation and in bug-finding. After the recent controversial vote I did have another look at them and their use in my code. Most of my contracts looks like the example in "3.5.5 Consecutive and Repeated Evaluations" of p2900: ``` void f(int *p) pre( p != nullptr ) // precondition #1 pre( *p > 0 ); // precondition #2 ``` This works as expected in `enforce`, `quick-enforce` and `ignore` evaluations. However if I use `observe` evaluation it'll crash with UB on the second precondition. One fix is to merge the preconditions together `pre( p != nullptr && *p > 0)` which works in this case, but doesn't scale to for example classes where you'll have `pre( p != nullptr)` on the constructor and then assume it's valid for the rest of the body. Another solution is to never use `observe` evaluation. This works in my applications where I control the build, but doesn't work in libraries used by others where I don't. I wonder what my options here are? *Edit* [Godbolt link](https://godbolt.org/z/c34bGabnf)

▲ 30 💬 52 at discovery
X @ChShersh 2026-10-31

Software is not dead. Here's my unfiltered, honest opinion about using AI for SWE, even in highly complex domains. It's true that AI is good. Like really good. You can open a complex project in C++, give your Claude Code agent a JIRA task and ask it to create an implementation plan. And it will "almost" work. As in 95% of it will be correct. So you can literally be a dumb sloperator who just executes commands. But in the remaining 5% it truly matters. AI can educate you about trade-offs. It can't decide for you. You have to learn that decision-making skill.

♥ 2123 ↺ 112 💬 157 at discovery
X @straceX 2026-10-30

Him: I'm a Founding AI Systems Architect. I build autonomous multi-agent reasoning pipelines for enterprise SaaS. Her: Oh, so you write custom CUDA kernels and C++ memory allocators? Him: ... Her: It's a Next.js app calling the OpenAI API, isn't it? Him: I also wrote a very long system prompt.

♥ 40 ↺ 4 💬 4 at discovery
X @Boost_Libraries 2026-10-30

Keep the last 1,000 latency samples as doubles. Standard C++ has two options. std::deque works, but on libstdc++ it allocates and frees memory every 64 samples. Or you write your own ring buffer and hope you got the index math right Still no ring buffer in the standard 🧵👇

♥ 30 ↺ 0 💬 2 at discovery
Reddit r/cpp 2026-10-29

C++26, WG21, and ISO's national bodies Some notes for C++ users who don't follow the committee closely but want some background on the current dispute in the C++ community.

▲ 54 💬 34 at discovery
X @ChShersh 2026-10-29

POV: Rust is copycatting C++ performance while C++ borrows Rust lifetime management features https://t.co/I7aAlXRdzZ

♥ 250 ↺ 8 💬 17 at discovery
Reddit r/cpp 2026-10-29

The case against makefiles

▲ 0 💬 51 at discovery