2 مستودعات
Specialized techniques for managing raw memory, C buffers, and ownership of noncopyable values within Swift.
Distinguishing note: Shortlist candidates are too focused on package management or assets rather than memory internals.
Explore 2 awesome GitHub repositories matching operating systems & systems programming · Low-Level Swift Memory Management. Refine with filters or upvote what's useful.
توفر هذه المكتبة مجموعة من هياكل البيانات المتخصصة للغة Swift التي توسع المكتبة القياسية بأنواع حاويات متقدمة. تتضمن تطبيقات لطوابير مزدوجة النهاية باستخدام المخازن المؤقتة الدائرية، وطوابير الأولوية القائمة على أكوام الحد الأدنى والأقصى، وتخزين بت-مجموعة وبت-مصفوفة فعال في الذاكرة للقيم المنطقية. يتميز المشروع بمجموعات مرتبة تحافظ على العناصر في ترتيب مرتب عبر تطبيقات B-tree، بالإضافة إلى مجموعات وقواميس مستمرة تستخدم أشجار البادئة المضغوطة لمشاركة البيانات بين النسخ المحورة. كما يوفر حاويات متخصصة تحافظ على ترتيب الإدراج. تغطي المكتبة مجموعة من القدرات بما في ذلك إدارة الذاكرة منخفضة المستوى لمخازن C المؤقتة والقيم غير القابلة للنسخ، والتخزين ذو السعة الثابتة، واستخدام تجزئة robin hood لتحسين استخدام الذاكرة وسرعات البحث.
Handles C buffers and noncopyable values to safely manage heap allocation and system interoperability.
Swift Atomics is a library providing low-level primitives for thread-safe memory operations within the Swift programming language. It serves as a toolkit for concurrent programming, enabling the development of data structures that manage shared memory access across multiple execution contexts without relying on traditional software locks. The library distinguishes itself by providing type-safe wrappers that encapsulate raw memory storage, ensuring that shared data remains protected while preventing accidental non-atomic access. It utilizes hardware-mapped intrinsics and compiler-integrated me
Provides specialized techniques for managing raw memory and ownership of values within the language.