Libdr in Rust
This project is an adventure in recreating the classic libft (the standard C library functions we build at the start of École 42) using Rust.
The goal is to rewrite memory manipulation functions, string processing, linked lists, and other fundamental C data structures, while leveraging the memory safety and modern concepts of the Rust ecosystem (such as Ownership, Borrowing, Traits, and Generics).
Key Learnings
- Mapping C memory management concepts to the Rust safety model.
- Implementing low-level algorithms without using the standard library (
no_std) where applicable. - Creating robust unit tests in Rust.
Code on GitHub
Hospedado por Verceldnetto.dev