logoalt Hacker News

pezezinlast Friday at 1:59 PM4 repliesview on HN

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.


Replies

edm0ndlast Friday at 3:55 PM

>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!

vablingslast Friday at 3:15 PM

It 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/Targ...

anthklast Friday at 8:18 PM

Not under OpenBSD i686.

Also, the more heterogeneous it's a CPU architecture support, the least exploitable a service will be.

show 2 replies
yjftsjthsd-hlast Friday at 7:42 PM

That'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.

show 2 replies