90 karma · joined Feb 12, 2016 (10y ago) · 27 submissions
comment 3d ago · link · parent
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p34...
> C++ Contracts were implemented in GCC and Clang according to P2900, and usage experience was gathered across large code bases. P2900’s specification was clear and implementable
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/p40...
> The representatives of two compiler vendors — Microsoft and EDG — have objected to standardizing contract assertions as in P2900. The objections are not about implementability. The feature is fairly simple to implement in its minimal form (just type-check the conditions and otherwise ignore them).
The presence of bugs in the implementation doesn't mean it's difficult to implement. They also haven't been open for years, because the implementation doesn't exist for years in mainline GCC.
comment 3d ago · link · parent
Requiring mainline implementation before standardizing would require a higher bar for contracts than for any other language feature in the history of C++. Due to the lack of mainstream implementations (the first one in GCC was only released in April), it is this also not surprising that there is a lack of projects using the feature.
There is no concern about difficulty of implementation.
comment 2y ago · link · parent
I think the article is written by the person that was removed. It is lacking any statement of the standard foundation who removed him. No such statement exists, even on the internal committee mailing list it is just an "fyi, that person is no longer on the committee" without any reasons.
I can piece something together from his previous behavior on the committee mailing list, but that information is not public and I'm not at liberty to share.
comment 2y ago · link · parent
I banned you, so I like to think I'm an authority on why you were banned. Here's a step by step timeline of what happened.
1. This comment of yours received a high number of reports and was automatically filtered: https://www.reddit.com/r/cpp/comments/1gyiwwc/comment/lyp3jl...
2. I agreed with the reports and removed your comments.
3. I read the rest of the comments in your thread, and noticed your username repeatedly. I wasn't familar with you, so when I reached https://www.reddit.com/r/cpp/comments/1gyiwwc/c_standards_co... I clicked on your profile.
4. After noticing your lack of contributions to r/cpp, I decided you are just someone who causes moderation trouble without contributing useful technical insights, so I decided to ban you. That's why the above comment is listed in your ban reason. If you had posted the slur on an account with actual history in r/cpp and no previous removed comments, I would not have banned you.
Edit: 5. Reddit administrators have now removed your comment as well.
comment 2y ago · link · parent
Interesting that you did not choose to voice your opinions using your main accounts on that community then.
> And would you be so kind to actually link to the comment you banned me for? This is it, for everyone to see and judge:
Nah, that was just the comment I used to get to your profile. I banned you for insulting someone.
comment 2y ago · link · parent
(And for the record, we barely removed any comments, just the ones that directly insulted people.)
comment 2y ago · link · parent
comment 2y ago · link · parent
We should blog more about the other stuff. For example, we've implemented a pretty cool lossless compression scheme for the preview of powerpoint slides in search, and have acquiried a cool technology to search for existing slides by drawing a sketch of their layout. But the people working on that are too busy to blog about them...
comment 2y ago · link · parent
I was recently appointed co-chair for the std::ranges group and I'm trying to bring some of the improvements to C++.
comment 3y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
It may have been started by mostly Googlers but they want other companies and individuals to participate
20.
Show HN: Lexy – C++ parser combinator library with custom DSL(lexy.foonathan.net ↗)
1 points · by foonathan · 4y ago · discuss
21.
Lexy: C++ Parsing DSL Library(lexy.foonathan.net ↗)
2 points · by foonathan · 4y ago · discuss
comment 9y ago · link · parent
> like embedded systems or digital signal processing, where portability, code size and target specific substitutions or optimisations matter, there is simply no reason and no way to get rid of the preprocessor without breaking things.
It certainly is, I know embedded projects where they use template meta programming to get an even more advanced code generator.