Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There will never be a slow and careful rewrite in Rust. Nobody wants to do it, and doing it without introducing new bugs and security issues (not linked to memory) is even more difficult.


> There will never be a slow and careful rewrite in Rust. Nobody wants to do it

Lots of people want to do it. Whether you want to run any of their code is an open question - but rewriting old things from scratch is a very popular passtime.

In fact, people are already doing it. For example, the recent sudo-rs rewrite. Or the uutils coreutils package:

https://github.com/uutils/coreutils

- Which passes almost all conformance tests now by the way. (Though they could certainly use a few more tests):

https://uutils.github.io/coreutils/docs/test_coverage.html

> doing it without introducing new bugs and security issues (not linked to memory) is even more difficult.

Difficult, but not impossible. Plenty of alternate C compilers exist. And alternate SQL databases. And some web browsers. And email servers. And TLS implementations. And on and on. Arguably there already are several reimplementations of the "linux userland", with various tweaks. They're just called Freebsd. And Illumos. And MacOS.

Why would the linux userland be uniquely impossible to reimplement in another language? I feel like people celebrate when someone makes a new text editor or gameboy emulator. Why so much hate at the idea of more implementations of unix tools?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: