← All projects

NezukoCS

by @alexrcore

10

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

About this project

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

From the project README on GitHub

Stars
10
Forks
0
Last push
24 Mar 2024

Add this badge to your README

Show that your project is listed on Made in Algeria.

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

Related projects