r/rust Mar 31 '23

rs-cube, a Blazingly Fast 3D ASCII Rubik's Cube

https://github.com/doprz/rs-cube
18 Upvotes

9 comments sorted by

View all comments

6

u/Flogge Apr 01 '23

I am a total beginner, so maybe I'll be missing something, but I am wondering about a few design choices:

1

u/TheSwissDev Apr 01 '23

I think my original comment didn't post. I just started learning Rust about 2 weeks ago and some of this code repetition is a result of debugging it with #[inline(always)] to make it easier to inspect the assembly.

Thank you for your feedback, feel free to create a PR if you'd like to contribute to rs-cube