Reply to post: Re: Eh?

Rust in peace: Memory bugs in C and C++ code cause security issues so Microsoft is considering alternatives once again

dajames

Re: Eh?

... there will always be bugs the problem with c and c++ is they make these kinds of error really easy to make.

That's true of C, certainly.

One of the design goals of modern C++ is to make it really hard to make errors of the type being discussed here -- and that is a goal that is very largely met when the language is used in a modern, safe, idiom. Of course, you can write Fortran (or C) in any language, but if modern C++ is used correctly it should be a very safe language.

The trouble is that a lot of C++ programmers use the language as "C with bells on", and fail to reap the advantages.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon