3 ms·
> Perhaps the Rust team should make their compiler work on reasonable resources, like 32 bit processors Rust compiles for and runs on STM32, a 32-bit microcont
by AceJohnny2 7y ago
> Perhaps the Rust team should make their compiler work on reasonable resources, like 32 bit processors
Rust compiles for and runs on STM32, a 32-bit microcontroller:
https://docs.rust-embedded.org/discovery/ https://docs.rust-embedded.org/discovery/
And here's an index of supported embedded hardware:
https://github.com/rust-embedded/awesome-embedded-rust#driver-crates https://github.com/rust-embedded/awesome-embedded-rust#drive...
- monocasa 7y agoHe's saying for running the compiler, not for the compilation target I think.
- heavenlyblue 7y agoThen you can compile the compiler for that platform, no? That being said you would need to implement the basics of OS routines, but it should not be too hard
- monocasa 7y agoNot if the compiler can't fit in memory. And rustc has problems fitting non trivial projects in 2GB of RAM.
- andai 7y ago> Perhaps the Rust team should make their compiler work on reasonable resources, like 32 bit processors >Rust compiles for and runs on STM32, a 32-bit microcontroller Cool, but it can't run the compiler, right? I think that's what GP meant.
- sedatk 7y agoI wouldn't call 32-bit processors reasonable anymore. Maybe a decade ago, yes. 64-bit is the norm now. It doesn't make sense to demand 32-bit support.