
My first C and raylib project
Coming from working in python and rust, this was filled with various emotions. Some good, some bad (build system).
I had made a rust TUI for my car diagnositcs. I've now replaced that with a GUI built with raylib and C.
The project itself is not too complex. I liked that I had a good enough idea about where my variables exist.
Other things I found interesting:
- manually lock and unlock mutexes rather than having them "wrapped" like rust. I believe there are ways to automate with attributes but I haven't learned that yet
- static vars because no OOP. particularly useful for storing animation state
- build system. I had a rough experience with cmake but got it to work. I want to build everything manually to learn how exactly its all being put together.
- side note: inspired confidence to dive into buildoot and optimize my pi image. Now boots 7s faster than my previous regular image process and manual flows.
Since I like driving manuals and learning about efficiency and whatnot, learning C was (still stressful) but rewarding. My previous project was a rust TUI, and now its "deoxidized" to this C project. Roller coaster ride.