this post was submitted on 30 Nov 2023
-1 points (45.5% liked)

C++

1779 readers
2 users here now

The center for all discussion and news regarding C++.

Rules

founded 1 year ago
MODERATORS
-1
The Myth of Smart Pointers (www.logikalsolutions.com)
submitted 1 year ago by lysdexic to c/cpp
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 1 year ago (1 children)

Yeah, I have been a long for some time and that was the speech for Java, C# etc too you know.

Real like isn't usually coding a new program with unsafe pointers for speed, it's usually a 20 y old codebase in C/C++ that interferes with third parties in C, C++, C# and two distinct versions of Java, incompatible between each other.

So maybe Rust is the new deal, like Python was supposed to be and Java before that, we'll see...

[–] [email protected] 4 points 11 months ago (1 children)

Python never claimed to be the new deal, neither did java. At least not in the "c++ is now obsolete" way.

Rust definitely can replace c++, the major reason for not doing so right now is the legacy stuff, but as rust / c++ interop improves I think we will see more companies moving away from c++.

[–] [email protected] 1 points 11 months ago

Java was force fed down everyone's throats being the new genius language to make all other languages obsolete. For years and years.

Python way less but there were lots of "why not just do it in Python, it's better and you develop faster!!" Look at XYZ they use Python!!