Show HN: C++ Compiler Support Page

cppstat.dev

62 points by cemdervis 5 days ago


Hi HN,

I have created a webpage that displays all C++ features since C++20 in a simple, searchable table.

It is intended to serve as a quick reference for C++ developers, whether as support for cross-platform development or simply to track the current support status out of curiosity.

I created it as a simpler, more structured, and more up-to-date alternative to the cppreference compiler support site. Please note that the page intentionally does not list LWG and CWG papers. This might change as I am continually updating the site and trying out new ideas.

Questions, feedback and suggestions are appreciated, either here or in the form of GitHub issues.

wscott - a day ago

For reference here is the cppreference page the OP is trying to improve: https://cppreference.com/w/cpp/compiler_support.html

Personally I am not not sure the live search on this new page saves me time, but perhaps if you added the ability to only show missing features it could be useful. For example if I could pick that I am interested in c++23 and earlier and that I use gcc-14 and clang-16 it should list the features that won't work for me. That would be useful compared to trying to scan the full list.

peapicker - 4 days ago

My gosh. I'm having to support some older platforms (like OS/400) who STILL don't have C++11 support. And also for now, HP-UX and Solaris, which support up to C++14 (dead platforms - hoping to drop soon). Someday maybe I'll get to move on.

devnullbrain - a day ago

How do you see someone using this page?

Feature names tend not to be very approachable. They often use very precise terminology or refer to papers with names that are targeted for a very in-the-know population.

As an example, one of the features listed is '`constexpr` `std::shared_ptr` and friends'. You seem to have a search that can cope with backticks but this feature doesn't show up if I search for 'constexpr shared_ptr'. That can be solved technically, but the bigger problem is that this feature also changes things for `weak_ptr` - or 'smart pointers' as a concept.

I can't picture a situation where I end up wanting to know the status of that feature's implementation in isolation.

For what it's worth, cppreference isn't any better at this, since it doesn't have any notes on the addition of support for `constexpr`ness of either pointer type. But with enough will I can change that.

Panzerschrek - a day ago

How did you collect this information? Manually by checking all compilers? By writing tests? By parsing compilers documentation?

butterisgood - 21 hours ago

This is really nice! I have not been keeping up with the features as I used to. "delete with a reason" strikes me as a really good idea.

captain_coffee - a day ago

Nice! Just curious about one aspect: how much demand is there for C++ nowadays for new projects and what is the anticipated demand mid to long term [5+ years]? Asking as I am seriously considering if it would be a good idea to transition to C++ development (professionally, not as a hobby). Wondering if it would make sense from the POV of projected/anticipated future demand, job security and salaries (VERY important) - in the context of how bad the job market is at the moment.

- a day ago
[deleted]
lainzhow - a day ago

Neat tool, but I noticed it shows that modules are mostly supported when they are at best partially supported. You can double check with the famous "Are we modules yet?" website.

EE84M3i - 4 days ago

Is it possible to generate this automatically using conformance tests?

Kelteseth - a day ago

Any specific reason on why the project is closed source?

tempodox - a day ago

Very handy, I love it. Linking the pertaining proposals is the pinnacle, since they explain each feature in detail.

juliangmp - 4 days ago

Very neat website! But it also really shows that C++ is bloated to hell