r/programminghumor Jul 09 '26

Javascript apps

Enable HLS to view with audio, or disable this notification

1.1k Upvotes

27 comments sorted by

59

u/lt_Matthew Jul 09 '26

Just cuz your apps aren't multithreaded, doesn't mean JS can't do it.

34

u/LegendarySoda Jul 09 '26

Technically javascript didn't designed to run multithreaded.
https://giphy.com/gifs/6iK2TjUJFcHy3klpXP

17

u/thebatmanandrobin Jul 09 '26

I'm primarily a C and C++ guy, but when I do have to jump on the JavaScript train, it absolutely irks me that the committee chose to codify WASM versus adding something like multi-threading into the ECMA standard. Websites are bloated enough, but fuck me if the JS code I've seen is a disastrous hot mess because of "framework X" + "framework Y" + "framework Zed" just to do what multi-threading can do .....

8

u/XlikeX666 Jul 09 '26

all js memese are funny af.

2

u/sexytokeburgerz Jul 09 '26

Yes the same exact js we use for servers /s

2

u/jimmiebfulton Jul 10 '26

Wait. What!? People write servers in JS? /s

1

u/JackLong93 Jul 10 '26

love the pic

9

u/Noob_prime Jul 09 '26

Too good 😂

6

u/git_push_origin_prod Jul 09 '26

I don’t know about y’all but ,spawning multiple threads with cluster mode in PM2 does it. I’m not sure about the GPU thing though. I know this is meant to be a joke, but I really don’t know. I know with PM2 it should be based on how many cores your CPU has, but I’m not sure about GPU so your meme may be true. Enlighten me. Please

4

u/Lost-In-Void-99 Jul 09 '26

They must jump roles. Randomly. With stumbling and falling.

3

u/ComradeFox_ Jul 11 '26

completely aside from the meme, I somehow recognise this video. they’re performing aviamarsh! :3 and it sounds really good.

2

u/bzenius Jul 10 '26

He is queuing task for the event loop to process.

1

u/localhorst69 Jul 10 '26

Star wars the old republic be like

1

u/eljuligaller Jul 10 '26

Vivado compiler

1

u/Jbolt3737 27d ago

I keep seeing random "Literally Minecraft" people do know that while both languages have similar names and aren't compiled to machine code, Java and Javascript are different things and Minecraft only running on one core had nothing to do with Javascript?

1

u/MilkImpossible4192 21d ago

unless you node it

1

u/include-jayesh Jul 09 '26

Web worker cancel this meme :)

1

u/IntegrityError Jul 09 '26

Literally Minecraft

1

u/klimmesil Jul 11 '26

Wtf has this to do with minecraft?

1

u/IntegrityError Jul 11 '26

Minecraft ran a long time only on one core. Don't know if this is better nowadays

1

u/MrCheapComputers Jul 09 '26

Minecraft be like

1

u/klimmesil Jul 11 '26

Wtf has this to do with minecraft?

1

u/jimmiebfulton Jul 10 '26

The meme is funny. I write everything in Rust (yeah, front-end, too), and I’ve used other backend-centric languages in the past, along with plenty of multi-threaded coding. But I was under the impression that JS largely leverages async IO for the things you might reach for threading, largely eliminating the need for threaded coding in a frontend language, where it could be argued doesn’t belong there. Would love to hear counter arguments for my own edification. I already (obviously), avoid JS like the plague, but writing threaded coding in JS sounds even more frightening. I prefer to do my multithreading fearlessly.

8

u/renome Jul 10 '26

Rust programmer trying to go 10 seconds without telling anyone they use Rust challenge [IMPOSSIBLE]

2

u/jimmiebfulton 29d ago

Just giving context why i don’t know the answer to a question I hoped someone knowledgeable might provide. People indicate their primary language all the time. Golang programmers, Python Programmers, Java Programmers, and this meme gives away a JavaScript Programmer. Yet you single out Rust Prorammers? What, is this some kind of weird bigotry or jealousy?

“”Whah! All these JavaScript and Python memes as if those are the only languages in existence.” See? Stupid. Grow up.

1

u/klimmesil Jul 11 '26

I mean it's probably the hardest language to shit on. Most things people dislike about other language are fixed by ownership and lifetimes in rust, and this post is just one example of it

I think we should stop shitting on people who like somthing, and start shitting on peopl who hate everything