Zane V8 (Z8) is a high-performance, lightweight JavaScript runtime built on top of Google's V8 engine. Written in pure C++ for maximum stability and performance on Windows.
- Pure C++17/20: Zero overhead, built with the latest MSVC toolchain.
- Monolithic Build: Easy to distribute, no complex DLL dependencies.
- Zane Context: Optimized default environment with essential APIs like
console.log. - Temporal Enabled: Ready for next-generation JavaScript date and time handling.
src/: Core C++ source code.include/: V8 and project headers.libs/: Pre-built V8 monolithic libraries.tools/: Utility scripts for build maintenance.
- Visual Studio 2022/2026 with "Desktop development with C++" workload.
- Python 3.x (for shim extraction).
- V8 Artifacts: Get them from v8-z8.
- Open Developer PowerShell for Visual Studio.
- Run the build script:
.\build.ps1
- The resulting
z8.exewill be created in the root directory.
Make sure icudtl.dat is in the same directory as z8.exe.
.\z8.exeZane V8 runs C++ wrapped JavaScript:
z8::Runtime rt;
rt.Run("console.log('Hello from Z8!');", "app.js");Z8: V8 - A Gift from God.