3 ms·
Portable to what? Rust works fine on all of today's popular platforms. I see people complaining about Rust's lack of portability, and it is always some obsolet
by pezezin 11mo ago
Portable to what? Rust works fine on all of today's popular platforms.
I see people complaining about Rust's lack of portability, and it is always some obsolete platform that has been dead for 20 years. Let's be serious, nobody is gonna run Tor on an old SGI workstation or Itanium server.
- vablings 11mo agoIt is still possible to build for targets such as Itanium. There is nothing stopping you from writing your own targets too in LLVM and its not obscenely difficult https://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/M68k https://github.com/llvm/llvm-project/tree/main/llvm/lib/Targ...
- edm0nd 11mo ago>Let's be serious, nobody is gonna run Tor on an old SGI workstation or Itanium server. dont temp me with a good time and awesome weekend project!
- yjftsjthsd-h 11mo agoThat's a good point, really there's no reason to waste time on anything but popular platforms. Obviously, of course, this means dropping support for everything except Windows (x64 and maybe ARM) and macOS (ARM). (\s) In all seriousness, I guess you can make this argument if you only care about Windows/macOS, but the moment you run anything else I have to ask why, say, Linux deserves support but not other less-common platforms.
- pezezin 10mo agoBecause: 1) Development resources are finite. 2) Linux runs all of the world supercomputers, most of the internet infrastructure (server, routers, etc), most of the cellphones (Android), and lots of other things. Its global marketshare is way bigger than macOS and all the BSD put together.
- anthk 10mo agoTry living without OpenSSH and the rest of *BSD contributions.
- yjftsjthsd-h 10mo agoTo remain clear: This is largely devil's advocate. I believe that niche platforms generally should be supported, and that includes GNU/Linux on amd64, and NetBSD on literal VAX (yes, that is an officially supported platform in current NetBSD), and RedoxOS on ARM, and OpenBSD on MIPS, and [...]. I just think it's really weird to claim that GNU/Linux, with 3% of the desktop market, should be supported, but a platform that is similarly a small fraction of Linux is dead weight that should be dropped. With that said, remainder of this comment continues with the position that GNU/Linux, which I am writing this comment on, is obviously not worth supporting for the same reasons as i.e. MIPS and RISC-V. > 1) Development resources are finite. That is an argument in favor of cutting niche platforms like GNU/Linux. > 2) Linux runs all of the world supercomputers, You can't defend a niche OS by pointing out that it's used in a tiny niche market. How many supercomputers exist on earth? I'd bet you there are more working MIPS installations than supercomputers. > most of the internet infrastructure (server, routers, etc), I'll grant you headless machines used by IT folks, but that's still a specific subset of the market and it has little bearing on whether, say, Tor should support it as a desktop OS. > most of the cellphones (Android), Android/Linux is quite different from GNU/Linux; effectively nobody developing for Android is targeting Linux in any meaningful sense. > and lots of other things. Its global marketshare is way bigger than macOS and all the BSD put together. Only if we include embedded systems and servers. If you intend to target servers, then yes obviously Linux matters. Otherwise, not so much.
- filleduchaos 10mo agoLinux is not an ISA
- yjftsjthsd-h 10mo agoSo? They're both part of the platform software has to target.
- anthk 11mo agoNot under OpenBSD i686. Also, the more heterogeneous it's a CPU architecture support, the least exploitable a service will be.
- krior 11mo agoPlease elaborate on your last point.
- pezezin 10mo agoSee? This is exactly my point. The last 32-bit only Intel CPUs were the original Intel Core series. Core 2 was already 64-bit, and it was released in 2006. i686 should have died a long, long time ago.
- yjftsjthsd-h 10mo agoNo, the last 32-bit-only Intel CPUs were Atom models in ... I think we decided 2011 last time this came up.