Who am I?

  • Johannes Boyne
  • Working @zweitag
  • Technologies:
    • Go
    • Node.js
    • RoR
    • C / Java / PHP / etc. etc.
    • <3 UNIX
    • + NoSQL
  • Ex.CTO ARCHKOMM GmbH
  • Wrote on some books etc.
  • More @about.me/johannesboyne

Node.js

  • Developed by Ryan Dahl - 2009
  • Now sponsored by Joyent

Node.js

  • JavaScript on your Server
  • Event Driven
    • Nginx (C)
    • Netty (Java)
    • EventMachine (Ruby)
    • Twisted (Pyhton)
  • Runs on the V8 by Google

V8

V8 compiles and executes JavaScript source code, handles memory allocation for objects, and garbage collects objects it no longer needs.

 

function Point(x, y) {
    this.x = x
    this.y = y
}
var point = new Point(0,0)

point.x
# ebx = the point object
cmp [ebx,<hidden class offset>],<cached hidden class>
jne <inline cache miss>
mov eax,[ebx, <cached x offset>]

The Node.js Part:

DEMO
TIME
IT IS!

Node Package Manager

  • npm - developed by Isaac Schlueter
  • 103,796 Packages
  • 574,596,327 Downloads (this month)
    • 3,899,752,751 Downloads since 2009 gems

DEMO
TIME
IT IS!

Node.js Intro

By johannesboyne

Node.js Intro

  • 799
Loading comments...

More from johannesboyne