Execute JavaScript from Go. For scripts that are large or are repeatedly run in different contexts, it is beneficial to compile the script once and used the cached data from that compilation to avoid recompiling every time you want to run it. The v8go library would welcome contributions from anyone able to get an external windows build of the V8 library linking with v8go, using the version of V8 checked out in the deps/v8 git submodule, and documentation of the process involved. This process will likely involve passing a linker flag when building v8go (e.g. using the CGO_LDFLAGS environment variable. The API should match the original API as closely as possible, but with an API that Gophers (Go enthusiasts) expect. For example: using multiple return values to return both result and error from a function, rather than throwing an exception.

Features

  • One VM, many contexts
  • JavaScript function with Go callback
  • Update a JavaScript object from Go
  • Pre-compile context-independent scripts to speed-up execution times
  • Terminate long running scripts
  • CPU Profiler

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

BSD License

Follow Execute JavaScript from Go

Execute JavaScript from Go Web Site

Other Useful Business Software
Rev Your Digital Product Delivery Engine Icon
Rev Your Digital Product Delivery Engine

Enterprise-grade platform designed to connect strategy, planning, and execution across digital product development and software delivery

Planview links your technology vision directly to teams' daily work, providing complete visibility and control over your digital product delivery ecosystem.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Execute JavaScript from Go!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Frameworks

Registered

2023-01-20