2 个仓库
Mechanisms for maintaining object references that survive the lifecycle of local handle scopes to prevent garbage collection.
Distinct from Reference Management: The candidates refer to version control, academic citations, or OS parameters; this is specifically about V8 heap object lifecycle management.
Explore 2 awesome GitHub repositories matching operating systems & systems programming · Persistent Object References. Refine with filters or upvote what's useful.
Darwinkit 是一个 Cgo 互操作层和原生绑定库,允许 Go 应用程序调用 Apple 框架和系统 API。它作为 Go 运行时与原生 C 兼容符号之间的桥梁,旨在促进 macOS 系统编程和原生应用程序开发。 该项目包含一个 Objective-C 绑定生成器,可扫描系统符号数据库以生成 Go 源代码和常量。该工具支持检查框架符号并管理绑定模块,以保持与原生框架的当前接口一致。 该库提供了一个内存管理系统,用于协调 Go 内部的原生对象生命周期。这涵盖了引用计数的使用、创建自动释放池以处理延迟对象,以及应用终结器以防止内存泄漏。 它还支持通过直接绑定系统调用和内核信息请求与操作系统进行直接交互。
Increments reference counts and attaches finalizers to ensure native objects persist during asynchronous execution.
This project is a compatibility layer and abstraction library for building native C++ addons for Node.js. It provides a consistent C++ API that allows a single codebase to compile against multiple versions of the V8 JavaScript engine by hiding version-specific differences behind macros and inline functions. The toolkit differentiates itself through specialized wrappers and managers, including a monadic wrapper for handles to avoid explicit null checks, a persistent reference manager for objects that must survive handle scope disposal, and a buffer abstraction API for version-compatible memory
Provides a persistent reference manager to ensure V8 objects survive handle scope disposal until explicitly freed.