Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattn/go-v8
Go binding for v8
https://github.com/mattn/go-v8
golang v8
Last synced: 3 days ago
JSON representation
Go binding for v8
- Host: GitHub
- URL: https://github.com/mattn/go-v8
- Owner: mattn
- Created: 2011-02-08T11:45:38.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2016-03-15T04:11:36.000Z (almost 9 years ago)
- Last Synced: 2024-12-09T21:36:43.058Z (12 days ago)
- Topics: golang, v8
- Language: Go
- Homepage: http://mattn.kaoriya.net/
- Size: 53.7 KB
- Stars: 264
- Watchers: 14
- Forks: 38
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
go-v8
=====WHATS:
------Go bindings for V8
UPDATE for V8 3.21
------------------Only got this going against v8 for OSX. Build V8 for OSX as described by https://code.google.com/p/v8/wiki/BuildingWithGYP
Copy $(V8SRCROOT)/include/ files to /usr/local/include
Copy $(V8SRCROOT)/native/out/libv8\* files to /usr/local/libIssues:
# go test
# testmain
github.com/mattn/go-v8(__DATA/__datacoal_nt): unexpected reloc for dynamic symbol _ZTVN10__cxxabiv117__class_type_infoE
github.com/mattn/go-v8(__DATA/__datacoal_nt): unhandled relocation for _ZTVN10__cxxabiv117__class_type_infoE (type 28 rtype 120)
FAIL github.com/mattn/go-v8 [build failed]INSTALL:
--------WIN32
# To Build v8 go package:
# make v8wrap.dll
# go install# To run go-v8 tests:
# go test# To run example go exec:
# cd example
# copy v8wrap.dll
# go build example.go
# ./exampleLINUX
# To Build v8 go package:
# make libv8wrap.so
# go install# To run go-v8 tests:
# LD_LIBRARY_PATH=. go test# To run example go exec:
# cd example
# go build example.go
# LD_LIBRARY_PATH=.. ./exampleMAC OS X
# To Build v8 go package:
# make libv8wrap.so
# go install# To run go-v8 tests:
# DYLD_LIBRARY_PATH=. go test# To run example go exec:
# cd example
# go build example.go
# DYLD_LIBRARY_PATH=.. ./exampleLICENSE:
--------under the MIT License: http://mattn.mit-license.org/2013
AUTHOR:
-------* Yasuhiro Matsumoto