3 ms·
"Rigorous portability"? There's an old adage: there is no portable software, only software that has been ported. What is the status of Rust on Windows? I under
by mcguire 11y ago
"Rigorous portability"?
There's an old adage: there is no portable software, only software that has been ported. What is the status of Rust on Windows? I understand there are ARM versions; are there any other supported architectures?
I like Rust a lot. It's my go-to systems language at the moment. But let's do keep the hype train somewhere near the tracks.
- steveklabnik 11y agoRust works well on Windows. You can find details about platform support here: https://doc.rust-lang.org/book/installing-rust.html#platform-support https://doc.rust-lang.org/book/installing-rust.html#platform...
- mcguire 11y agoCross-compiling to MIPS and PowerPC Linux? Cool!
- phyllostachys 11y agoI haven't really been keeping tabs on it but I've heard from a former coworker that cross-compiling for ARM Cortex-M parts is fairly easy too.
- nickpsecurity 11y agoSee Pascal/P. Wirth wisely started with a stack machine (P-code) that could map efficiently to about any architecture and be re-implemented by non-compiler experts. He then targeted a Pascal compiler to that. I believe he targeted a standard library to it. The result was Pascal/P applications ran on 70+ architectures without modification outside of system-specific code like I/O. So, it's definitely achievable. Was done by Wirth at least twice (Pascal/P & Lilith) plus System/38 (later AS/400) at microcode level. Just takes modularity and a good intermediate language. Your adage is still true in that most screw up portability by using ineffective practices or not using effective ones. I rarely believe it when I see the word in a feature list.