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

Rust is implemented in Rust (https://github.com/rust-lang/rust)



Strictly speaking rustc has a dependency on LLVM, which is in C++, but you could use the rustc_codegen_cranelift backend [1] and get pretty much everything to be pure Rust. Unless you count the libc dependency, in which case, um, I guess you could use relibc [2]? And if you think relying on OS syscalls implemented in not-Rust is cheating, then you could just use Redox directly ;)

[1] https://github.com/bjorn3/rustc_codegen_cranelift

[2] https://github.com/redox-os/relibc


> And if you think relying on OS syscalls implemented in not-Rust is cheating, then you could just use Redox directly ;)

There's a problem though, the hard-drive firmware isn't written in rust, which is definitely cheating :P

I mean someone even managed to run linux on the harddrive, it's practically a whole extra computer we are using to build rust and it is undoubtedly programmed in C.


> someone even managed to run linux on the harddrive

I had to look this up because I could hardly believe it.

http://spritesmods.com/?art=hddhack&page=1

Wat.


(They are making a joke about the game named “Rust”)


Can't believe I wooshed that one after years of telling lost redditors on /r/rust "you're probably looking for /r/playrust"


:D

(A few months ago, I actually gave the game a try. I had a good time and it was very funny to post about.)




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: