News for hackers. Stuff that matters.
Re:Std::visit is everything wrong with modern C++ (2017) by socialdemocrat on Sunday December 06, 2020 @12:15AM (#25321252)
You are specifically describing being stuck with C++ for legacy reasons despite trying to disprove it. You say you cannot use D and Rust because of the FFI needed for integration. How is that not a legacy issue? You got existing C++ code you need to integrate with. How is that not a legacy issue?

What I am talking about is that if you don't have to use a C++ library to solve your task, there is simply no sane reason to pick C++.

Re:Std::visit is everything wrong with modern C++ (2017) by mlang23 on Sunday December 06, 2020 @12:10PM (#25324826)
From such a futuristic point of view, I guess you are right. However, it will likely take a few decades until your wish is granted and everything has been rewritten language X. Calling all interfaces your OS gives you legacy is pretty far stretched man :-)