Hacker News new | ask | show | jobs
by on2k17nm 2415 days ago
So you mean to say program written in Rust by any programmer will bug free ? IMHO, lousy programmer will write lousy code ,irrespective of C, C++, Rust, Python.. What do you say ?

I want to understand a compelling reason for yet another systems programming language ? I don't know Rust as of now, and the reason for Rust that I have heard often is the safety/security, but what I can most certainly say is that with this safety/security Rust must be compromising something that C++ is not.

Too many programming languages with same purpose will make life of a programmer too hard. Already tech scene is changing so fast, and yet another programming language will only make programmers more frustrated :-(

1 comments

It won't be bug free, but it will be free of certain classes of bugs. That's the compelling reason for Rust - avoiding the many pitfalls and undefined behavior of C and C++.

As for exactly which bugs (safe) Rust prevents, memory safety is one, but I'll let someone more knowledgeable answer - I'm sure they'll be along shortly.