Implements high-quality, modern, and type-safe C++ code for V8 FFI wrappers and native engine integrations.
This skill provides specialized guidance for writing idiomatic C++ (C++17/20) optimized for V8 engine environments and Foreign Function Interface (FFI) boundaries. It enforces rigorous best practices such as RAII for resource management, strict const-correctness, and explicit ownership via smart pointers. By focusing on the specific nuances of V8 handles, scopes, and memory management, it ensures that native integrations—particularly those interfacing with Zig or Node.js—are robust, performant, and free of memory leaks.
主な機能
01Safe FFI boundary implementation patterns
02Smart pointer and explicit ownership logic
03Modern C++ (C++17/20) standard enforcement
049 GitHub stars
05V8-specific error handling with Maybe and MaybeLocal
06V8 Handle and Scope management using RAII
ユースケース
01Developing native Node.js C++ addons
02Interfacing C++ logic with Zig-based applications