|
|
|
|
|
by w8rbt
3463 days ago
|
|
All of that will come after rust gets an ISO standard (like C and C++). Joking aside, C++ will be around forever and to a lesser degree, C will be too. They have 45 years of experience and revision. 50 years from now they'll probably still run the world just as they do today. C++11 and beyond is just as safe as any language. Rust came to be about 10 years too late. |
|
That's just not accurate. This is UB, despite being done entirely using modern C++ API:
I ran it on https://code.sololearn.com/caR4o14MOCWr/#cpp and got this output: