21. INTEGRATION-ORIENTED
• Rhino
- Interaction with Java (APIs and objects)
- Helma, Persevere, Narwhal, RingoJS, Sun Phobos...
• JScript .Net
- Interaction with MS .NET (APIs and objects)
- IronJS, Node.NET
22. COMMON JAVASCRIPT
• Ubiquity not only for ECMAScript
• Server missing APIs
• Web Applications 1.0
• Asynchronous & Synchronous
• Working Groups:
- CommonJS
- WHATWG
- W3C
- ECMA TC39
23. ASYNC. EVENT-BASED
• Browser Event-Loop on the Server
• An Event Loop in one single thread
• Cooperative («one at a time») with async. callbacks
• Node.js (V8), SpiderNode, RhiNodeII, Node.NET
25. SINGLE vs MULTI THREADING
One context per thread
SINGLE MULTI
• Low memory usage • Vertical scalability (multi-core)
• Potentially handle lot of requests • Thread-safety for concurrent access
• Cooperative • Preemptive: Parallel code execution
• Shared context • Allow Synchronous APIs
• Use mostly one core • Uses easily all available cores
32. STATE OF THE ART
SERVER-SIDE JAVASCRIPT
The End
See us at Wakanday aka
JS.everywhere(Boston, October, 15)
@amorgaut 4d.com
@thibarg Wakanda.org
@wakanday Wakanday.org