5 ms·
I find carbon and the development of a modern replacement for C++ intriguing to watch. But for the life of me I can’t understand why someone would want this ove
by isaiahg 3y ago
I find carbon and the development of a modern replacement for C++ intriguing to watch. But for the life of me I can’t understand why someone would want this over a more mature language like D
- deleted 3y ago[deleted]
- pjmlp 3y agoThe problem with D is changing direction every couple of years regarding the next big feature that will finally bring the masses into the language, while not quite finishing the last big feature that predated it. Even Andrei Alexandrescu is back doing C++ at NVidia.
- sctb 3y agoAt least one major reason is "Interoperate with your existing C++ code, from inheritance to templates" (https://github.com/carbon-language/carbon-lang https://github.com/carbon-language/carbon-lang).
- mhh__ 3y agoD interacts with LLVM via using C++ inheritance and templates although not via their original source to be fair. N.B. ChatGPT is not a toy in this domain - weird macro? It can reason.
- xvilka 3y agoOr Rust.
- summerlight 3y agoI think Google is exploring other options as well, such as Rust. Carbon is a more aggressive experiment with higher risks. They've been very clear about Carbon's experimental status and that users should consider using Rust or something else instead of Carbon if they can use the one right now.