Giter VIP home page Giter VIP logo

v8-builder's Introduction

V8 Builder

An automatic V8 engine builder via Github Actions

Get latest V8 stable version Build V8

Why an automatic builder?

Despite extensive research on the web, I have not found anyone who provides the V8 binaries already compiled for the various platforms (at least not recent versions).

Moreover, despite the documentation provided by the developers, compiling V8 is complicated and heavy. V8 repository is huge and the time required for downloading and compiling is quite a lot. This repository leverages Github Actions to obtain the library binaries for the various platforms in humanly acceptable time.

The main purposes are:

  • Ability to compile for all platforms supported by V8
  • Compilation in short times
  • Generation of V8 documentation
  • Ease to keep up to date with future versions of V8
  • Automatically rebuild when new versions are pushed to V8 official repo

Is this production ready?

Not yet.

Although the workflows structure is now almost correct and compilation takes place for all platforms, I have not yet checked that the generated binaries are all correct and fully functional.

So, use at your own risk.

Building info

V8 is compiled as is, without patches or changes of any kind. The version used to compile is the most recent stable shown at https://omahaproxy.appspot.com (as described here). Checking for updates is done every 12 hours.

V8 binaries are built for the following platforms:

  • Linux (x64)
  • Android (x86, x86-64, arm v7, arm v8)
  • macOS (x64)
  • Windows (x64)

Headers and documentation are included!

Releases

See release for available versions to download.

v8-builder's People

Contributors

tbossi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

v8-builder's Issues

d8 vs nodejs speed

Compilation parameters lead to inefficiency

var sum = 0;
var s = 1;
var iter = 100000000;

for (var i=0; i<iter; i++) {
    var e = 2*i+1;
    sum += s/e;
    s*=-1;
}

time ./d8 speed.js
real 0m6.682s
user 0m8.827s
sys 0m0.020s
time node speed.js
real 0m1.682s
user 0m0.827s
sys 0m0.020s

The gap is too big

Ubuntu 18.04: Android python build script throws invalid syntax

tried on different branches. If I understand it correctly it tries to tell me that it can't read a config file, but I can't figure out which one...

Traceback (most recent call last):
File "./tools/dev/v8gen.py", line 57, in
import mb
File "/home/v8/v8/v8/tools/mb/mb.py", line 565
(self.args.config_file, e)) from e
^
SyntaxError: invalid syntax

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.