4 ms·
This article is a bit click-baity. It's more about busting myths by a particular C++ programmer against rust. Anyway for a truth (well maybe it is a myth?) tha
by aninteger 6y ago
This article is a bit click-baity. It's more about busting myths by a particular C++ programmer against rust.
Anyway for a truth (well maybe it is a myth?) that we can't bust yet... Rust is simply not available on all platforms that C++ is. Two platforms that I think are missing:
* 16-bit MS-DOS
* 32-bit PowerPC (Linux)
- jefft255 6y agoHow much active development of new software is being done for MS-DOS? Really curious to know.
- dathinab 6y agoIs anyone besides embedded doing _any_ 32-bit dev outside of maintaining legacy code? I mean 64-bit PowerPc is by now around 17 Years old and even 15 years ago some of the most widespread users of PowerPc (Xbox) switched to using 64 bit PowerPc architecture...
- saagarjha 6y agoEmbedded sounds like a great domain for Rust that it sadly often cannot really be used in.
- jacobush 6y agoRust is promoted all the time as the sensible choice for embedded work instead of C or C++.
- steveklabnik 6y agoThe thing is “embedded” is an extremely broad space. There’s a bunch of Rust stuff going on in some corners, and absolutely none in others.
- jacobush 6y agoYeah, to clarify, it’s often touted as great for embedded but wholly impractical, it turns out, for some things. Which can be alarming and unexpected
- monocasa 6y agoXbox 360 still ran in 32bit mode with the exception of the hypervisor. No use of 64bit pointers on a system with a max of 1GB of RAM other than just wasting cache space, and there's no real other benefit tacked on like you see in other 64-bit archs.
- ridiculous_fish 6y agoDepends what you mean by "embedded," but almost every set-top box and TV has a 32 bit ARM SOC. These run software under active development: web browsers, Netflix, etc.
- dathinab 6y agoYup, I included set-top into embedded, too. Also just to be clear I don't say that rust isn't for embedding, just currently development is focused around server (and kinda desktop) usage with some focus on some of the most wide spread embedding targets. I hope in the future rust will be the go-to alternative for C/C++ in any use-case (at least any which llvm supports). But we are not there yet. But we are slowly getting there step by step.
- dvfjsdhgfv 6y ago> * 16-bit MS-DOS That's not entirely true - you actually can create .COM executables: https://github.com/ellbrid/rust_dos https://github.com/ellbrid/rust_dos
- Narishma 6y agoThat's 32-bit DOS, not the same.