DEV Community

Discussion on: Stop Using React

Collapse
 
ender_minyard profile image
ender minyard • Edited

You never learned about multi-threaded JavaScript?

Collapse
 
humzakhan profile image
Humza K.

If you are doing anything in JavaScript that needs multi-threading, you are using the wrong language and I will question your choices.

Thread Thread
 
joshuaamaju profile image
Joshua Amaju

Not necessarily, I think most image processing web apps use web workers. There are legitimate reasons for doing that.

Thread Thread
 
frondor profile image
Federico Vázquez • Edited

That isn't multi-threaded javascript either! You're simulating it, but javascript is not and won't ever be multi-threaded.

Thread Thread
 
ender_minyard profile image
ender minyard

Simulation is good enough for me 🤠

Collapse
 
matthewpardini profile image
Matthew Pardini

All v8 engines run multi threads for javascript. It is only the event loop that is single threaded. Any async call places the work onto background process. When it is done, it gets loaded back onto the event loop thread and executed. We are ALL multithreaded js developers if we are using any modern chromium engine or writing anything in node

Some comments have been hidden by the post's author - find out more