frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

C++26 is done (again) – Trip November 2026 ISO C++ standards meeting

https://herbsutter.com/2026/11/21/c26-is-done-again-trip-report-november-2026-iso-c-standards-meeting-buzios-brazil/
3•flyingpast•11m ago

Comments

flyingpast•8m ago
My personal concerns:

In P3460R0 [0], implementation experience for C++ contracts is listed as having been acquired for two of the three major C++ compilers, namely GCC and Clang/LLVM. That paper was published October, 2024. However, as of today, about 2 years later, the actual status of implementation experience is in my opinion negative and surprising, and the history is likewise concerning.

For GCC:

Ville Voutilainen was involved with implementation of contracts in GCC [1][2] , and Ville Voutilainen was and is listed as one of the authors of the main C++ contracts proposal, P2900R14 [3]. Yet, Ville Voutilainen later became a major critic of contracts as proposed in P2900R14, while still fixing bugs in the contracts implementation for GCC. I do not understand why this is not highlighhted more in online discussions.

Especially in the light of there being very basic bugs in the contracts implementation for GCC currently [4] [5] , that also points towards significant implementation difficulties and burdens on compiler vendors in practice regarding C++ contracts. (C++ is already a language that is difficult to implement a compiler for, and the presence of bugs this basic does not indicate that contracts would not significantly worsen an already bad situation. Hopefully that is not the case.)

This does not point towards GCC having a complete and robust implementation of contracts, despite the efforts of several competent and experienced compiler engineers working on it.

For Clang/LLVM:

The implementation status appears to be worse for Clang/LLVM than for GCC. I have found two major implementations: - EricWF's / Eric Fiselier's contracts implementation [6] . This fork is available on godbolt.org, but last saw updates 9 months ago, and while Eric Fiselier claims on his personal home page that it is a "Production-ready implementation of C++26 Contracts for Clang" [10], there are significant indications that it is both incomplete and experimental and not at all production-ready, especially considering that it has very basic bugs, like one where the implementation thinks that 0 is not less than 5 [7] [8] . And some of those very basic bugs have been open for months or years. - A pull request (from an officially experimental fork) to add contracts to Clang/LLVM, which last saw updates about two months ago [9] . It is not available on godbolt.org as far as I know, and the first pull request only covers a subset of functionality, for the sake of easier review, with later pull requests meant to add the rest of the implementation from the experimental fork.

Usage of contracts in the real world:

I have barely seen any usage and adoption of C++ contracts in the real world. Searching on GitHub yields few results, perhaps only 1 repository, TrenchBroom, that actually used contracts without hiding them behind a preprocessor macro. If you, the reader, know of any examples of public and practical usage of contracts, please mention them.

Questions:

Why have proponents of contracts not made it clear that there are indications that there are significant problems regarding the implementation of contracts in GCC and Clang/LLVM? In a proper technical discussion, proponents of a feature should give an accurate description and assessment of the implementation status and of any other relevant information, not only come with "positive" descriptions. As far as I can tell, [0] did not give a clear and accurate impression of the implementation status of contracts in GCC and Clang/LLVM, especially given the situation of implementation 2 years later. And [10] gives an even more inaccurate impression.

Why did Eric Fiselier make a claim of production-readiness for his fork, when that still, months or years later, does not seem to be the case at all?

Why is the poor implementation status of contracts for C++ not being discussed in programmer forums more clearly, on Reddit, on Hacker News, on lobste.rs, on Discord forums, etc.? Are there widespread and significant problems with genuinely open and clear communication across these forums? If so, a solution might be more forums that actually enable open and effective discussion of C++ language development and other topics in tech.

[0]: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p34...

[1]: https://github.com/villevoutilainen/gcc/tree/contracts-nonat...

[2]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119061

[3]: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p29...

[4]: https://godbolt.org/z/zYP4sfenP

[5]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125403

[6]: https://github.com/efcs/llvm-project/tree/contracts-nightly

[7]: https://github.com/efcs/llvm-project/issues/4

[8]: https://godbolt.org/z/EEKcbao1P

[9]: https://github.com/llvm/llvm-project/pull/221139

[10]: https://efcs.ca/

Ask HN: Advice on switching careers within software dev?

1•akudha•1m ago•0 comments

Revolt-rs: the Revolt event loop as a native PHP extension, up to 16x faster

https://blog.daniil.it/2026/11/21/revolt-rs/
1•danogentili•1m ago•0 comments

P&G to Cut Up to 30% of Product-Supply Workers Amid Automation Push

https://www.wsj.com/business/p-g-to-cut-up-to-30-of-product-supply-workers-amid-automation-push-8...
1•frank_clover•1m ago•0 comments

Corporate Gaslighting, the "All-in-One" Phenomenon, and the Agentic Reassembly

https://medium.com/@smoking2man/corporate-gaslighting-the-all-in-one-phenomenon-and-the-agentic-r...
1•Aldus551•2m ago•0 comments

A 4x faster async drop-in replacement for the MongoDB PHP extension

https://blog.daniil.it/2026/11/21/mongo-php-async-driver/
1•danogentili•2m ago•0 comments

Study points toward a potential blood test for CTE

https://www.wbur.org/news/2026/11/19/boston-university-study-biomarker-cte
1•gmays•3m ago•0 comments

Fine-tuning vision models: how expertise forms and how forgetting happens

https://andrewxhill.com/from-clip-to-bioclip-2/
1•andrewxhill•6m ago•0 comments

The New Yorker, John Hersey, and the Horrors of Hiroshima

https://engelsbergideas.com/portraits/john-hersey-and-the-horrors-of-hiroshima/
2•fanf2•7m ago•0 comments

Can you patch Ruby faster now?

https://paagman.dev/can-you-patch-ruby-faster-now/
1•Kerrick•7m ago•0 comments

"Race realism" isn't good science. Modern genetics does not support it

https://theconversation.com/race-realism-why-scientifically-flawed-approach-fails-to-present-a-re...
2•u1hcw9nx•8m ago•0 comments

C++26 is done (again) – Trip November 2026 ISO C++ standards meeting

https://herbsutter.com/2026/11/21/c26-is-done-again-trip-report-november-2026-iso-c-standards-mee...
3•flyingpast•11m ago•1 comments

Show HN: Pencil – LLM writes whiteboard lessons as JSON, a browser draws them

https://github.com/VBS2004/pencil
2•VBS2004•16m ago•0 comments

Countries open path towards 'killer robots' pact

https://www.afp.com/en/countries-open-path-towards-killer-robots-pact
3•geox•16m ago•0 comments

Show HN: Scalar codebook quantization, an interactive guide

https://myli.page/posts/202611211800-how-a-weight-fits-in-4-bits/
1•tslmy•16m ago•0 comments

The People's Code

https://thepeoplescode.us/
1•acmeyer9•17m ago•2 comments

Create Your Own VPN Server in 2026: Complete Setup Guide

https://blog.openvpn.net/create-your-own-vpn-server-in-2026-complete-setup-guide
1•DeepLogin•17m ago•0 comments

The Aims of Education – Alfred North Whitehead [pdf]

https://la.utexas.edu/users/hcleaver/330T/350kPEEwhiteheadaimstable.pdf
1•tylerdane•18m ago•1 comments

Upload2Shell · CVE-2026-125396

https://pwn.ai/upload2shell
4•f311a•19m ago•1 comments

Google makes it easier to use Gemini without training AI on your data

https://arstechnica.com/ai/2026/11/google-will-let-you-opt-out-of-ai-training-in-gemini-without-l...
1•doodlesdev•20m ago•0 comments

Show HN: Test product ideas on synthetic customers (open-source SSR skill)

https://github.com/AryamanSi17/synthetic-consumer-research
1•aryamansi1712•22m ago•0 comments

Abusing Git Trailers for Faster CI/CD

https://jonathannen.com/abusing-git-trailers/
2•jwilliams•22m ago•0 comments

Free Culture (Lawrence Lessig, Oscon) (2002)

https://www.youtube.com/watch?v=JDYiMcXRfGs
1•Tomte•24m ago•0 comments

Ask HN: What have you built for your wife?

3•pbarondadditude•24m ago•1 comments

Alaska's next governor is a Wikipedia editor

https://techcrunch.com/2026/11/21/alaska-your-next-governor-is-a-wikipedia-nerd/
2•wiki_hider•25m ago•0 comments

A bot reading a court feed could have made 55% on LQDA in one day.. or could it?

https://www.petervijeh.com/projects/court-rulings
2•p-s-v•25m ago•0 comments

"Everything in the digital universe was going to have to get patched."

https://unsung.aresluna.org/everything-in-the-digital-universe-was-going-to-have-to-get-patched/
2•colinprince•27m ago•0 comments

What Is the Langlands Program?

https://www.quantamagazine.org/what-is-the-langlands-program-20220601/
1•limbicsystem•28m ago•0 comments

AHM Statement on the Announced Proof of the Riemann Hypothesis

https://proofsandprompts.com/2026/11/21/ahm-statement-on-the-announced-proof-of-the-riemann-hypot...
2•reasonableklout•29m ago•0 comments

Fiona the Hippo Died After Eating a Hat. But How Does a Hat Kill a Hippo?

https://www.wired.com/story/fiona-the-hippo-died-after-eating-a-hat-but-how-does-a-hat-kill-a-hippo/
2•PaulHoule•31m ago•0 comments

Forkwise – AI engineer that runs in your terminal

https://forkwiseai.com/
2•hoomanyyy•32m ago•0 comments