Re:Will Carbon Replace C++?
by LaLaLand122 on Tuesday February 28, 2023 @08:18AM
(#34968934)
That's cool.
Last I remember, the lifetime profile stuff was there, but there was still no way to add your own annotations. For some reason, I didn't hear too much about any of this, it was
- clang is working on it
- clang is working on it
- clang is working on it
- Visual Studio has it
- clang is working on it
- Silence
gcc still has nothing, right?
Re:Will Carbon Replace C++?
by LaLaLand122 on Tuesday February 28, 2023 @08:38AM
(#34969145)
I have just taken a look... https://wg21.link/p1179 is actually still not there, right?
I see some interesting stuff in https://discourse.llvm.org/t/rfc-lifetime-annotations-for-c/... from last year. But, in general... once Herb started the whole Lifetime safety profile thing, there seemed to be a lot of interest, but for the last few years things seems to have died? I think things are better with Visual Studio, but being on Linux... I may need to start developing for Linux from Visual Studio with WSL2 :-(
Only VC++ is working on it, the clang tidy developer looking into lifetime has moved on.
Re:Will Carbon Replace C++?
by LaLaLand122 on Wednesday March 01, 2023 @04:29PM
(#34988605)
That's just sad.
https://godbolt.org/z/ohxaGzsEM