WebGL. • Complete support for Node.js APIs and third party modules (npm). • Good performance: Node and WebKit run in the same thread: Function calls are straight-forward; objects are in the same heap and can just reference each other. • Easy to package and distribute apps. • Available on Linux, Mac OS X and Windows.
based on libuv) • Webkit (event-driven MessagePump of Chrome) • Result: Single message loop. Custom MessagePump built on top of libuv Mixed context access of each other • During initialization, node-webkit injects the Node context inside of Webkit context. • Result: Contexts together Security Model Changes / Frames • Two kinds of frames (Node frames and Web frames) • Web frames: Cross-domain AJAX problems (same-origin policy) • Node frames: No restriction. Security token is shared on all Node frames. • Result: Cross-domain access is allowed and objects in the Node's context are accessible too