Skip to content

A fast C-Donut implementation in Rust. Performant and efficient.

License

Notifications You must be signed in to change notification settings

skyline69/RustDonut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Donut 🍩

This is a Rust implementation of the famous C Donut. The code uses the Rayon library for parallel processing and is optimized for performance to make the donut rendering as fast as possible.

Demo

ezgif com-optimize(2)

Usage

To run the program do this:

grafik

Dependencies

License

This project is licensed under the MIT License.

Credits

The original C implementation of the Donut was created by Andy Sloane. This Rust implementation was created by skyline69.

Notes

This implementation includes a trait UncheckedIndexExt to make the code safer when accessing elements of a string slice by index. This trait is not necessary, but improves the performance of the code.

Btw: This project is NOT endorsed by the rust foundation 😉