Code Monkey home page Code Monkey logo

node-chakracore's Introduction

Node.js on ChakraCore

This project enables Node.js to optionally use the ChakraCore JavaScript engine. This project is still work in progress and not an officially supported Node.js branch. Please refer to the original PR.

How it works

To enable building and running Node.js with the ChakraCore JavaScript engine, a V8 API shim (ChakraShim) is created on top of the ChakraCore runtime hosting API ([JSRT] (https://msdn.microsoft.com/en-us/library/dn249673(v=vs.94).aspx)). ChakraShim implements the most essential V8 APIs so that the underlying JavaScript engine change is transparent to Node.js and other native addon modules written for V8.

A rebuild node.exe and native addon modules with ChakraCore is required for this to work.

Issues

Please report all issues related to Node-ChakraCore on this separate issue page.

Prebuilt Node binaries

You can download and install prebuilt Node-ChakraCore from here.

How to build

If you are looking to build this yourself. Here's what you will need.

Prerequisites:

Build Command:

vcbuild chakracore nosign [x86|x64|arm]

How to test

vcbuild chakracore nobuild test [x86|x64|arm]

To test if Node.js was built correctly with ChakraCore:

C:\>node -e "console.log('Hello from Node.js ' + process.jsEngine)"
Hello from Node.js chakracore

node-chakracore's People

Contributors

ry avatar bnoordhuis avatar isaacs avatar indutny avatar piscisaureus avatar trott avatar tjfontaine avatar trevnorris avatar rvagg avatar tootallnate avatar mscdex avatar jasnell avatar cjihrig avatar koichik avatar felixge avatar fishrock123 avatar evanlucas avatar thefourtheye avatar addaleax avatar orangemocha avatar ofrobots avatar andreasmadsen avatar targos avatar jbergstroem avatar kunalspathak avatar silverwind avatar santigimeno avatar mmalecki avatar sam-github avatar jacksontian avatar

Watchers

James Cloos avatar Ian Halliday avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.