mmm yes daddy build your Literally One Hundred Fucking Dependencies slooooowly
hmmm. im thinkin 10-hours-in-the-future nat can finish this. goodnight Cohost dot org!
I got curious okay. don't look at me
the program in question actually has an older version implemented in C that, while janky, is still pretty much feature-concurrent with the new Rust version of it. I decided to see how long they both take to compile on my main machine while the pi cries/pisses/shits itself.
Time to compile Rust version: 40 seconds, running rustc on 12 threads
Time to compile C version: 0.3 seconds, running gcc on one thread
conclusion: lol
Both single-threaded (Pi v1 has One core at 700mhz. it was not happy about any of this)
Time to compile Rust version: 2 hours, 30 minutes, 53 seconds
Time to compile C version: eight seconds
conclusion: lmao
one one hand, this may be an unfair comparison seeing that the C version is just one source file that has no dependencies outside of the stdlib, but on the other hand I have literally never ever seen a nontrivial Rust program that had less than like 50 dependencies.
anyways I just wound up writing a shell script to do the thing I need the program to do lol
