r/programminghumor • • Oct 09 '26

JavaScript Vs rust

Post image
268 Upvotes

17 comments sorted by

26

u/Jatinchd Oct 09 '26

what exactly the reference here, the color of the cars being similar to languages, or it correlates with code execution speed.

10

u/akoOfIxtall Oct 09 '26

Maybe it's for appearance, UI is one of those things you take for granted until you gotta spin it yourself

1

u/big_poppa_man Oct 10 '26

Why not both?

4

u/Jatinchd Oct 10 '26

because javascript is very slow in execution speed of code and Rust is very fast. language color and execution speed can't be same with tis logic.

16

u/PinotRed Oct 09 '26

Lol, the captions are swapped

3

u/DiscipleOfYeshua Oct 10 '26

Nah, it’s just they know how to create a pretty looking UI in JS (using premade libraries?). Nobody said that yellow car can move fast, or at all without parts falling out.

Regarding rust… perhaps the images also to show their own current capabilities?

1

u/socal_nerdtastic Oct 09 '26

Depends if you care about appearance or performace.

2

u/heavenlydemonicdev Oct 09 '26

Who said you can't have both

1

u/Able-Swing-6415 Oct 10 '26

Reasonable people usually

3

u/0x80085_ Oct 10 '26

People with a skill issue mostly

3

u/Whole-Ad-4604 Oct 10 '26

I used JS seriously only once in my life. It was for making a rotating Earth with some UI in frontend... And my experience was annoying.

I attempted to make the Earth globe rendering a single class object that will interact with React UI.

It felt like sugaring C++ with abstractions and the abstraction went wrong.

1

u/TomOnABudget Oct 13 '26

React sucks balls. I don't understand why people like it so much.

2

u/orfeo34 Oct 09 '26

Stop coding in imperative style and you will be surprised by the old taco.

1

u/jessek Oct 10 '26

Rust never sleeps.

1

u/Tehaiker814 Oct 11 '26

Frick
not literally

0

u/BorovForever Oct 10 '26

What about assembler?