V8

1 min read v8

Written in 2015. Tools, APIs and prices may have changed since.

Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/v8-playground.

Project to learn and experiment with the V8 javascript engine.

Building V8 with Xcode

  1. Install depot-tools. And add to PATH environment variable.
  2. Clone repo $ git clone https://chromium.googlesource.com/v8/v8.git
  3. Build $ cd v8 $ build/gyp_v8 -Dtarget_arch=x64

Background

This project was created with a new Application | Command Line Tool with the language set to C++ in Xcode.

The static libraries from the v8 build were copied in Image no longer available

The v8 include files were copied from v8/include to v8-includes

Resources

Keep learning

Get new guides and courses by email

An occasional email when I publish a new guide, course or post. No spam, and you can unsubscribe any time.

Sent with Buttondown. I never share your address. Prefer a feed? Use the RSS feed.