Hi there. It is my first participation in the forum. I'm starting with Rust, I still did not do anything beyond reading, watching videos and transcribing some examples.
Use FreeBSD and Linux, although I prefer FreeBSD. I noticed something that caught my attention is that the simple example of the book [1] compiled with cargo run --release
The binary in Linux has 3.3MB and the FreeBSD 0.45MB
I'm not sure about this - I know very little about FreeBSD - but Rust currently still includes debug symbols even in release mode, and that's typically a good chunk of binary size in my experience (on Linux, vs on Windows where they are stored in separate .pdb files - maybe there is something similar happening on FreeBSD?).