Comment Re:Fun (Score 1) 28
On the other hand, C does exactly what you tell it to do.
Not exactly. It does what the compiler, through blind, fast, accurate and utterly mechanically stupid application of the rules of the standard believes you have told it. The standard has scope to allow for demons to fly from your nose and the compiler will oblige you in that if you accidentally ask it to.
Rust always feels like a constant argument with the compiler (linter really?) where it keeps going 'I understand what you are trying to but am not going to do it'
Well not really because you're saying "I want you to do X and prove Y", but the compiler is telling you it cannot prove "Y" if you do "X". But you're asking it to prove Y. So it's doing exactly what you asked (trying to prove Y).
If you don't want it to prove Y than you can always just temporarily switch off the prover (i.e. borrow checker[*]) and fuck around with dereferencing raw pointers to your heart's content in an unsafe block.
[*]Hey rustaceans no one cares about your language specific terminological pedantry when discussing things which include, but are not limited to rust.