News for hackers. Stuff that matters.
Re:Why Amazon is writing Firecracker in Rust? Why not C/C++? by deogeo on Sunday November 10, 2019 @01:03PM (#21499208)
> Why not C/C++ which are already proven

Proven as easy to introduce bugs and vulnerabilities with.

Re:Why Amazon is writing Firecracker in Rust? Why not C/C++? by on2k17nm on Sunday November 10, 2019 @01:19PM (#21499289)
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 :-(

Re:Why Amazon is writing Firecracker in Rust? Why not C/C++? by deogeo on Sunday November 10, 2019 @01:24PM (#21499315)
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.