News for hackers. Stuff that matters.
Re:Visual Rust 0.1 is out by steveklabnik on Thursday May 14, 2015 @04:56PM (#9547534)
There is no silver bullet. Nothing solves security problems.

I like your enthusiasm though :)

Re:Visual Rust 0.1 is out by MichaelGG on Thursday May 14, 2015 @05:48PM (#9547791)
No, but Rust solves the exact security problems that MS's codegen is trying to solve. Look at the Obj-C VS2015 video that was posted here a bit ago. They're constantly coming up with these crazy hacks to reduce the impact of lack of memory safety. It just seems so inelegant, such a waste of effort and intelligence. (I know, it's actually very useful, since MS is mostly C++, so mitigation is a real value.)

And look at this month's security bulletin from Microsoft. Once again, memory safety appears to be the leading offender. This is the same as it's always been. MS's critical CVE would drop by over 90% (I think more, but it's been a while since I tallied them all up) just by having memory safety.

Re:Visual Rust 0.1 is out by pjmlp on Friday May 15, 2015 @03:10AM (#9549302)
MS and anyone else that jumped on the C ship long time ago.

These issues have been preached by us with experience in strong memory systems programming languages, e.g. Modula-2, Modula-3, Oberon, Ada, Pascal dialects...

But the industry needs to be exploited every day, spend huge pile of money in memory integer validation tools, the workarounds you mention (other compiler vendors do it as well) and still keep on fixing memory corruption exploits. To eventually start caring about this issues.

A visible side effect is the increase in Ada presence at FOSDEM in the last years, as well as, the industry acceptance of SPARK.

Back in the day I went to C++ from Turbo Pascal, because at least the language provided the tools to write safe code, if (big if) I cared to use them. So there was a path to achieve Algol type of safety.

The big issue is that due to its almost copy-paste compatibility with C, the added safety is not worth nothing if developers just keep on coding C with a C++ compiler.

Rust might eventually also suffer from this, given the amount of unsafe being used, I keep on seeing in code examples.

Re:Visual Rust 0.1 is out by agapos on Thursday May 14, 2015 @07:56PM (#9548239)
That is true, but I like to believe that if a group can solve a whole class of problems with a new language, that means they can spend more time and effort on other types of security problems.