Vishal Sharmacodreline.hashnode.dev·19 hours agoLet's Dive into Internal Working of Node.jsHave you ever wondered how Node.js can handle thousands of connections at once without breaking a sweat? As a popular choice for building scalable network applications, Node.js has revolutionized the way developers approach server-side programming. A...Discuss·10 likesNode.js
Faisal Ahmedspaghetti-coder.com·Oct 8, 2024Building Async I/O in Rust: How Futures, Wakers, and Thread Pools Work TogetherAsynchronous I/O in Rust is a powerful technique that allows programs to perform non-blocking operations, enabling efficient multitasking and improved performance, especially in I/O-bound applications. By using the async and await keywords, Rust can ...Discuss·215 readsAsync Rust
Dwiki Arlancerita.hashnode.dev·Oct 4, 2024Task Queue vs Microtask Queue: Memahami Urutan Eksekusi JavascriptPernah merasa bingung mengapa setTimeout tidak langsung dieksekusi meskipun sudah dipanggil dengan timeout=0? Atau mungkin kamu sering menggunakan Promise tetapi belum sepenuhnya memahami bagaimana JavaScript menangani operasi seperti ini? Di JavaScr...DiscussJavaScript
Pradeep Thapapradeepwrites.hashnode.dev·Sep 28, 2024Understanding the Event Loop: The Hidden Mechanism Behind JavaScript's MagicJavaScript is often described as a single-threaded language, but it manages to handle tasks like fetching data from servers, updating the UI, and responding to user events seamlessly without blocking or freezing. This is made possible by a magical co...DiscussJavaScript
Dwiki Arlancerita.hashnode.dev·Sep 27, 2024Event Loop Pada JavaScriptSebelum artikel ini kita sudah membahas Single Thread dan operasi non-blocking pada JavaScript. Kemudian kita juga sudah mengetahui bahwa operasi non-blocking dan kemampuan concurrency pada JavaScript di dukung oleh sebuah mekanisme bernama Event Loo...DiscussJavaScript
Shubham Mehtashubham-mehta.hashnode.dev·Sep 23, 2024How JavaScript Manages Asynchronous OperationsYou might have heard that JavaScript is single-threaded, non-blocking and asynchronous in nature. First let’s understand what asynchronous means in JavaScript. What is asynchronous JavaScript? Asynchronous means performing multiple tasks at the same ...Discuss·35 readsasynchronous
Snehangshu Bhattacharyablogs.snehangshu.dev·Sep 21, 2024Python Multitasking: Key Practices and ChallengesWhen I first encountered the Python language, I was amazed by what you could do with so little code, and it has been one of my favourite programming languages since. Some time ago, I faced a problem where I was trying to create something like a web s...Discuss·77 readsgreenlets
Shreyansh Guptashreyanshgupta.hashnode.dev·Sep 21, 2024JavaScript Event loopTo understand event loop, first we need to understand how a Call Stack works. Now that we understand Call Stack, we can move to event loop. Event loop is an endless loop. Whenever the Call Stack is empty, the event loop pushes the oldest task in the ...DiscussJavaScript
Bodheeshbodheesh.hashnode.dev·Sep 20, 2024Node.js Interview Guide: Part 2Fundamentals and Asynchronous Programming Introduction Welcome to the first part of our comprehensive Node.js interview guide! Whether you're preparing for an interview or just want to brush up on your Node.js knowledge, this series will cover essent...Discuss #Node.jsInterviewQuestions
Dwiki Arlancerita.hashnode.dev·Sep 20, 2024Memahami Single Thread dan Non-Blocking Pada JavaScriptMemahami sifat single-threaded pada JavaScript sangat penting untuk menulis kode yang efisien dan mencegah bottleneck yang dapat membuat aplikasi menjadi tidak responsif. Saat mempelajari bahasa pemrograman JavaScript, mungkin kita sudah pernah mende...DiscussJavaScript