I’m still on the bus… so let me tell you about my biggest #rustlang failure starting out!!
When I first started I thought I had to approach Rust like C. Also, I didn’t know C, so that was dumb anyways. I thought in C you just mem copy a buffer into a structure. So I tried doing that with Rust. It worked kind of for this example, but quickly led to so many issues as my structures got slightly more complex… Needless to say, every tool has its function, but this was not the right tool for the job.
When I first started I thought I had to approach Rust like C. Also, I didn’t know C, so that was dumb anyways. I thought in C you just mem copy a buffer into a structure. So I tried doing that with Rust. It worked kind of for this example, but quickly led to so many issues as my structures got slightly more complex… Needless to say, every tool has its function, but this was not the right tool for the job.
