3 ms·
> C++20 and beyond haven’t added much that’s worth upgrading for. std::format is pretty nice (although not yet available on Ubuntu 24.04 LTS. Lambda capture
by rerdavies 2y ago
> C++20 and beyond haven’t added much that’s worth upgrading for.
std::format is pretty nice (although not yet available on Ubuntu 24.04 LTS.
Lambda capture of parameter packs is actually huge!
And ... I think it still remains to be see what the outcome of modules will be.
One hopes (against hope) that the big payoff for modules will be in tool-ability of C++. IDE support for languages like C#, Java, typescript is vastly superior to C++ IDE tooling. Perhaps. Maybe. Modules will provide a path that will allow that to change. I don't think the benefits of modules have yet fully played out.
- pjmlp 2y agoIronically C++ had such tooling in the past but got lost, a bit like Roman technology as the Empire felt. Visual Age for C++ v4.0 had a Smalltalk like experience with a database storage for the code, and Lucid Energize C++ already had something that people now know as LSP (Cadillac on their implementation), with incremental compilation and linking (at method/function level). They failed commercially due to high prices and hardware requirements. We have had C++ Builder for decades for GUI RAD development, Delphi/VB style, but due to how Borland went after the enterprise and various changes of hands, very few are aware that it exists and its capabilities. C++ Builder with VCL was Java/.NET before these were even an idea looking for an implementation. Problem now is that C++ has become a specialized tooling for high performance code, language runtimes, drivers and GPGPU, so you write 90% of the code in Java/C#/nodejs/..... and then reach out to native libraries, for various reasons. Still, Clion, Visual Studio, C++ Builder, are quite good as far as development experience goes.