2 Repos
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 ist eine Cgo-Interop-Schicht und eine Bibliothek nativer Bindings, die es Go-Anwendungen ermöglicht, Apple-Frameworks und System-APIs aufzurufen. Es fungiert als Brücke zwischen der Go-Runtime und nativen C-kompatiblen Symbolen, um die macOS-Systemprogrammierung und die Entwicklung nativer Anwendungen zu erleichtern. Das Projekt enthält einen Objective-C-Binding-Generator, der System-Symbol-Datenbanken scannt, um Go-Quellcode und Konstanten zu erzeugen. Dieses Tool ermöglicht die Inspektion von Framework-Symbolen und die Verwaltung von Binding-Modulen, um aktuelle Schnittstellen zu nativen Frameworks zu pflegen. Die Bibliothek bietet ein Speicherverwaltungssystem zur Koordinierung nativer Objekt-Lebenszyklen innerhalb von Go. Dies umfasst die Verwendung von Referenzzählung, die Erstellung von Autorelease-Pools zur Handhabung verzögerter Objekte und die Anwendung von Finalizern, um Speicherlecks zu verhindern. Zudem unterstützt es die direkte Interaktion mit dem Betriebssystem durch Direct-Binding-Systemaufrufe und Anfragen für Kernel-Informationen.
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.