Coder Social home page Coder Social logo

ezhangle / hermes-windows Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/hermes-windows

0.0 1.0 0.0 11.06 MB

Hermes is a small and lightweight JavaScript engine optimized for running React Native apps..

Home Page: https://hermesengine.dev

License: MIT License

CMake 0.79% C++ 74.40% JavaScript 21.27% Python 2.12% C 0.08% PHP 0.22% Shell 0.25% D 0.01% Java 0.79% CSS 0.03% NASL 0.05% PowerShell 0.01%

hermes-windows's Introduction

Hermes JS Engine for React Native Windows

MIT license PRs Welcome Hermes logo - large H with wings

Hermes is a JavaScript engine optimized for fast start up of React Native apps. It features ahead-of-time static optimization and compact bytecode. This repo is Microsoft’s fork of facebook/hermes and brings Hermes support to React Native Windows.

The following commands should get you going in a Windows Command Prompt:

mkdir hermes-windows-workingdir
cd hermes-windows-workingdir
git -c core.autocrlf=false clone https://github.com/microsoft/hermes-windows.git
python hermes-windows/utils/build/configure.py --build-system="Visual Studio 16 2019" --cmake-flags="-A x64" --distribute
cd build_release
MSBuild.exe ALL_BUILD.vcxproj /p:Configuration=Release

You will now be in a directory with the output of building Hermes into CLI tools. From here you can run a piece of JavaScript as follows:

echo 'use strict'; function hello() { print('Hello World'); } hello(); | .\bin\Release\hermes.exe

For more details on Hermes for Android, see here.

Contributing

The main purpose of this repository is to brings Hermes support to React Native Windows. We are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can participate.

Code of Conduct

Both Microsoft and Facebook have adopted Codes of Conduct that we expect project participants to adhere to. Microsoft's Code of Conduct can be found here and Facebook's here. Please read through them so that you can understand what actions will and will not be tolerated.

Contributing Guide

Read our contributing guide to learn about our development process as well as how to propose bugfixes and improvements.

License

Hermes is MIT licensed.

hermes-windows's People

Contributors

avp avatar dreiss avatar dulinriley avatar essamemad avatar gengjiawen avatar geof90 avatar hansenyy avatar haozhun avatar jacksongl avatar jbower-fb avatar jeffreytan81 avatar khalef1 avatar kiwi137 avatar kodafb avatar kronopath avatar lun-liu avatar lxfind avatar martinsherburn avatar mhorowitz avatar microsoftopensource avatar motiz88 avatar neildhar avatar passy avatar poteto avatar renatoalencar avatar rickhanlonii avatar swolchok avatar tmikov avatar willholen avatar zertosh avatar

Watchers

 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.