Re:My tutorial and take on C++20 coroutines
by johannes1234321 on Monday February 22, 2021 @08:17AM
(#26224133)
A part of the tis that the standards committee decided to do a multi phase rollout. They created the core language parts and will hopefully in a future version add the library support making it easier to approach. (And then hopefully find that the design works with the library design ...)
[ Parent
| on HN ]
Re:My tutorial and take on C++20 coroutines
by BenFrantzDale on Monday February 22, 2021 @08:01PM
(#26232690)
Well put. I wish more features were rolled out as core language features before putting them in std. making things language features makes them possible. Making them library features makes them vocabulary. Iām more eager for things to be possible than I am for them to be ergonomic.
Re:My tutorial and take on C++20 coroutines
by johannes1234321 on Tuesday February 23, 2021 @02:57PM
(#26242091)
Making something a core language feature means it has to be completely right. Doing something in library leaves more of an option to fix it later or creating another version of the thing inna different header.
I also would like if std::variant were a language feature, not library :)