3 ms·
Languages, spoken or computer, are adopted following the laws of natural selection, learning curves matter. A lot. It's preferable to have 2 passable developers
by jokoon 6y ago
Languages, spoken or computer, are adopted following the laws of natural selection, learning curves matter. A lot. It's preferable to have 2 passable developers than a very competent one on a new awesome language.
If C or C++ cannot evolve because of backward compat, those language might naturally evolve to adopt features of Rust or haskell. C++ Lambdas are a good example.
It seems that C++20's concepts are a viable candidate to compete with rust safety mechanism.
- in3d 6y ago>It seems that C++20's concepts are a viable candidate to compete with rust safety mechanism. No, that's not really something that concepts do. But there are ways of coding and tools using which you can get closer to Rust's safety features in C++. E.g. https://www.modernescpp.com/index.php/c-core-guidelines-lifetime-safety https://www.modernescpp.com/index.php/c-core-guidelines-life... or https://clang.llvm.org/docs/ThreadSafetyAnalysis.html https://clang.llvm.org/docs/ThreadSafetyAnalysis.html.