3 ms·
I respectfully disagree. And as i pointed out in my other comment cpp_front and google carbon are trying to do just that. Bjarne is quoted to have said that th
by soulbadguy 3y ago
I respectfully disagree. And as i pointed out in my other comment cpp_front and google carbon are trying to do just that.
Bjarne is quoted to have said that there is a smaller C++ inside the current C++. As everything that was build buy gradual evolution, a clean reboot can converge on a "better" solution
- thesuperbigfrog 3y ago>> And as i pointed out in my other comment cpp_front and google carbon are trying to do just that. Cpp_front and Carbon are not C++. Parts of Cpp_front might become part of C++, but adding more stuff to C++ (usually increasing the overall complexity) has not been an issue for C++. That could be seen as part of the problem why C++ is so large and complex. By way of comparison, Carbon calls itself: "fundamentally a successor language approach, rather than an attempt to incrementally evolve C++." (https://github.com/carbon-language/carbon-lang https://github.com/carbon-language/carbon-lang) It aims to be a successor to C++, not the evolution of C++. >> Bjarne is quoted to have said that there is a smaller C++ inside the current C++. To officially be C++, the Standards Committee must agree to deprecate the features that give a smaller C++ in a future release of the C++ Standard. Good luck getting the C++ Standards Committee to agree on what to remove. >> a clean reboot can converge on a "better" solution Yes, but would it be backward compatible with existing C++ codebases? If the "clean reboot" is too different or not backward compatible enough would it be adopted by existing C++ users / the community? If it required significant effort to port old C++ code to the rebooted version, why would the rebooted version be chosen over another language?(for example: Rust, Go, Ada, Zig, etc.) Perl tried an ambitious rewrite from Perl 5 to Perl 6 and it did not work very well: it took too long, did not see wide adoption, and ultimately Perl 6 was renamed Raku. Perl did not have to push Perl 6 changes through a standards committee or try to get a dozen or more compiler implementors to agree. (https://en.m.wikipedia.org/wiki/List_of_compilers#C++_compilers https://en.m.wikipedia.org/wiki/List_of_compilers#C++_compil...) While it is possible that C++ could evolve into a smaller, cleaner version of itself, I do not think it is likely given all of the forces involved.