Live data from Hacker News

Show HN: C++ Compiler Support Page

cppstat.dev

31–32 of 32 posts

Re: Show HN: C++ Compiler Support Page

#31
post #29

Earlier quoted context omitted.

Plenty, because despite the noise around the alternatives, even those alternatives are built with help of GCC and LLVM, written in C++ and aren't getting any rewrite short term. Then there are whole industries where only C, C++ and Assembly matter, including standards, so it will take a while for new contenders to be taken seriously on such industries.

gcc and LLVM being written in C++ is ortogonal to the demand for new projects to use C++.

Kind of, keeps them relevant, when the alternatives aren't bootstraped.

Re: Show HN: C++ Compiler Support Page

#32

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

Hi, I got the initial information from the cppreference compiler support site, then verified with each compiler vendors support tables and updated the information accordingly. Then I wrote a bot that watches all known (and most importantly, reliable) sources for changes, that then notifies me. The data itself is kept in very simple yaml files. So whenever something changes, I verify and update the info accordingly (T…

Trusting that the compiler docs correspond to reality is a bit of a risk here.

I lost a bunch of my evening to gcc refusing to find glibc headers and the docs wouldn't have helped me there. I did find a wontfix bugzilla from 2020 though, so that's nice.

The alternative would be to start stoically writing test programs and gradually reinvent part of autotools. Maybe run your conformance tests on the platforms that do have docs as well. Sounds like you may already be doing that :)

Post reply on HN