Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

30 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Betterft πŸš€

What's Up?

Betterft is like the cool cousin of the C library "libft." We spiced things up a bit, but don't worry, it's still the same old library you know. The main twist? We swapped out malloc for the slick galloc function, and it all gets stored in a list we call the Garbage Collector. πŸ—‘οΈ

Garbage Collector, Keeping it Tidy πŸ’½

So, the Garbage Collector is like the guardian of our memory party. Need to clean up the whole place? Hit up cleargarbage. Want to be more selective? Use gfree to free a specific address and kick it off the list.

Mixing it Up 🀘

If you're doing memory business without betterft (no hard feelings, seriously), there's addgarbage to manually add stuff to the Garbage Collector's list. But honestly, all betterft allocations are already on the VIP list.

Warning! 🚨

Dive into the source file for the full lowdown on how to vibe with Betterft. And don't forget to enjoy the code! 😎✌️

Now go, code a better life with Betterft! πŸš€βœ¨

About

Betterft is a C library with garbage collector and based on libft that you can use inside 42 Core

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages