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
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You never learned about multi-threaded JavaScript?
If you are doing anything in JavaScript that needs multi-threading, you are using the wrong language and I will question your choices.
Not necessarily, I think most image processing web apps use web workers. There are legitimate reasons for doing that.
That isn't multi-threaded javascript either! You're simulating it, but javascript is not and won't ever be multi-threaded.
Simulation is good enough for me 🤠
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