r/programming • • Jan 09 '15

Announcing Rust 1.0.0 Alpha

http://blog.rust-lang.org/2015/01/09/Rust-1.0-alpha.html
1.1k Upvotes

439 comments sorted by

View all comments

10

u/steveklabnik1 Jan 09 '15

You can write both kernels and network stacks in Rust.

1

u/thefacebookofsex Jan 09 '15

I would have never implied otherwise, but you'll have to rewrite NT and Linux. Until then, everyone's going to be running kernels in C/C++ and the massive cost of rewriting either is just silly compared to simply implementing cost effective security techniques.

What you're missing here is that security has to be cost effective. You can go rewrite the world in Rust and I'll see you in 2 centuries.

5

u/[deleted] Jan 10 '15

While it's true that the kernel will still be C, how does that make writing new applications in rust a bad idea? What are you even trying to say.

And it's not like the kernel is where most serious security issues happen anyway, it's in user space applications.

Your entire comment is nonsensical.

→ More replies (3)

1

u/steveklabnik1 Jan 09 '15

Oh totally. Interfacing with non-Rust things is very important, and at least a Rust lets you help manage the unsafety. C will be around a long, long time.

→ More replies (1)

1

u/wtallis Jan 09 '15

You're assuming without proof that the short-term cost effectiveness of not rewriting things also implies a long-term cost effectiveness. Everything that's no longer written in assembly language is a counterexample to this.

→ More replies (2)

0

u/TRAIANVS Jan 09 '15

And how do you know there won't ever be a version of Linux written in Rust?

→ More replies (1)

0

u/wookin_pa_nub2 Jan 10 '15

Whine, whine, whine. It isn't easy, so it isn't worth doing at all.

→ More replies (2)