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 هو طبقة توافقية (interop) لـ Cgo ومكتبة من الروابط الأصلية التي تسمح لتطبيقات Go باستدعاء أطر عمل Apple وواجهات برمجة تطبيقات النظام. يعمل كجسر بين وقت تشغيل Go والرموز الأصلية المتوافقة مع C لتسهيل برمجة نظام macOS وتطوير التطبيقات الأصلية. يتضمن المشروع مولد روابط Objective-C يقوم بمسح قواعد بيانات رموز النظام لإنتاج كود مصدر Go وثوابت. تمكن هذه الأداة من فحص رموز إطار العمل وإدارة وحدات الربط للحفاظ على واجهات حالية مع أطر العمل الأصلية. توفر المكتبة نظام إدارة ذاكرة لتنسيق دورات حياة الكائنات الأصلية داخل Go. يغطي هذا استخدام عد المراجع، وإنشاء مجموعات التحرير التلقائي (autorelease pools) للتعامل مع الكائنات المؤجلة، وتطبيق المنتهيات (finalizers) لمنع تسرب الذاكرة. كما يدعم التفاعل المباشر مع نظام التشغيل من خلال استدعاءات النظام ذات الربط المباشر وطلبات معلومات النواة.
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.