5 ms·
Can you make Rust in Rust?
by faeyanpiraat 6y ago
Can you make Rust in Rust?
- gameswithgo 6y agoYes
- deleted 6y ago[deleted]
- nindalf 6y agoRust is implemented in Rust (https://github.com/rust-lang/rust https://github.com/rust-lang/rust)
- steveklabnik 6y ago(They are making a joke about the game named “Rust”)
- nindalf 6y agoCan't believe I wooshed that one after years of telling lost redditors on /r/rust "you're probably looking for /r/playrust"
- steveklabnik 6y ago: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.)
- 3PS 6y agoStrictly 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 https://github.com/bjorn3/rustc_codegen_cranelift [2] https://github.com/redox-os/relibc https://github.com/redox-os/relibc
- gpm 6y ago> 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.
- 3PS 6y ago> 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 http://spritesmods.com/?art=hddhack&page=1 Wat.