Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   2306

C++ creator Bjarne Stroustrup defends its safety

by TimeChangeEverything - 01 February, 2023 - 07:39 AM
This post is by a banned member (TimeChangeEverything) - Unhide
41.544
Posts
14.214
Threads
6 Years of service
#1
https://www.infoworld.com/article/368651...afety.html
[Image: Refunding-2.gif]
[Image: jwGHBVl.gif]
[Image: h6S8dGS.gif]
This post is by a banned member (TimeChangeEverything) - Unhide
41.544
Posts
14.214
Threads
6 Years of service
Bumped #2
This is a bump
[Image: Refunding-2.gif]
[Image: jwGHBVl.gif]
[Image: h6S8dGS.gif]
This post is by a banned member (TimeChangeEverything) - Unhide
41.544
Posts
14.214
Threads
6 Years of service
Bumped #3
This is a bump
[Image: Refunding-2.gif]
[Image: jwGHBVl.gif]
[Image: h6S8dGS.gif]
This post is by a banned member (atx2022) - Unhide
atx2022  
Registered
15
Posts
0
Threads
3 Years of service
#4
Good article - I think both c and c++ are safe, as long as you know what you're talking about. Sure everything overflows, but decent code should account for this. Use the right datatypes, check inputs, don't throw garbage on the heap... pointers are another story, but again decent code shouldn't leave anything dangling. Problem is lazy programmers who don't know anything about memory management - thank god C is still around, otherwise we'd have a bunch of garbage written in python/java.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 2 Guest(s)