WWeiping LarryDing5h ago · 13 min readGo Concurrency Under the Hood - GoroutinesWhen you first start with Go from the Node.js world, all the cool async I/O with an event loop seems to be missing. You just write this "I/O blocking" code exactly like a synchronous procedure call: qwpding.hashnode.dev
AAbdul RahmanOct 7 · 8 min readBehind the Gate: What Node.js Really Does When You Run node app.jsIntroduction We use Node.js every day. We write node app.js and our code runs. But if somebody asks "what is happening behind the scene?", very few developers know the answer. For most of us, Node.js 3blog.abdulrdeveloper.me
SSahil NasariwalaSep 28 · 4 min readsetTimeout(0) Is Lying to You (and the Event Loop Can Prove It)Quick test. No running it, no Googling. What does this print? console.log('start'); setTimeout(() => { console.log('timeout'); }, 0); Promise.resolve().then(() => { console.log('promise'); }); jsvisualized.hashnode.dev
AAlok RajJul 31 · 6 min readThe Node.js Event Loop ExplainedThere is a peculiar truth about Node.js that surprises many developers the first time they hear it. It has one main thread. Just one. It actually in a more efficient manner. It simply works smarter. Anode-js.hashnode.dev
SSrekaravarshan N KJul 11 · 28 min readPart 6: Microtasks and Why Two QueuesWhat no one teaches you about the JavaScript Event Loop — Part 6 of 8 A puzzle, slightly harder Promise.resolve().then(() => { console.log('1'); Promise.resolve().then(() => console.log('2'))srekaravarshan.hashnode.dev
SShubham Kumar SinghJul 3 · 5 min readHow I Solved the Ordered Parallel Batcher Problem in JavaScriptEvery coding problem teaches you something new. Recently, I worked on an interesting asynchronous JavaScript interview question called Ordered Parallel Batcher. At first, I thought the solution would shubhamsinghbundela.hashnode.dev
PPranavJun 25 · 11 min readJavaScript Runtime Secrets: The Call Stack, Browser APIs, and Microtask PriorityUnderstanding Asynchronous JavaScript: How JavaScript Handles Multiple Tasks Without Blocking ⏱️ Read Time: ~15 mins | 🎯 Level: Beginner to Advanced ⚡ TL;DR (Quick Summary) JavaScript is single-thpromises-async-await.hashnode.dev
GGidudu NicholasJun 25 · 21 min readAdvanced Dart: Learn Asynchronous Programming with Streams, Isolates, and the Event LoopI had been writing Flutter apps for over a year before I actually understood how Dart handles concurrency. I knew how to use await. I knew FutureBuilder and StreamBuilder well enough to get things worfreecodecamp.org
SS M Piyas Mahamude AlifJun 24 · 19 min readNode.js Thread Pool Under the Hood The Secret Engine Behind libuv's Architecture, Scheduling, Optimization, and High ConcurrencyIntroduction: The Lie You Were Told Every Node.js tutorial opens with the same sentence: "Node.js is single-threaded." It is a sentence that is both true and wildly misleading at the same time. Yes,techopinion.hashnode.dev
SSrekaravarshan N KJun 17 · 37 min readPart 3: Where Threads SleepWhat no one teaches you about the JavaScript Event Loop — Part 3 of 8 A different puzzle In Part 2 we left a question hanging. An idle browser tab uses zero CPU. Open your task manager — a tab with nsrekaravarshan.hashnode.dev