V8 is Google's open source JavaScript engine.
About V8
V8 is Google's Javascript engine that is used in Google Chrome (chrome). It is written in C++ (c++), and is open source, which can be checked out by following the instructions on the v8 wiki.
V8 can run standalone, or can be embedded into C++ applications.
Documentation on V8 can be found on its wiki pages.
There are a number of flags that can be passed to V8 to expose its internals. For instance, --trace-deopt
gets V8 to log code deoptimizations, and --expose-gc
allows scripts to manually invoke a garbage collection. The full list of flags can be found by reading the source.
Links:
Tag Usage
Use this tag to ask questions about:
- Usage of the V8 API
- Performance and profiling with V8
- How V8 works