JDJyoti Dwivediinjs-learn-fun.hashnode.dev00Synchronous vs Asynchronous JavaScript30m ago · 4 min read · The Coffee Shop Revelation Picture a coffee shop with one barista. Two ways to handle orders: Synchronous (Blocking): Customer 1 orders → Barista makes coffee → Hands it over Customer 2 orders → BarJoin discussion
JDJyoti Dwivediinjs-learn-fun.hashnode.dev00Async/Await in JavaScript: Writing Cleaner Asynchronous Code39m ago · 4 min read · The Callback Hell Escape Three months into my first job, I inherited this monstrosity: fetchUser(userId, function(user) { fetchPosts(user.id, function(posts) { fetchComments(posts[0].id, functioJoin discussion
MAMohammad Amaninmohammadaman.hashnode.dev00Synchronous vs Asynchronous in JavaScript6d ago · 5 min read · JavaScript runs on a single thread. That means only one piece of code executes at a time. The difference between synchronous and asynchronous code is how that single thread is used—either waiting (bloJoin discussion
JDJyoti Dwivediinjs-learn-fun.hashnode.dev00Callbacks in JavaScript: Why They ExistApr 13 · 10 min read · The Coffee Shop Revelation ☕ Last semester, I worked part-time at a campus coffee shop. One day, my manager gave me a task: "Make a latte. When you're done, call out the customer's name so they can piJoin discussion
KSKanishka Shashiinjavasblog.hashnode.dev00Async/Await in JavaScript: Writing Cleaner Asynchronous CodeApr 11 · 5 min read · As modern applications grow more dynamic, handling asynchronous operations like API calls, database queries, and timers becomes essential. JavaScript has evolved multiple ways to deal with async behavJoin discussion
SKShubham Kumar Singhinshubhamsinghbundela.hashnode.dev10Understanding Event Loop via a SchedulerApr 1 · 3 min read · While solving a Time-Sliced Task Scheduler problem, I realized that my understanding of the event loop, microtasks, and macrotasks was wrong. await does not automatically yield control to the event lJoin discussion
VSVishal Singhinblog.xpvishal.dev00Callbacks in JavaScript: Why They ExistMar 31 · 4 min read · In JavaScript, functions are first-class citizens. This means they can be treated like any other value: Assigned to variables Stored in arrays or objects Passed as arguments to other functions RetJoin discussion
SKShubham Kumar Singhinshubhamsinghbundela.hashnode.dev10How I Solved Preemptive Priority Task Scheduler in JavaScriptMar 24 · 3 min read · When I first saw this problem, it looked like something straight out of an Operating System. But implementing it in JavaScript?That’s where things get interesting. What is Preemptive Scheduling? PreeJoin discussion
SAShriyansh Agarwalinshriyanshagarwal.hashnode.dev00Understanding Node.js Architecture: V8, libuv, and Node Bindings ExplainedMar 14 · 6 min read · How does Node.js work? This is the most common question that an interviewer asks in a JavaScript interview. The answer lies in the Node.js architecture, which involves mainly V8 engine libuv Node.jJoin discussion
TATaha Ashraf Sayyedinbuildwithtaha.hashnode.dev00Promise in JSMar 12 · 5 min read · In the last blog, I discussed how JavaScript support asynchronous programming. I have discussed Event loops, Callback Queue and Microtask Queue In this blog, I will be sharing my recent learning of PrJoin discussion