"...development platform built on top of Google's V8 JavaScript virtual machine. The Node.js libraries are focused on building server-side applications in JavaScript."
v8
"...V8 is the JavaScript execution engine built for Google Chrome and open-sourced by Google in 2008. Written in C++, V8 compiles JavaScript source code to native machine code instead of interpreting it in real time"
the node.js system
confused ?
demonstration
hello world
what problem it solves ?
when use nodejs
Intensive I/O
Web Applications
Chat
Data Streaming
when not use nodejs
Parallel Applications
Heavy Server-side computation / processing
Intensive CPU operations
typescript
typescript
"TypeScript is a superset of JavaScript that compiles down into plain JavaScript (ES3+). The main goal of TypeScript is to enable developers to leverage excellent static typing capabilities."
typescript
Type annotations & type inference.
Generics.
Interfaces, enums, namespaces, modules and classes (the latter two available in ES6).