Comment on Advent of code starts in less than 12 hours!

<- View Parent
flubba86@lemmy.world ⁨11⁩ ⁨months⁩ ago

Lol, that reminds me of when I was in Uni, I had a systems development class, they taught in C, all the lectures, tutorials and assessments were done in C. Our final assignment was handed out the week the first Rust v1.0.0 build dropped in 2015. I had been following the hype around the development of Mozilla’s new language, and I was so keen, I asked my professor if I could complete my final assignment using Rust. He said it’s a great idea. Then cut to me furiously trying to learn Rust in just two weeks, so I could even start the assignment, including C interop, implementing functions with c-style interfaces for callbacks, and lots of unsafe blocks for memory manipulation and pointer manipulation. In the end I was just forcing Rust to be C.

I did get an A though, mostly because the professor couldn’t understand any of the Rust code.

source
Sort:hotnewtop