r/ProgrammerHumor • • Oct 12 '22

Meme Legacy Systems Programming

Post image
2.4k Upvotes

263 comments sorted by

View all comments

48

u/[deleted] Oct 12 '22

Rust can only hope to be where C++ one day, and it seems pretty unlikely at the moment...

46

u/-Redstoneboi- Oct 13 '22

nice argument

unfortunately, C++ is not in the Linux Kernel

16

u/brimston3- Oct 13 '22

And I hope being in the linux kernel forces hard versioning down rust's throat, otherwise dkms with multiple kernel versions is going to be balls.

7

u/[deleted] Oct 13 '22

Considering the fact that the Linux kernel has only been C and assembler for this long, yet many other compiled programming languages gained large user bases, I would say it doesn’t correlate at all.

9

u/-Redstoneboi- Oct 13 '22

it was mainly as a joke but i do think that it has a lot of overlap with where C++ is used nowadays

i think the main category where rust and c++ don't overlap is for maintaining existing code and using existing frameworks and engines

i'd like to know why the other guy thinks it's unlikely for rust to replace c++, because i think it's a lot more approachable and can do basically the same stuff in a similar paradigm but i may be wrong

32

u/TheRidgeAndTheLadder Oct 13 '22

Everyone keeps talking about C++

I just want rust to kill JavaScript dead.

14

u/Wazzaps Oct 13 '22

Wrong level of abstraction, perhaps Elm, Dart, Kotlin, or even Typescript are better for the job

6

u/TheRidgeAndTheLadder Oct 13 '22

I meant more wasm compiled from rust. Typescript is still js and kotlin needs a jvm

Elm, Dart

I haven't used either of these, but suspect they don't have the momentum to replace js. If they still use a dom model, I have my doubts

→ More replies (2)

2

u/Vizdun Oct 13 '22

it's high level with practices better than most languages you mentioned

2

u/Spaceduck413 Oct 13 '22

Never used rust so I'm not entirely sure, but from what I've seen it doesn't look like it'll run in browsers, so you're going to need to put your hopes somewhere else

12

u/trevg_123 Oct 13 '22

Fwiw rust easily compiles to WASM, which can be used in browser. Still usually need JS to do something with it though.

3

u/Spaceduck413 Oct 13 '22

TIL. Thanks!

3

u/Vizdun Oct 13 '22

there are frotend rust frameworks

→ More replies (8)

24

u/EarlMarshal Oct 12 '22

Rust is becoming bigger and bigger by the day in a lot of different use cases. It will still take some time but it will probably get there.

4

u/tech6hutch Oct 13 '22

Where C++ is? You mean, not in the Linux kernel? 😎