Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Synchronous vs. Asynchronous Programming | Better HN
Synchronous vs. Asynchronous Programming
(medium.com)
5 points · by
walter12
· 6y ago · 3 comments
Comments
[–]
jacobwilliamroy
6y ago
Javascript is single threaded. Async is not parallelism. As far as I know, the only way to run javascript in parallel is to use child_process.fork() or cluster on node.js, server-side. I do not know of any browsers which implement such.
[–]
e98cuenc
6y ago
In browsers you can use webworkers to get parallel execution.
[–]
jacobwilliamroy
6y ago
Cool. The author makes no mention of that.