Download presentation
Presentation is loading. Please wait.
2
What’s New in ChakraCore
P4103 What’s New in ChakraCore Brian Terlson @bterlson github.com/bterlson
3
Open Source JavaScript Engine
4
Open Source & Cross Platform JavaScript Engine
5
Open Source & Cross Platform & Standards Compliant JavaScript Engine
6
Open Source & Cross Platform & Standards Compliant & High Performance JavaScript Engine
7
Open Source & Cross Platform & Standards Compliant & High Performance & Embeddable JavaScript Engine
8
Github.com/Microsoft/ChakraCore
Keep on top of updates Download releases File bugs Send Pull Requests (“my-first-pr” label)
9
JS Next: Full ES2016 & ES2017 Support
Object.values & Object.entries Array.prototype.includes [NaN].indexOf(NaN); // => -1 Object.values({x: 1, y: 2}); [NaN].includes(NaN); // => true // => [1, 2] Object.entries({x: 1, y: 2}); Exponentiation Operator // => [ [‘x’, 1], [‘y’, 2] ] let y = x ** * x + 5; String Padding Async Functions “$2.00”.padStart(8); // => “ $2.00” async function add (p1, p2) { … & more! return await p1 + await p2 }
10
Performance Wins Function Body Re-deferral
Shared Array Buffers & Atomics WebAssembly
11
Performance Wins Function Body Re-deferral
Shared Array Buffers & Atomics WebAssembly
12
Performance Wins Function Body Re-deferral
Shared Array Buffers & Atomics WebAssembly
13
WebAssembly (WASM) Demo
14
Node-ChakraCore & N-API
N-API: a stable API for native module developers Collaboration among Node, IBM, NodeSource, NearForm, Intel, and others. Upgrade Node without recompiling modules Swap Node for Node-ChakraCore without recompiling
15
Time Travel Debugging
16
JavaScript Runtime APIs (JSRT)
Enable JavaScript scriptability in any application Simple C APIs – Easy to Start Resource Throttling – Manage Resources Script Serialization – Faster Startup & Throughput Rental Threading – Manage Resources & Performance
17
Thanks for watching! ChakraCore: Node-ChakraCore: JSRT Overview & Documentation: WebAssembly (WASM) Demo: Brian Terlson @bterlson github.com/bterlson
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.