Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Synchronous vs. Asynchronous Programming
(opens in new tab)
(medium.com)
5 points
walter12
5y ago
3 comments
Save
Share
3 comments
3 comments · 1 top-level
top
newest
oldest
jacobwilliamroy
5y ago
· 2 in thread
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
5y ago
In browsers you can use webworkers to get parallel execution.
jacobwilliamroy
5y ago
Cool. The author makes no mention of that.
j
/
k
navigate · click thread line to collapse