frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

The result of the C++26 DIS ballot

https://train-it.eu/blog/cpp26-contracts-the-ballot-result/
35•uasi•2h ago

Comments

xiaoyu2006•34m ago
I can only describe current C++ as a Frankenstein. Trying to introduce modern features while having to keep compatibility is just really hard and probably not "the right way".
HackerThemAll•28m ago
That's why the world looks more favorably at Rust than C++ now.
zombot•14m ago
Frankenstein was the scientist. It was his "monster" that was a patchwork of all kinds of things.
BonusPlay•28m ago
C++ has lost touch with reality a few years ago. Modules, a feature 6 years old still only have partial support [1] and are nowhere to be seen in practical use. Good luck finding g a C++ library using modules.

This may be similar to Java vs Kotlin race, where Kotlin added improvements, while Java was still stuck in 1.8. The answer was to add as many features to the language as possible. Looks a bit like C++ is starting to do the same.

[1] https://en.cppreference.com/cpp/compiler_support

HackerThemAll•25m ago
> The answer was to add as many features to the language as possible.

Because Java is losing market to languages with many features. Which is good. Given history of Java under Oracle supervision, and the availability of Rust, Go and C#, I won't ever touch any JRE-based language.

weinzierl•25m ago
The simplified TLDR is that ISO for the very first time did not approve a proposed C++ standard.

9 out of 22 countries voted "no", six would have been enough. These were Denmark, Finland, Iran, Italy, Japan, Luxembourg, Romania, Spain, and Sweden. In a addition and independently only 12 of the 20 participating members approved when 14 were needed.

The dispute is most likely because of a single feature called "contracts".

Very simplified these are conditions placed in a function's signature that are supposed to be checked at runtime.

chiharukiryu•21m ago
Old king is still fighting but rust is just more properly for agent powered missions
groos•20m ago
C++ is probably the largest, most complex programming language to ever exist. I, as a former C++ compiler developer, find it hard to keep up with the language changes. What chance does an average user have?
zombot•8m ago
Even the author of a well-known series of books about C++ has long since "given up" because the laundry list of footguns, caveats and adversarial interactions between different features has gotten too long.
jdw64•7m ago
Going from C++11 to 14 and so on... it’s hard to keep up with those changes. And I’m reluctant to use C++—not because C++ is a bad language, but basically because it’s been used so widely, the places I work have a lot of legacy C++ code, and since each version is different, it’s hard to adapt. I know it’s not a feature everyone uses, and I know you have to define your domain according to your work and limit yourself to a subset, but C++ can do too many things, and even within that there are many overlapping ways, so it’s more confusing. When features are added, you do feel pressure to know them, right? In my head I know “C++ should be limited depending on the domain!” but the problem is that using this language means you have to know it—and even in the same domain, C++ has many different ways of doing the same thing, so it’s freeing but painful for maintenance, I think.
rfgplk•18m ago
The C++ committee is pointless, and this is coming from a C++ expert.

Most of the things the committee has been "working on" are realistically _side projects_ today with AI. I've made countless additions to my clang fork the most notable being a source compatible borrow checker, ie you turn it on and it tells you where you effed up. Zero source changes. Equally as correct as Rust. For any sane C++ program. The committee still isn't capable of implementing this btw.

zombot•18m ago
What does "DIS" mean?
Someone•13m ago
Draft International Standard (https://committee.iso.org/sites/tc211/home/resolutions/isotc...)

This was the vote to promote the current proposal to draft standard.

mananaysiempre•12m ago
“Draft International Standard”, but that doesn’t mean much unless you read how the ISO process works[1]. (It’s like writing “Advanced Encryption Standard” instead of “AES”—unhelpful beyond giving the broadest category to which the thing belongs, “a document” resp. “a cipher”.)

[1] https://www.iso.org/stages-and-resources-for-standards-devel...

weinzierl•12m ago
DIS is Draft International Standard, the near-final draft that ISO national bodies vote on before it becomes an official standard.

Also: LEWG is the Library Evolution Working Group.

affenape•8m ago
DIS NUTS
qalmakka•16m ago
IMHO the current contracts are a half-baked feature that I suspect will immediately end up in most coding styles as "do not use contracts".

I understand the concept but having a feature that's not consistent among compilers, targets, ... all while doing absolutely nothing to solve the _real_ problems with C++. Like that the build model is still the obsolete TU model of C, while adding multiple compile-time features that inevitably end up causing build times to skyrocket considerably. Or that modules are still DOA after 6 years. Or that the syntax is full of bullshit anti-features that could be at least fixed by having a proper build model (like Rust) and editions (like Rust).

Having yet another feature that only works sometimes with quirky semantics is dumb and I understand why many people feel like it should be shelved to prioritise the features people _really_ care about, like meta

rurban•12m ago
This contracts design is good, opposed to Gudstedt's variant with the semicolon.

Because here it is trivial to make them backwards compatible, by just using a PRE() and POST() macro which are empty pre-C++26.

The contracts_assert is either static or runtime, which the compiler can decide. Better than explicit static/asserts, which are either unnecessary or costly.

koe123•10m ago
What a mess. Can anyone give me a bull-case for why you would ever pick C++ for a new project?

Show HN: TitleArt – Make text like it's 1997

https://titleart.dvy.io/
203•davidbarker•5h ago•28 comments

The result of the C++26 DIS ballot

https://train-it.eu/blog/cpp26-contracts-the-ballot-result/
36•uasi•2h ago•20 comments

PaperPilot – Zero-Cloud, Pure-Rust PDF Engine with WASM and MCP

https://github.com/KrushnaVardhanReddy/PaperPilot
123•vardhan1237•5h ago•29 comments

Behind the scenes at the NeXT Computer office

https://exhibits.stanford.edu/menuez/browse/next-computer-inc?per_page=96&sort=pub_year_isi+asc%2...
101•Austin_Conlon•5h ago•44 comments

Growing Trees

https://brashandplucky.com/2026/10/15/growing-trees.html
38•ibobev•2d ago•2 comments

Dolly Parton's Imagination Library

https://imaginationlibrary.com/
530•jumploops•14h ago•92 comments

Show HN: A Truly Modular Keyboard

https://github.com/notaroomba/keybytes
139•NotARoomba•1d ago•39 comments

Overgrown, when plants invade your abandoned tabs

https://charliegerard.dev/blog/overgrown-extension/
260•speckx•3d ago•87 comments

Attention Is Not What You Need (2025)

https://arxiv.org/abs/2512.19428
100•westurner•9h ago•36 comments

Microsoft Decision-1: 9B Qwen Model Launch Explained

https://shattered.io/microsoft-decision-1-qwen3-5-9b-model-2026/
49•gmays•5h ago•19 comments

IBM CEO says open weight models are now good and cheap on-prem

https://www.theregister.com/systems/2026/10/22/ibm-ceo-says-open-weight-models-are-now-irresistib...
226•Betelbuddy•7h ago•125 comments

Iron Age salt-mining complex found beneath Hallstatt in Austria

https://archaeologymag.com/2026/09/iron-age-salt-mining-complex-beneath-hallstatt/
67•janandonly•3d ago•14 comments

F-Zero X on Nintendo 3DS

https://hypnotize.works/gdx-3ds/postmortem/index.html
113•bpierre•9h ago•55 comments

Why I Am a Programmer

https://www.alfie.wtf/programming/why-i-am-a-programmer.html
213•jruohonen•13h ago•66 comments

Steal My Bitcoin CTF PoC

https://github.com/KillaBoi/StealMyBitcoin-PoC
104•davikr•8h ago•23 comments

Superhuman Hardware Design Is the Easy Part

https://www.a16z.news/p/superhuman-hardware-design-is-the
7•gmays•2d ago•0 comments

The State of Context Engineering

https://www.dbreunig.com/2026/10/24/the-state-of-context-engineering.html
172•pchristensen•12h ago•40 comments

The Curse of Soldered RAM

https://blog.hardill.me.uk/2026/10/24/the-curse-of-soldered-ram/
70•gsky•1d ago•67 comments

Show HN: ADRs for AI – Deliberation records for human–AI work, versioned in Git

https://adrs.systems
42•lumbroso•1d ago•21 comments

We should be more ambitious with the software we build

https://danluu.com/ambitious/
795•ltratt•1d ago•711 comments

Amazon’s “digital pacifier” for toddlers

https://oligarchwatch.substack.com/p/amazons-digital-pacifier-for-toddlers
183•jumploops•4d ago•251 comments

A 10-year-old CNN outperforms frontier LLMs for skin cancer diagnosis

https://lynchlab.net/llm-skin-cancer
544•sungam•15h ago•235 comments

Removing Next.js Got My Blog to 100 on Every Lighthouse Category

https://korindiehacker.bloffy.blog/en/removing-nextjs-got-my-blog-to-100-on-every-lighthouse-cate...
124•textlanes33•7h ago•68 comments

Where the Romans Fought (interactive map)

https://iosiflazaridis.github.io/battles-of-the-romans/
90•endorphine•13h ago•33 comments

OpenAI and Anthropic cut their LLM prices by up to 80% within a few months. Why?

https://minimaxir.com/2026/10/cheap-llms/
295•minimaxir•11h ago•289 comments

Making the Buddha Head from Merv Whole Again

https://www.getty.edu/news/buddha-head-of-merv-turkmenistan-conservation/
43•laybak•2d ago•0 comments

What goes into making an animated film?

https://www.disneyanimation.com/process/
137•embedding-shape•12h ago•61 comments

Active incident at Dreamhost forcing password reset

https://www.dreamhoststatus.com/
143•greenchair•19h ago•58 comments

Show HN: Proc-CLI – An agent-friendly CLI tool for process and port management

https://proc-cli.com/
10•yazeedaloyoun•4h ago•0 comments

I refuse to accept a censored Internet. Join Me at FOSDEM 27

https://talkweb.eu/openweb/4558/
460•Tomte•15h ago•222 comments