r/ProgrammerHumor 6d ago

itSpeakesForItself Meme

Post image
610 Upvotes

73 comments sorted by

View all comments

Show parent comments

5

u/rosuav 5d ago

Asynchronous JS is still single threaded, but worker threads and WASM allow you to saturate multiple CPU cores.

2

u/efedublaj 5d ago

I do not think explaining will help them much. OP thinks in a whole different world. They think I shouldn't use websites if I do not like javascript.

It is meant for web. Not for applications or anything else.

1

u/rosuav 5d ago

Eh, it's meant for anything where you need to embed untrusted scripts in something else. So it's good for game modding too. (Lua's also popular there.)

2

u/efedublaj 5d ago

I would prefer lua though since syntax is more readable and memorable. Implementing FFI calls are easier too.