Search code examples
v8libv8

V8 javascript for C++ - precompiled binaries


Can you please tell me if there are pre-compiled binaries of the v8 library somewhere?

Because building from source is just some kind of hell.


Solution

  • V8 developer here. We do not distribute any official binaries.

    Building from source should be quite straightforward using the instructions at https://v8.dev/docs/source-code and https://v8.dev/docs/build-gn.

    That said, guessing from your other question, you may want to look elsewhere right away, as V8 is not going to help you for that use case: it's a pure ECMAScript engine, so it doesn't know anything about the DOM or related browser functionality. For example, if it saw document.createElement(...), it'd say ReferenceError: document is not defined.