Node Internals🫡 Today we explored Node.js in depth and learned about its architecture and how it works internally. Nodejs==(V8 engine + livuv library + C++) Lifecycle of the Eventloop EventLoop TRUE{ expired callback(); IO polling(); setImmediate(); close callback(); } Thank you, Piyush Garg sir, for guiding us and teaching Node.js so clearly. #chaicode #javascript #nodejs #learning #learninpublic
Node.js Internals: V8 Engine & Event Loop
More Relevant Posts
-
Today's class pushed me a bit out of my comfort zone with Node.js — and that’s always a good sign of learning. Here’s what we explored today: • What Node.js really is (in depth) • How V8 + C++ + LibUV together power Node.js • Understanding the Event Loop • Expired callbacks, I/O tasks, and the async workflow We also received a great assignment: Record a video explaining how the Event Loop works and how the entire process runs behind the scenes. Really enjoyed the session by Piyush Garg , Akash Kadlag , and Anirudh J. #chaicode #nodejs #webdevcohort2026 #javascript #backenddevelopment
To view or add a comment, sign in
-
-
Today’s class was all about Node.js Internals & Architecture. 🚀 Learned how JavaScript Engine + C++ + libuv = Node.js, and explored key concepts like Process, Event Loop, Thread Pool, Top-Level Code, Import Statements, and Event Callback Registration. Understanding how Node.js works behind the scenes is a great step toward writing better backend code. 💻 Chai Aur Code, Hitesh Choudhary Piyush Garg Akash Kadlag Jay Kadlag Anirudh J. #NodeJS #BackendDevelopment #JavaScript #CodingJourney
To view or add a comment, sign in
-
-
NodeJS Internals Today, Piyush Garg sir explored Node.js internals and explained how Node.js processes different tasks differently. We also learned that although JavaScript is single-threaded, not every process is handled by a single thread. CPU-intensive tasks are handled through the thread pool. Chai Aur Code WebDev Cohort is truly unique. Thanks to Hitesh Choudhary
To view or add a comment, sign in
-
-
𝗧𝘆𝗽𝗲𝗦𝗰𝗿𝗶𝗽𝘁 𝟳 is not about new features. It is about making TypeScript faster. Before, the TypeScript compiler worked on Node.js. Node.js is single-threaded, so it cannot use all CPU cores. Because of this, large projects can feel slow. Builds take more time, and sometimes the editor becomes slow too. Now, TypeScript 7 is being rewritten in Go programming language. This makes it a native tool, not just a JavaScript program. Because of that: 𝗶𝘁 𝗰𝗮𝗻 𝘂𝘀𝗲 𝗺𝘂𝗹𝘁𝗶𝗽𝗹𝗲 𝗖𝗣𝗨 𝗰𝗼𝗿𝗲𝘀 𝗶𝘁 𝘄𝗼𝗿𝗸𝘀 𝗳𝗮𝘀𝘁𝗲𝗿 𝗶𝘁 𝘂𝘀𝗲𝘀 𝗺𝗲𝗺𝗼𝗿𝘆 𝗯𝗲𝘁𝘁𝗲𝗿 In real projects, this means: faster build time faster autocomplete and navigation better performance in big projects and monorepos 𝗜𝗺𝗽𝗼𝗿𝘁𝗮𝗻𝘁: nothing changes in your code. You write the same TypeScript as before. This is not a new language. It is a faster engine. #TypeScript #FrontendEngineering #JavaScript #SoftwareEngineering #DX
To view or add a comment, sign in
-
-
Today's chai code class was about node js internals We learned a bit about how Node.js works behind the scenes, but it was a lot to grasp! 1. Event Loop: How Node.js handles tasks one by one 2. Async behavior: Lets apps run fast without getting stuck 3. Timers & callbacks: Basics of how things happen in order I’ll be learning more and sharing a detailed post on Node.js internals soon! Thanks to our teacher Piyush Garg for guiding us through this complex topic! #NodeJS #JavaScript #LearningJourney #BackendDevelopment #TechLearning #chaicode Hitesh Choudhary Anirudh J.Akash Kadlag
To view or add a comment, sign in
-
-
I noticed most Node.js logging solutions are either too heavy or too minimal. So I built my own — logpaint 🎨 A lightweight, zero-dependency colored logger with built-in levels and TypeScript support. Instead of adding another heavy logging library, I wanted something: • Minimal • Zero config • Typed • Colorful output • Runtime level switching 💻 Website - https://lnkd.in/gp3HgeBX 🔴 NPM - https://lnkd.in/gNuSPXd4 ♐ GitHub - https://lnkd.in/gVXkyu-P Would love feedback from fellow developers 🙌 What feature should I add next? #opensource #nodejs #typescript #javascript #buildinpublic #developers #webdev #programming
To view or add a comment, sign in
-
-
🚀 Learning Node.js Internals with Akshay Saini 🚀 Recently, I learned the 5-step mechanism of require() in Node.js. It was interesting to go beyond just using require() and actually understand what happens behind the scenes. I also explored the Node.js GitHub repository to see how it works internally. 🔥 The 5-Step Mechanism of require(): 👉 1. Resolving the Module 👉 2. Loading the Module 👉 3. Compile Step (Wrapping inside IIFE) 👉 4. Code Evaluation 👉 5. Caching 💡 Key Insight: Understanding these internals helps in writing better, optimized, and predictable code. Grateful for the guidance and excited to keep learning more deeply 🙌 #NodeJS #JavaScript #BackendDevelopment #LearningInPublic #OpenSource
To view or add a comment, sign in
-
Just published a new blog post on Core Modules in Node.js This article explains what Node.js core modules are and how they help build efficient backend applications using built-in modules like fs, http, path, os, and events. It also includes clear explanations along with code examples to help you understand how each module works in real-world scenarios. If you're learning Node.js, this is a great place to strengthen your fundamentals. Read more: https://lnkd.in/gimJqmg5 #NodeJS #JavaScript #BackendDevelopment #WebDevelopment #Programming #SoftwareEngineering
To view or add a comment, sign in
-
-
TypeScript 6.0 is your final warning TypeScript 6.0 has been released as the last version built on its JavaScript codebase, serving as a transition before TypeScript 7.0 introduces a Go-based compiler with native speed and multi-threaded type checking. Key changes include strict mode enabled by default, module defaulting to esnext, target floating to the current ES spec (es2025), and types defaulting to an empty array — a change that may break many projects but promises 20–50% speed improvements. New features include built-in Temporal API types and Map.getOrInsert support. Several legacy options like outFile, baseUrl, and AMD/UMD/SystemJS targets are deprecated or removed. The newsletter also covers pnpm 11 beta, Zero 1.0 stable release, a React useState closure gotcha, and various other JavaScript ecosystem links
To view or add a comment, sign in
-
-
Master the art of creating CommonJS (CJS) modules in Node.js. The foundation of Node's module system! 📦 Learn how to export functionality using module.exports, import with require(), and structure your code for reusability. Perfect for understanding legacy codebases, npm packages, and the module patterns that powered Node.js to success. #NodeJS #CommonJS #CJS #JavaScript #WebDevelopment #Programming #ModularCode #BackendDevelopment #SoftwareEngineering #CodingTips #NodeJSModules #RequireVsImport
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development