Remix.run Logo
gtowey an hour ago

I'll await your Rust ports of Windows, Linux and MacOS then.

This isn't really a fair take. Keep in mind that C/C++ has been the backbone of the most important software in the world since the 1970s. At that time we didn't have virtually unlimited compute and memory at our fingertips the way we do now. It was a huge improvement to have a high level language which still could be optimized nearly as well as assembly.

Its staying power is due to the fact that we really haven't had many good alternatives until maybe the last few years. Things are not going to get ported and rewritten overnight, especially when they largely just work like Linux & PostgreSQL. We'd nuke a huge amount of institutional knowledge and inertia to change those up.

And C/C++ are still key in the embedded space where we still have devices constrained on compute and memory. That's not going to go away anytime soon.

This criticism feel like someone complaining about why anyone still uses horses on the day the Model T was announced. Change takes time.

hn_submit an hour ago | parent | next [-]

C is literally "high level assembly" and therefore lacks any guard rails you'd expect in a programming language. It's just unfortunate that so many software developers embraced C for its speed, even when it wasn't strictly needed.

I always remind people that C is a systems programming language and not fit for regular application programming. For that you need an application programming language like Pascal or Java.

sitzkrieg 15 minutes ago | parent [-]

yea, we certainly wouldn’t want regular user applications to run fast or respect user resources. can’t have that

hn_submit 5 minutes ago | parent | next [-]

I, for one, can't see any speed difference between a program written in Pascal (Total Commander, which I use every day) and one written in C++ (Windows Explorer).

krior 5 minutes ago | parent | prev [-]

false dichtonomy

jdm2212 an hour ago | parent | prev [-]

They're working on it for Linux: https://rust-for-linux.com/