Aug. 01. 2018
Node.js for beginners
Back to that crazy idea for a talk... given my experience at Nodevember the year before in 2017 I thought heck I'll submit a talk about Node.js for beginners. I couldn't have been the only one there who didn't totally understand what Node was and personally I think it's important to provide a well-rounded conference experience for all levels of developers. I guess the team at Nodevember agreed because they selected my talk proposal.
This lead to massive amounts of this.
Followed very quickly by this.
Because and I'm going to be honest here. I still didn't know what Node actually was. So what's a junior developer to do?
To the Google!
Fortunately, I had a couple of months to put together a presentation and learn Node.js so I got started. They didn't do recordings for conference talks and to be honest I was so nervous I forgot to record myself speaking, but I've compiled what I learned. Enough with the yakkings amiright? Let's learn the basics of Node.js!
The best way to get started learning Node.js is to look at how the website defines it.
If you read that and thought to yourself, what the actual heck, you are not alone. That was exactly my thought the first time I read it too. It's easiest to break this definition down and look at in chunks.
Let's start here.
The first step for me to look up what a runtime was. I don't have a computer science background so this concept wasn't familiar. Essentially a runtime is instructions that you did not implicitly write in order for your code to run. I think of this as the middleman that converts my code to binary for example and allows it to run. You can read more about them here.
If we were to look under the hood of this v8 engine and Node as well you would see that it is mostly written in C, a low-level language meaning it is pretty close to being completely computer speak and this is what allows it to be really fast!
One of the really cool things about Chrome's V8 engine is it is completely open-source. If you wanted to you could download it and use it to build the next big thing or even your own browser!
Check out Non Blocking vs. Blocking coming soon!