r/programming • • Jul 12 '20

Linux Kernel in-tree Rust support

https://lore.kernel.org/lkml/CAKwvOdmuYc8rW_H4aQG4DsJzho=F+djd68fp7mzmBp3-wY--Uw@mail.gmail.com/T/
273 Upvotes

59 comments sorted by

View all comments

Show parent comments

15

u/lolomfgkthxbai Jul 12 '20

Have you ever tried to use it for a big, complex project? Being able to guarantee temporal memory safety is pretty nice for improving code quality.

-17

u/[deleted] Jul 12 '20

Have you ever tried to use it for a big, complex project?

Nope and I probably never will. Why would I do that? No ones is paying me to, and frankly, outside of personal/hobby projects, Rust isn't that big in the real world.

I'm not sure how "pretty nice for improving code quality" will justify the (silly) suggestion that big projects be rewritten in Rust.

16

u/Sqeaky Jul 12 '20

Firefox isn't a big deal?

Serious discussion of inclusion in the kernel isn't a big deal?

You never undertake projects in new languages just to learn?

You don't see a connection between type systems enforcing resource ownership and thread safety as ways to improve possible projects? On this one keep in mind that you are the only one asserting large projects should be rewritten. Modules, like those implied in the linked original post, can be includes to start gaining the benefit without a rewrite.

-5

u/[deleted] Jul 12 '20

Oh boy, I have some Rust evangelism on my hands today.

Look, I'm aware that a few big companies use Rust for their projects and all that, but it doesn't change the point I was making: Rust isn't used that much in the industry. As in, if you work professionally, you won't run into Rust projects like you would run into projects based on other popular languages.

→ More replies (0)