→ كل المشاريع

NezukoCS

بواسطة @alexrcore

10

A lightweight Garbage Collector and a Memory Management System for C.

عن هذا المشروع

NezukoCS — A lightweight Garbage Collector for C Overview NezukoCS is a lightweight Garbage Collector designed for C programmers to simplify memory management. It provides a set of functions to allocate and deallocate memory efficiently and automatically, ensuring that memory is properly managed and helping you avoid any memory leaks. With Nezuko Cleaning Services in the house, you can focus on writing clean, reliable code without worrying about memory management complexities. Features Allocation and deallocation of memory. Cleaning up all allocated memory automatically. Usage NezukoCS provides three main functions for memory management: ### Allocate memory To allocate memory, use the allocate function.\ It takes an integer as a size for the memory to allocate and returns a pointer to the allocated memory. ### Deallocate memory To deallocate memory, use the deallocate function. It takes a pointer to the memory to deallocate. ### Clean the heap To clean up all allocated memory, just call nezuko and let her do the rest. Nezuko will later update you on the cleaning results at the end of the execution. Examples ### Example 1 Output ### Example 2 Output ### Example 3 Output

من ملف README الخاص بالمشروع على GitHub

النجوم
10
التفريعات
0
آخر تحديث
24/03/2024

أضف هذه الشارة إلى ملف README

أظهر أن مشروعك مُدرج على «صُنع في الجزائر».

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/nezukocs.svg)](https://www.madeinalgeria.dev/projects/nezukocs)

مشاريع ذات صلة