News for hackers. Stuff that matters.
Re:Two Weeks of Rust by mcguire on Tuesday January 12, 2016 @12:44PM (#10888907)
"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.

Re:Two Weeks of Rust by nickpsecurity on Tuesday January 12, 2016 @03:05PM (#10889957)
See 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.

Re:Two Weeks of Rust by steveklabnik on Tuesday January 12, 2016 @12:49PM (#10888952)
Rust works well on Windows. You can find details about platform support here: https://doc.rust-lang.org/book/installing-rust.html#platform...
Re:Two Weeks of Rust by mcguire on Tuesday January 12, 2016 @01:01PM (#10889059)
Cross-compiling to MIPS and PowerPC Linux? Cool!
Re:Two Weeks of Rust by phyllostachys on Tuesday January 12, 2016 @04:10PM (#10890422)
I 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.