News for hackers. Stuff that matters.
Re:C++ Coroutines Do Not Spark Joy by tralarpa on Monday November 01, 2021 @07:03AM (#29065184)
Could you explain what kind of projects nowadays use C++? I'm not up to date at all anymore. Used a lot of C++ until about 2010 (for simulations and Windows programming).
Re:C++ Coroutines Do Not Spark Joy by sseagull on Monday November 01, 2021 @08:03AM (#29065620)
Still used a lot in scientific programming. Especially with long-lived projects, but even now new C++ projects start up.

It’s a combination of institutional knowledge, domain-specific libraries, and low-level, hpc capabilities that keep C++ being used.

(C++ for low-level stuff, python for the glue is a common paradigm in scientific computing)

Re:C++ Coroutines Do Not Spark Joy by throw_m239339 on Monday November 01, 2021 @11:13AM (#29067710)
> Could you explain what kind of projects nowadays use C++? I'm not up to date at all anymore. Used a lot of C++ until about 2010 (for simulations and Windows programming).

All browsers you use are written in C++ (Firefox, Chrome...). Node.js is written in C++.

We live in that bizarre world, where on one side we have C, an antiquated and simplistic language and on the other C++ a monster of complexity that provides also basic modern stuff C will never have.

Rust has complexity of its own but it's more like a "philosophical" complexity rather than syntactic. A lot of C and C++ developers just don't like how Rust works.

Re:C++ Coroutines Do Not Spark Joy by jandrewrogers on Monday November 01, 2021 @12:41PM (#29069219)
High-performance database engines and similar data infrastructure are almost exclusively written in modern C++ these days. They benefit immensely from new C++ features.
Re:C++ Coroutines Do Not Spark Joy by KineticLensman on Monday November 01, 2021 @10:30AM (#29067024)
Game development using Unreal Engine, which has a C++ API [0]

[0] https://www.unrealengine.com/en-US/features/c-api