News for hackers. Stuff that matters.
Re:Show HN: C++ Compiler Support Page by EE84M3i on Tuesday September 09, 2025 @08:29AM (#45181042)
Is it possible to generate this automatically using conformance tests?
Re:Show HN: C++ Compiler Support Page by cemdervis on Tuesday September 09, 2025 @09:30AM (#45181668)
Hi! That's certainly possible, and also what I'm already doing. However, it's very time-consuming to do it for every single feature. The compiler vendors already provide their feature-support tables for most features, which I've made a small bot for that watches for conformance changes. For feature support that is unclear or not provided by the vendors, I write conformance tests to verify. In my experience, this mix works best.
Re:Show HN: C++ Compiler Support Page by monax on Friday September 12, 2025 @03:44AM (#45219714)
Having something like WPT [1] for C++ would be really nice.

[1] https://github.com/web-platform-tests/wpt

Re:Show HN: C++ Compiler Support Page by bregma on Friday September 12, 2025 @06:42AM (#45220757)
There are a handful of commercial offerings of C++ conformance test suites. They're all generally around 40000 euro for an evaluation copy (more for an actual full licensed copy), none are 100% complete, and we continually find bugs in tests.

You're not going to find some hobbyist coming up with a useful conformance or coverage test suite for free. It's intensive, expensive, and arduous.

Such things are mandatory, however, if you are a C++ vendor targeting ISO 26262 or IEC 61508 or similar -- basically, software that could kill you if it's done wrong. It's a niche with money and motivation.