Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thlorenz/v8-sandbox
https://github.com/thlorenz/v8-sandbox
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thlorenz/v8-sandbox
- Owner: thlorenz
- Created: 2014-03-23T02:06:01.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-17T20:36:25.000Z (over 9 years ago)
- Last Synced: 2024-10-18T04:49:37.937Z (19 days ago)
- Language: C++
- Homepage: https://github.com/thlorenz/v8-sandbox
- Size: 1.99 MB
- Stars: 18
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# v8-sandbox
Trying to get a better understanding how to embed `v8` in another library by following along tutorials such as:
- [google developers embed guide](https://developers.google.com/v8/embed)
## Usage
After cloning the repo you should be able to try each example via a simple `make run`.
Example:
```
cd 001-getting-started && make run
```The very first time `v8` will get built. You can perform that step only by running `make` from any of the example
directories.**Note**:
- you should have `g++` (for older v8 versions), `clang++`, `svn` (for older v8 versions) and `git` installed on your system.
- newer versions require `ninja` (`brew install ninja`) to speed up the build## v8 versions
The examples and Makefile have been adapted to work with v8 versions (stored at different at the following
branches/tags):- [v8-3.14.5 used with node-0.10.26](https://github.com/thlorenz/v8-sandbox/tree/v8-3.14.5_node-0.10.26)
- [v8-3.21.17](https://github.com/thlorenz/v8-sandbox/tree/v8-3.21.17)
- [v8-3.24.22 used with node-0.11.12](https://github.com/thlorenz/v8-sandbox/tree/v8-3.24.22_node-0.11.12)
- [v8-3.25.30 used with node at commit c20b209dbb](https://github.com/thlorenz/v8-sandbox/tree/v8-3.25.30_node-c20b209dbb)