Question

Can v8 (Google's open source JavaScript engine) be used with C++11?

Was it helpful?

Solution

https://developers.google.com/v8/embed

The V8 API provides functions for compiling and executing scripts, accessing C++ methods and data structures, handling errors, and enabling security checks. Your application can use V8 just like any other C++ library. Your C++ code accesses V8 through the V8 API by including the header include/v8.h.

It´s a sublink of the one you commented, i hope it helps.

OTHER TIPS

Yes, as of today it can be used effectively with C++11, and even C++14 semantics. I had this same question while writing a v8 project, which uses a multitude of C++11 (and later) threading features.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top