what makes programming languages like go and rust memory-safe and c++ not?

694 views

what makes programming languages like go and rust memory-safe and c++ not?

In: Technology

5 Answers

Anonymous 0 Comments

Thank your for all explanations. While I’m not a complete noob in programming I have never worked seriously with C/C++ and it was new to me that not having GC and built-in tools for memory safety checks might be considered a feature for performance sake. It’s just that there’s so much noise around rust being so great memory-safe language and bashing C++ for its unsafety and complexity, now I understand that it doesn’t come for free. I guess if you’re building some low level infrastructure tool where performance is essential like Envoy you might choose C++ knowing it’s still worth it over all these troubles you face during development/maintenance.

You are viewing 1 out of 5 answers, click here to view all answers.