Learn and Understand

Trivikram Kamat

Twitter: @trivikram

Github: @trivikr

Ashish Kaila

Twitter: @ashishkaila

Github: @akaila

A standard on which JavaScript is based on

JavaScript Engine

Program which executes JavaScript code

JavaScript

Code

Machine

Code

Chrome's V8 engine

CPU and Machine Code

Instruction Sets

  • ARM

  • IA-32

  • MIPS

  • x64

JavaScript

Code

Machine

Code

Your C++ Program

JavaScript

Code

Machine

Code

Why are we excited about Node.js?

  • Extremely simple and minimal
  • Easy to discover and consume packages
  • Increase in developer productivity

Prerequisites

Install Node.js using nvm curl command

Your first Node.js server

const http = require("http");

http.createServer((req, res) => {

    res.end("Hello World!\n");

}).listen(3000);

Learn and Understand Node.js

By Trivikram Kamat

Learn and Understand Node.js

Learn and Understand Node.js

  • 764