Node.js Under the Hood | Understanding Node.js Core Concepts FREE VERSION

Поделиться
HTML-код
  • Опубликовано: 31 янв 2025

Комментарии • 135

  • @LockerWalkthroughs
    @LockerWalkthroughs 2 года назад +57

    Never stop to make videos, now you are my favorite dev channel!

  • @procodrr
    @procodrr Год назад +24

    📖Chapters
    00:00 - What we’ll learn?
    01:46 - How do Processors Understand Code?
    06:01 - Assembly Language Application Demo
    10:36 - C++ Application Demo
    19:33 - JavaScript and JavaScript Engines
    21:18 - V8 JavaScript Engine
    27:26 - Taking a Look at V8’s Source Code
    35:23 - Understanding How V8 is used by Node.js
    39:32 - Taking a Look at Node’s Dependencies
    41:47 - Project Ideas using V8
    43:43 - Taking a Look at Node’s Source Code
    52:34 - Taking a Look at other Node.js Files
    56:20 - A Brief History of JavaScript & Node.js
    01:00:50 - Understanding LibUV (Processes & Threads)
    01:07:50 - Understanding Node.js Process
    01:11:37 - Event Loop in Node.js
    01:29:12 - Thread Pool or Worker Pool
    01:31:02 - Don’t Block the Main Thread
    01:36:46 - Wrap Up
    This was a really adventurous journey of exploring V8 and Node.js source code.
    It is going to be the most popular Node.js course in couple of years, I can see the future. All the best 😊

    • @Sonu-ll6gj
      @Sonu-ll6gj Месяц назад +1

      Are sir aap yaha😀

  • @ahmednabil5005
    @ahmednabil5005 Год назад +8

    I kept searching for course explaining the concepts of the nodejs not just jump in to express framework and here you go.keep going you are doing such a great work

  • @sayeddileri3461
    @sayeddileri3461 Год назад +2

    I am thankful for this serious. I like my learning mediums to be either books or official documentation but bring a variety to how I learn, I always look for videos with high quality teaching material.
    Thank you for your effort and we hope to see more videos from you.

    • @Cododev
      @Cododev  Год назад +1

      Thank you very much Sayed Dileri! Glad you’ve learned valuable things here! I’ll try my best so that you can learn even more in future contents! Thanks again!

  • @dorelbarbu9453
    @dorelbarbu9453 Год назад +15

    Amazing high-quality content! Such well structured explanations are very difficult to find right now on the web. When looking online, you typically find a lot of tutorials/articles that explain how NodeJs works by showcasing it through a package like express. This can be proved extremely useful, but if you want to dive deeper into NodeJs, more material like the ones you post are necessary. Anyone who wants to dive deeper can benefit from those. Keep up, I'll follow every video you post!

    • @exe.m1dn1ght
      @exe.m1dn1ght Год назад +1

      they all read from wikipedia except this one , this video is truly a masterpiece and i love it

  • @VladislavSnegurov
    @VladislavSnegurov 2 года назад +8

    I've read Operating Systems book in this year to get some computer science knowledge as a front-end developer but still I discover something new from computer science topics when I watching your videos. Come to learn Node - upgraded in computer science ^^. You definitely should keep going man!

  • @sonuamrith9091
    @sonuamrith9091 Год назад +1

    For the first time in my life i started watching double ads of RUclips for the whole length of video as a way of expressing my gratitude to you brother..Thank you so much

  • @jamjam3448
    @jamjam3448 Год назад +2

    I can't believe this video series is free! Thanks soo much bro

  • @sanv9853
    @sanv9853 2 года назад +7

    Hands down best explanation. Answered all my questions and cleared any doubts about Nodejs. Even more how you can access the underlying structure to add your own c++ functions. Amazing 🤯

  • @bonsayeb9620
    @bonsayeb9620 2 года назад +3

    Thought you had 962K subscribers, until I realized it was just 962 subscribers. Your content is so amazing, I wasn't a bit surprised when I thought you were close to a million subscribers. You deserve it.
    I've watched this video and the ones prior, plus the buffer one so far and I'm so thankful, I landed on your page. Literally speechless, it's amazing. Thanks for being so thorough.

  • @haacki4720
    @haacki4720 2 года назад +1

    I'm coding on javascript about 6years but this is something new I never know. Very useful thanks!

  • @mzfitness5533
    @mzfitness5533 Год назад

    bro PLEASE continue making videos! It's so helpful and explained very well. I'm a full stack developer and your in depth explaining of nodejs and how it works under the hood has gotten me more appreciative of C++ and Linux/UNIX etc. Watching your vids is what I do when I'm losing motivation to study and procrastinating, it's so helpful!

  • @D_Ladybug
    @D_Ladybug Год назад +2

    just wow.. i'm bown.. i really wish and hope you'd finish this series i'll be there

  • @hardikganatra2453
    @hardikganatra2453 Год назад

    This chanel is underrated man, god bless you for sharing this for free .

  • @wendelyndike8721
    @wendelyndike8721 2 года назад +3

    Thanks soo much for this video. I am on the road to becoming a fullStack developer. I have already gotten to an intermediate level on the frontEnd side, b ut when i initially started learning the backend with NodeJs, it felt a little bit different and i felt oi needed a way to learn about the core concepts. I am verry happy i found this video. I am looking forward to finishing the rest of the course with you. ❣

    • @Cododev
      @Cododev  2 года назад +2

      Yeah I understand that first feeling you're talking about! Fortunately after a while and learning these core concepts it won't be like that anymore! Glad you found this useful and thanks for your comment!

  • @gustavonofoente4732
    @gustavonofoente4732 Год назад +1

    Astonishing. I'm taking the time to grasp Node.JS concepts - particularly because I'm looking for a career migration. This video was relaxing, helpful, and extremely well-explained. I am closer to being a software engineer now than I was before watching this video.
    Thank you.

  • @yogeshkhatri4555
    @yogeshkhatri4555 Год назад

    Bro you should have atleast million subscribers for this content otherwise who would have known idk. subscribed! great content!.

  • @iganic7574
    @iganic7574 Год назад +3

    Definitely the best video for understanding node js ❤❤❤

  • @xaapt
    @xaapt Год назад +1

    Masterpiece . The course we all deserve . Kudos 🤲

  • @exe.m1dn1ght
    @exe.m1dn1ght Год назад

    This is a hidden diamond .. I am so lucky that i found this, i filled a lot of holes in my understanding thank you man

  • @abrarzahid55
    @abrarzahid55 Год назад +1

    You have unveiled node js in a manner which is both fun to watch and mind blowing...
    Please make more videos...
    I presume you are well versed and have command over a multitude of languages... Like c++ rust and a bunch more... I have started to learn to code little over a year now.. these days I'm learning node js and alongside this learning some fundamentals like dsa... Please make a video describing your coding journey. Would love to watch it and take notes

  • @AlphasoundSchool
    @AlphasoundSchool Год назад

    This is probably the best Node.js course on Internet. Thank you for this amazing material and I hope you keep creating more content like this.

  • @metasavagex
    @metasavagex Год назад

    By far one of the best series of videos I’ve come across during my time of RUclips. Simply incredible work, thank you very much

  • @YousufBorno
    @YousufBorno Год назад

    never seen just a high-quality video before. Great job !!

  • @miggu
    @miggu Год назад

    Outstanding course ! Oriented to people with inquisitive minds , who need to understand why and how things work.

  • @bicube7529
    @bicube7529 Год назад

    man, i'm truly learning javascript, i didn't know nodejs damn. I really hope you keep up with the good work. just finished this video, i'll continue with the entire series

  • @danko5678
    @danko5678 Год назад

    I have noticed that the more detailed and helpful videos will almost always be the ones with the fewest views. But the most superficial gain millions

    • @Joao-oo8yj
      @Joao-oo8yj Год назад

      That's because the most of people have learning lazy of right way, because that is the harder way, but also the more efficiently way.

  • @drpstar
    @drpstar 2 года назад +2

    Very informative and deep. Needs this kind of video to understand things clearly. Thank you so much 😀

  • @imranalperen
    @imranalperen Год назад +1

    best programming content i have ever seen. thanks for it

  • @HasnainAli-ff4jt
    @HasnainAli-ff4jt Год назад

    Keep it up bro. This was an awesome explanation. Highly recommend for anyone who really wants to understand low level understanding of NodeJS.

  • @GabrielGomes-mp9un
    @GabrielGomes-mp9un 2 года назад +4

    Great job, @Cododev. I really appreciate all the work you put in the video. It clarified most of the questions I had about how NodeJS works behind the scenes.
    Looking forward to watching your the rest of your content :)
    Cheers!

    • @Cododev
      @Cododev  2 года назад

      Thanks Gabriel!

  • @RakibAhmed-vn9hs
    @RakibAhmed-vn9hs Год назад +1

    You are an artist ✨

  • @SadathIqbal
    @SadathIqbal Год назад

    Best video on the subject, so easy to understand.

  • @miggu
    @miggu Год назад

    Typescript will improve the stability of the runtime, which could possibly improve the performance of your team, but not the performance of your code because it ultimately this will be converted into js >> c++ >> assembly including the deoptimizer, 31:50 . This content is very high quality btw.

  • @dualwan
    @dualwan Год назад

    you are a great teacher sir, you can teach a topic on an entertaining way on a great depth. i can watch whole video on single sit and entertained like watching movies or animes.

  • @gokulambalavanan3592
    @gokulambalavanan3592 Год назад

    Detailed explanation , with good content, keep it coming❤

  • @devwebj7686
    @devwebj7686 2 года назад

    thank you so much for making this video. I would really appreciate more this kind of videos related to back end and nodejs. Thanks again.

  • @ropurifiedwater
    @ropurifiedwater Год назад +1

    read a comment on a different video that you are thinking of releasing the node js complete course on udemy, so i hope you do so because currently there's no course on node js that even is close to the way that you teach. there's a desperate need for people who teach in depth like you do. waiting for the release of your course though, take care!

  • @adityarawat4964
    @adityarawat4964 11 месяцев назад

    bro really knows what it is actually required before learning things like node environment

  • @Travel_With_Aarohi
    @Travel_With_Aarohi Год назад

    This is the best tutorial I ever seen on the youtube.❤

  • @Robytsu
    @Robytsu Год назад

    Oh man.. this play list is just too good!!!!! Thanks a looott!!!!!!!! ❤❤❤

  • @fawad4bros
    @fawad4bros 2 года назад

    Only two minutes in the video and I fall in love ❤️

  • @saadabbasi2890
    @saadabbasi2890 Год назад

    Finally something that makes sense. Thank you. ❤

  • @shishi783
    @shishi783 Год назад

    Thanks!

    • @Cododev
      @Cododev  Год назад +1

      Thanks a lot for your support Shishir!

  • @jakubfrei3757
    @jakubfrei3757 2 года назад

    This is excelent and exactly what i was looking for. Thank you so much ! Please keep doing videos like this

  • @vanlinhbui4894
    @vanlinhbui4894 Год назад

    the best content i have ever seen

  • @shrikantwankhade9050
    @shrikantwankhade9050 2 года назад

    This stuff is really amazing.
    Looking forward to watch the full series.

  • @Manish-hv9qx
    @Manish-hv9qx Год назад

    it was simply amazing, great explanation, just keep making these kind of videos. :)

  • @abdullahsiam7609
    @abdullahsiam7609 Год назад

    Your tutorial is simply the best...

  • @sebabratakundu
    @sebabratakundu 2 года назад

    Great work!
    You have amazing story telling skill man, very rare.

  • @mildlymusical4054
    @mildlymusical4054 2 года назад +1

    I have a query regarding the async programming, my earlier assumption was that because javascript is single threaded hence while performing any I/O operation the libuv used to open a thread to perform the I/O and then return the data and then the callback gets queued in the event loop. This was the general idea i had about async programming and i thought every async operation worked this way. Then i was reading through multiple languages that perform async and i found some blogs which said async programming has nothing to do with multiple threads and a single thread can be used for async operation . I saw this mainly in C# and you pointed that out at 1:29 that network requests do not require any threads from libuv. My whole confusion is if the main thread isn't executing the task , i am assuming it is being outsourced to someone else and for them to execute that task we need to open a thread but it looks like it doesn't seem to be the case.

    • @Cododev
      @Cododev  2 года назад

      That’s a great question! Well to start, async programming is totally different from multi-threading programming. And about the network requests, yes libuv doesn’t open a new thread to handle each request, rather the operating system will somewhat somehow get the requests and handles them USING ITS OWN THREAD(S). So technically there are multiple threads involved but those OS threads have nothing to do with our threads, in other words, we don’t need to care about them in our code, so we are doing all these in only one thread, and we are also doing these asynchronously.
      This outsourcing you mentioned is the case, if you can send me a link to these articles, I will take a look and let you know with more details. Thanks!

    • @mildlymusical4054
      @mildlymusical4054 2 года назад

      @@Cododev You are completely right , i did some digging few days ago and turns out most of I/O operations are non blocking and the device driver is actually responsible for completing the task . Internally, OS uses I/O Request Packets(IRP, think of it as an object which carries the state of the task and the metadata) to send to the device driver which changes the status of the IRP (lets say we are writing to a file , it will set the status to pending and give the control back) and as soon as the I/O is done , an interrupt signal is sent to continue the execution of the code which was written after await (and here the event loop is beneficial as the callback that is pushed into the stack gets executed only when the call stack is empty so we get the kind of execution that we see in node). There are languages like c# which actually does more/different optimisation on the compiler level (like breaking the code which has async operation into 2 parts , 1st is just before the async operation and the other is after the async and when it receives the interrupt signal , the code after the async operation starts executing)
      blog.stephencleary.com/2013/11/there-is-no-thread.html

  • @achrefnabil2463
    @achrefnabil2463 Год назад

    Thanks dude you give everything you got to help us keep it up ❤❤

  • @NitinMandale-sm6th
    @NitinMandale-sm6th Год назад

    great level of info buddy... exactly the one I was looking for

  • @sujithsundarbe4190
    @sujithsundarbe4190 Год назад

    yohh!!!! wow quite amazing .. i like the way u explained with the diagrams cool hatsoff dude..!!!
    i learned a lot of content from this

  • @dmov123
    @dmov123 2 года назад +1

    Amazing work! Congratulations and thanks you for share this content

  • @egbertodeoliveira7524
    @egbertodeoliveira7524 Год назад

    Nice man, great jog. From Brazil!!!

  • @harunabello503
    @harunabello503 Год назад

    Thanks for this well illustrated video and easy to understand examples

  • @sundaramkumarjha4687
    @sundaramkumarjha4687 Год назад

    Thanks for this content, really appreciate your hard work

  • @webDevInfo
    @webDevInfo Год назад

    That was amazing, extraordinary explaination 🔥

  • @ericsiddiq7634
    @ericsiddiq7634 Год назад

    Outstanding explanation ❤

  • @ganiyusodiqolalekan5223
    @ganiyusodiqolalekan5223 Год назад

    Thank you so much. May God increase you in knowlegde.

  • @СергійЗимовець
    @СергійЗимовець Год назад

    just brilliant, please continue

  • @umidsharipov742
    @umidsharipov742 Год назад

    Great content with high quality!!!

  • @tanercoder1915
    @tanercoder1915 Год назад

    great explanation of Event Loop

  • @sankethsura9033
    @sankethsura9033 6 месяцев назад

    very informative, liked the way you explained everything

  • @codeFitAdventurer
    @codeFitAdventurer Год назад

    I have learned so many things. Thank you so much.

  • @hamidhamri5384
    @hamidhamri5384 Год назад +2

    priceless content

  • @mohamedmirghani1747
    @mohamedmirghani1747 Год назад

    Amazing content, many thanks.
    Hope you are planning to continue making advanced videos

  • @leojohn6702
    @leojohn6702 Год назад

    Really nice. Perfect done. Do you plan to release more? If yes, waht are you planning to release?

  • @GilPorsansky
    @GilPorsansky 2 года назад

    Great video

  • @luciferg3587
    @luciferg3587 Год назад

    I really wish that you'd teach a degree or something cause this is literally amazing work.

  • @MrSurfinblood
    @MrSurfinblood Год назад

    Really good man! Thank you!

  • @vishalbhalothia
    @vishalbhalothia 2 года назад

    Need more videos... great work 👍👍

  • @KrishnaDasPC
    @KrishnaDasPC Год назад

    This is worth more than 1000 tutorials.

  • @akobiregamberdiyev9816
    @akobiregamberdiyev9816 Год назад +1

    Thank you for amazing video!!

  • @YoannBuzenet
    @YoannBuzenet 2 года назад

    This video was really great and helpful. Thank you.

  • @techzoneplus
    @techzoneplus 2 года назад

    Excellent Stuff keep up the good work

  • @chinmoykr
    @chinmoykr 10 месяцев назад +2

    Shut up and take my money. I do not care how costly your course is I AM GOING TO BUY IT

  • @channelnoraa
    @channelnoraa 2 года назад

    Subscribed!!!!! Great work Bro!

  • @yahyanoor3438
    @yahyanoor3438 2 года назад

    I appreciate your effort and what will come next? I am looking for the content that you put on this channel next time.
    Thanks! Cododev :)

    • @Cododev
      @Cododev  2 года назад +1

      Thanks Yahya for your kind words!
      Next up we'll learn about these core concepts in node: EventEmitters, File System, Streams, Net, and HTTP. Once we learn about them, we will have enough knowledge to build some intricate projects, so the course is going to get project-based after that (we'll build a very complex application and learn about so many new things along the way).
      And of course, once we complete our application, we’re going to learn about deployment, scaling, monitoring, security and so much more!
      Thanks again for your interest in the channel Yahya!

    • @yahyanoor3438
      @yahyanoor3438 2 года назад

      Welcome @@Cododev.Thanks for replying!
      I am waiting and really excited about that path. ☺☺🤗

  • @tolgasel5723
    @tolgasel5723 Год назад

    Incredible good content! ❤❤❤

  • @mkrzyzowski
    @mkrzyzowski Год назад

    Event loop is a part of libuv, V8 use libuv's event loop, isn't it? Watching 1:30:00 I started to doubt that event loop is in V8, but is not.

  • @omidsoleimani3817
    @omidsoleimani3817 2 года назад

    Amazing work, Subscribed! 👍

  • @TechLead99
    @TechLead99 6 месяцев назад

    Excellent Video. Thanks for sharing

  • @memduhcevik
    @memduhcevik Год назад

    Great 🎉 Please keep on

  • @codemuzik
    @codemuzik Год назад

    Thank you, you level up me

  • @WideEid
    @WideEid Год назад

    Very underestimated channel.

  • @othmaneataallah6105
    @othmaneataallah6105 Год назад

    you're a legend

  • @abstractobject5337
    @abstractobject5337 2 года назад

    This is a great course!

  • @vahanpoghosyan1581
    @vahanpoghosyan1581 2 года назад

    Well done! Keep it up 👍 Subscribed!

    • @Cododev
      @Cododev  2 года назад

      Thanks Vahan! Appreciate it!

  • @harunabello503
    @harunabello503 Год назад

    Please can you recommend books on node and JavaScript language

  • @dinhphan1533
    @dinhphan1533 2 года назад

    Great video.Thank you so much!

  • @eliasvasques80
    @eliasvasques80 Год назад

    Honest question: I know the this channel has a playlist of several hours videos about nodejs. It is worth it ?

  • @saptathirtachoudhury4158
    @saptathirtachoudhury4158 5 месяцев назад

    That's called real engineering ❤

  • @themouldyorange2912
    @themouldyorange2912 Год назад

    great stuff - thanks

  • @rohanrokandlawar9311
    @rohanrokandlawar9311 Год назад

    I have a question, probably a dumb one? Why does an “executable file” created on one machine have to match the operating system and processor architecture if we want to run it on a different machine? From my understanding, the “executable file” is made up of 0’s and 1’s, and every computer can understand 0’s and 1’s. Shouldn’t “the executable file” be independent of the machine’s operating system and processor technology? (Forgive my English)

  • @CoderAxiy
    @CoderAxiy Год назад

    What is the background music?

  • @gabrielmachado5391
    @gabrielmachado5391 2 года назад +1

    Thank you!!

  • @xamidulloxudoyberdiyev
    @xamidulloxudoyberdiyev Год назад

    keep going!

  • @cybernovas1857
    @cybernovas1857 2 года назад

    You are King