3 ms·
JavaScript is not multithreaded.
by ng12 7y ago
JavaScript is not multithreaded.
- manigandham 7y agoJavascript as a language isn't, but Javascript code can use multiple threads in various ways.
- ng12 7y agoAnd you're implying asynchronous coding is new to JavaScript developers?
- deleted 7y ago[deleted]
- manigandham 7y agoAs default architecture? Yes.
- ng12 7y agoI'd like to see some evidence to back that up. The event loop is one of the few things JavaScript did correctly and it's baked into everything but the most trivial of applications.
- manigandham 7y agoI'll refer to my quote: "The massive number of async-related workarounds, libraries, tooling and code practices says otherwise." It's surprising that JS has so much history with callbacks and events but async methods are unsupported or require workarounds by so many core frameworks and libraries which default to synchronous APIs for everything.