Better HN
topnewbestaskshowjobs
Log inSign up

cemdervis

241 karma · joined Nov 2, 2023 (3y ago) · 23 submissions

Submissions

comment 4mo ago · link · parent

pimpl also helps to keep data structure layout stable, e.g. Qt's d-pointer convention

comment 5mo ago · link · parent

For transparency: That was the previous title of the page. I since changed many things on that site and reworded some fluff. Cheers.

3.

The case for physical media ownership(dervis.de ↗)

496 points · by cemdervis · 5mo ago · 373 comments

comment 7mo ago · link · parent

I am not aware of such a thing. Is GitHub itself requesting that when you create a PR, or is it because of the site's editor?

comment 7mo ago · link · parent

GCC and MSVC are pretty close. fyi, the tables on cppreference are rather outdated at this point. I made a more up-to-date, community-maintained site: https://cppstat.dev/?conformance=cpp20

comment 1y ago · link · parent

Glad I could help!

comment 1y ago · link · parent

https://cppstat.dev

comment 1y ago · link · parent

Reminds of something I read somewhere: "I don't love Java, but I love the house it bought me."

comment 1y ago · link · parent

Hi, the live search is for developers that want to quickly look up the support for a particular feature. The "missing features" feature and filtering by compiler versions is something I'm currently working on. Any suggestions are welcome, and thanks for your feedback.

comment 1y ago · link · parent

Hi, I first designed this site as a way for C++ developers to quickly look up support for particular features (as you've described, in isolation). But in the long run, I think we can extract much more meaning out of these numbers, which is why I added the conformance overview as a first test candidate.

As for feature names: I agree that the paper titles tend to be very technical / niche. However, I didn't want to distort them and rename them, since the site is targeted at the in-the-know population you've mentioned. Do you have an idea how this could be improved?

Regarding the search: This is something I'm working on improving, so that coarse searches like "constexp sharedptr" would correctly yield the constexpr std::shared_ptr proposal.

comment 1y ago · link · parent

Hi, thanks. I agree, modules support is kind of there, but not really. I think we could only go by what the compiler vendors state, and add some notes about what's missing.

comment 1y ago · link · parent

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 (The site itself is then regenerated and uploaded automatically).

For features that are not fully implemented yet, or where the vendor does not provide any information (e.g. Apple's conformance table), I set up a conformance test suite on my machine that runs most of these across all toolchains.

Please note that I won't be the only person that maintains this site. I'm in the process of open-sourcing and automating most of it, so that everyone can contribute via GitHub. It's just that keeping up with C++ is part of my job, and also a personal interest of mine. So I do this as a "labour of love".

comment 1y ago · link · parent

Thank you very much, I also plan to add more information to the information section of each feature, so that people have the option to TL;DR instead of heading over to the proposals.

comment 1y ago · link · parent

Hi, yes, it's just because I'm still trying out some design ideas and am polishing the code. I'm already in the process of open-sourcing it, so that everyone can contribute via GitHub PRs, it's just preparation work that has to be done.

comment 1y ago · link · parent

Thanks! I agree to an extent, but it's also the beast the industry married. So as long as it's around, we might as well "deal with it". This page is hopefully one tool that helps with that :)

comment 1y ago · link · parent

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.

17.

Show HN: C++ Compiler Support Page(cppstat.dev ↗)

68 points · by cemdervis · 1y ago · 30 comments

comment 1y ago · link · parent

CMake + Ninja?

comment 1y ago · link · parent

Fingers crossed

comment 1y ago · link · parent

Swift

comment 1y ago · link · parent

The "new" language you're describing sounds like Swift.