Hacker News new | ask | show | jobs
by josephg 1215 days ago
Ownership sure saves a lot of time for the computer when it runs the final binary.

For some software (eg browsers, operating systems), time spent making our programs correct and fast is worth the effort.

1 comments

Ownership is completely inadequate for operating systems.

Good luck with a browser without javascript.

Ironic that it came from a project in Mozilla, who used it to experiment with a new browser engine.
Yeah; I'm pretty sure parts of firefox have already been rewritten in rust. And there's a project at google to start adding rust to chromium too[1].

> Ownership is completely inadequate for operating systems.

The linux kernel is adding rust support as a first class language. In time I wouldn't be surprised if large parts of the linux kernel were written in rust. Obviously linux will always have a lot of unsafe code, but unsafe is part of rust too. Its surprising how infrequently you need it.

[1] https://security.googleblog.com/2023/01/supporting-use-of-ru...