Re:Concurrent JavaScript: It can work
by chrisco255 on Wednesday August 30, 2017 @04:14PM
(#15135592)
Well for me it adds complexity to JS. One nice thing about JS is that it is single threaded and you don't have to deal with locks or inconsistencies there. An entire class of problems goes away, and since JS event loop is reasonably fast as it is, it's pretty nice not having to worry about concurrency.
[ Parent
| on HN ]
Re:Concurrent JavaScript: It can work
by threatofrain on Wednesday August 30, 2017 @09:23PM
(#15137446)
I would think that it's owing to the frequently single-threaded context of JS that concurrency becomes even more vital for maintaining the liveliness of your app. I also think that identifying aspects of concurrency often means free parallelism speedups, and the user doesn't even have to be aware -- no extra mental price.