-
Notifications
You must be signed in to change notification settings - Fork 1
/
Node-with-ChakraCore.txt
65 lines (62 loc) · 1.98 KB
/
Node-with-ChakraCore.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
NodeSummit, San Francisco, CA, Wed 27 Jul 2016
The Story of Node.js with ChakraCore
Arunesh Chandra
Senior Program Manager ChakraCore, Microsoft
@AruneshC
Node with ChakraCore.
Born out of necessity a year ago.
Help grow Node ecosystem.
Be completely open and contribute.
Chakrashim.
Submit a PR to Node mainline.
Maintained against current.
VM neutrality.
Node core as agnostic to JavaScript engine.
Build Node core on VM neutral APIs.
Today, very deeply tied to V8 engine.
Ripple effect through entire ecosystem.
VM neutrality will help grow the ecosystem.
Will keep ecosystem happier.
Less breakage if APIs in place.
VM summit held earlier this month.
Broad agreement about VM neutrality, good for Node.
IBM and Microsoft working on advancement of VM neutrality APIs.
Node modules node-gyp dependent (native) 10%, versus pure JavaScript 90%.
Look for popular native modules.
Abstract shim based on that.
Tedious and painful.
Performance is another area of focus for ChakraCore.
ChakraCore outperforms Chrome, Firefox.
Make debugging awesome.
JSRT debugging capabilities in ChakraCore.
Debug surface.
Shaping to match V8 not sufficient.
No standard way for debuggers to work.
Investigating that as well.
Figure out how to make more standard.
More formal contract.
With room for innovation.
Time travel debugger (TTD).
TDD uses circular buffer, configurable.
Demo -- TTD with ChakraCore on VS Code.
- Web app fails.
- Run app using trace.
- Replay steps at breakpoint.
- Entire context available.
- 'Step back' button.
Currently available in VS Code.
Available as preview, soon on main.
Open sourced ChakraCore.
Announcing today, ChakraCore is available on Linux and OS X.
Early step, only tested on latest Ubuntu LTS.
Should support other Linux distros.
Demo -- VS Code debugging Node ChakraCore on Linux.
Node ChakraCore helping ecosystem.
Bringing fresh ideas.
Cross-platform support.
Roadmap:
- Enable JIT compiler.
- High performance GC.
- Chrome debugging protocol.
- TTD support.
- VM neutral APIs.