Microsoft releases preview of ChakraCore with N-API support
Microsoft has announced the release of a new ChakraCore preview with N-API support on Windows, macOS, and Linux.
ChakraCore, which is based on Node.js 8, was developed by Microsoft to extend Node.js to Windows 10 IoT Core. The project grew in scope as the developers realised the need to address problems with the Node.js ecosystem across platforms.
At NodeSummit 2016, Microsoft unveiled support for the Node-ChakraCore interpreter and runtime on Linux and macOS. Since its announcement, Microsoft added support for full JIT compilation and concurrent and partial GC on x64 to both macOS and Ubuntu Linux 14.04 and higher to reach feature parity across platforms.
Now the company is adding to ChakraCore’s feature set with support for N-API (Node.js API) which Microsoft’s development team helped to design and develop as part of a community effort.
“N-API is a stable Node API layer for native modules, which provides ABI compatibility guarantees across different Node versions & flavors,” wrote Arunesh Chandra, Chakra Senior Program Manager at Microsoft, in a blog post. “This allows N-API-enabled native modules to just work across different versions and flavors of Node.js, without recompilations.”
Each time a new Node.js version is released, 30 percent of the module ecosystem gets impacted, according to some estimates. This is due to a lack of ABI (Application Binary Interface) stability. N-API aims to eliminate this issue.
Are you glad N-API is now supported in ChakraCore? Share your thoughts in the comments.
- » Microsoft begins charming developers into supporting its dual-screen vision
- » Starbucks’ API key found in public GitHub repository – reports
- » Huawei sets out its post-Google plans with release of HMS Core 4.0
- » Android 11 will add a new App Compatibility feature to ease testing