|
|
|
|
|
by coldtea
3712 days ago
|
|
>A very interesting property of the event loop model is that JavaScript, unlike a lot of other languages, never blocks. JavaScript actually always blocks. It's only external function calls that somebody took care to write in an evented style that don't block -- but anything written in pure Javascript (from for loops to text manipulation) blocks. JS single-thread async without preemptiveness is not something to write home about... |
|