Written Javascript code but got C performance???
Let try.
cmake
ninja
git
brew install cmake git ninja
mkdir test && cd test
git clone -b static_h git@github.com:facebook/hermes.git
npm run build-hermes
npm run build-ts
: You will got a compiled file in the output directoryoutput/helloTypeScript
npm run build-js
: You will got a compiled file in the output directoryoutput/helloJavascript
Run compiled files
./output/helloTypeScript
./output/helloJavascript