1

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.

Optimus1
  • 444
  • 2
  • 13

1 Answers1

1

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.

jmrk
  • 34,271
  • 7
  • 59
  • 74
  • Thanks a lot for your answer! Let me ask you please, what if М8 saw the string XMLHttpRequest.open ? What would be the result? – Optimus1 Jan 24 '22 at 15:53
  • 3
    `ReferenceError: XMLHttpRequest is not defined`. In short, V8 knows these: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference but not these: https://developer.mozilla.org/en-US/docs/Web/API – jmrk Jan 24 '22 at 16:05