3 ms·
Well, v8 is no longer the only alternative. Now there's Chakra as well. https://github.com/nodejs/node-chakracore https://github.com/nodejs/node-chakracore Ma
by partycoder 10y ago
Well, v8 is no longer the only alternative.
Now there's Chakra as well.
https://github.com/nodejs/node-chakracore https://github.com/nodejs/node-chakracore
Many native modules are however v8 modules, not sure how that may work.
- k__ 10y agoAre there any benefits at the moment? Like, use V8 if you need X, use Chakra if you need Y etc.
- sscotth 10y agoNot yet particularly, but the goal will only make Node better and less coupled to V8. With a runtime agnostic Node, different vms would certainly have differing esnext features but may also be optimized for specific platforms or use cases.
- partycoder 10y agoWell, at a high level, mostly performance optimizations. But in the future I would not be surprised if they try to support TypeScript natively. Now, I still don't trust Microsoft so I am not going to use it.
- mastax 10y agoChakra supports 'time travelling debugging with reverse continue': https://blogs.windows.com/msedgedev/2016/11/29/node-chakracore-vm-neutrality/#UOcG8uW9JDikObLg.97 https://blogs.windows.com/msedgedev/2016/11/29/node-chakraco...