I saw someone on Reddit made a todo program with Rust that I thought was pretty neat https://github.com/sioodmy/todo
So I decided to try to rewrite it using C for fun https://git.robbyzambito.me/robby/todo.git/
I was trying to figure out why it seemed like the “list” command for the Rust version seemed to be running about 1000x faster than my C version. Turns out I didn’t notice that time was using microseconds for my version, and milliseconds for the Rust version. :blobcatgoogly: My C version is actually about 20% faster from my crude testing.
Also my the Rust production binary is about 400x larger than the C production binary but we wont talk about that :D