2 ms·
> There’s an implication buried in here that there is some set of problems that only c++ can solve. Not sure about that. But the c/c++ community is still large
by zozbot234 4y ago
> There’s an implication buried in here that there is some set of problems that only c++ can solve.
Not sure about that. But the c/c++ community is still larger than, e.g. rust hence some worthwhile innovations (most recently e.g. co-routines, also executor interfaces for accelerated compute) show up first in c/c++. Then hopefully the rust folks figure out how to expose them to developers in a safe way.
- raggi 4y agowhat is new about coroutines or executor interfaces?
- Yoric 4y agoFor context, both C, C++ and Rust have had experimental implementations coroutines for ages. They're not standardized in C and Rust. And in C++, the only feedback I've seen is https://probablydance.com/2021/10/31/c-coroutines-do-not-spark-joy/ https://probablydance.com/2021/10/31/c-coroutines-do-not-spa..., which didn't look very good.
- pjmlp 4y agoOther languages have already figured that out. C++ currently still needs to figure out its executor's story, as so far it also needs to depend on third party implementations. I can attest that C++/WinRT story is quite painful, unless one is really deep down into co-routines and how they might interact with various COM/WinRT process models. See The Old New Thing blog about them.