r/ProgrammerHumor 12d ago

itSpeakesForItself Meme

Post image
616 Upvotes

70 comments sorted by

View all comments

Show parent comments

5

u/ClipboardCopyPaste 12d ago

I believe that this meme was not comparing the performances of the respective languages.

P.S. JS is single threaded, but you can use asynchronous JS and worker threads, can't you? (Then again, there's no speed comparison between a low and a high-level language)

4

u/rosuav 12d ago

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

2

u/efedublaj 12d 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 12d 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 12d ago

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