4 ms·
Which of these is Rust missing? (Though I should caution that it's not as simple as "just write in a safe language" if you're doing the tricks that QEMU does f
by pcwalton 11y ago
Which of these is Rust missing?
(Though I should caution that it's not as simple as "just write in a safe language" if you're doing the tricks that QEMU does for speed. That's not to say we shouldn't be moving away from C and C++ in general, however--we should.)
- dijit 11y agolast time I deployed a compiler to a machine in a reliable way it took 45 minutes and a lot of document reading. Rust is not ready for linux yet. (no, `curl -sSf https://static.rust-lang.org/rustup.sh https://static.rust-lang.org/rustup.sh | sh` does not count)
- steveklabnik 11y agoSeveral linuxes have packages in their repositories today, and we're working on fixing the issues for the ones that haven't yet. Firefox now has Rust code in it, so any distro that compiles from source and has Firefox is gonna end up packaging rustc too.
- duaneb 11y agoI dunno, 45 minutes doesn't seem that bad for a manual deployment from scratch including documentation reading. The equivalent with gcc would be days of work.
- pm215 11y agoYeah, Rust is pretty high on the list of candidates, but for instance there is no rust compiler shipped by default in Debian stable, so I don't think it meets "widespread distro support" yet. Also https://doc.rust-lang.org/book/getting-started.html https://doc.rust-lang.org/book/getting-started.html says that everything not x86 is at best only in tier 2 "guaranteed to build", which is not really great on the "support multiple architectures" front; and lack of s390x host support would be a dealbreaker (it's a firmly supported host for running KVM on).