News for hackers. Stuff that matters.
Re:I stopped everything and started writing C again by phicoh on Wednesday March 12, 2025 @02:31PM (#43346272)
If you come from C to Rust to basically have to rewire your brain. There are some corner cases that are wrong in Rust, but mostly you have to get used to a completely new way of thinking about object lifetimes and references to objects.
Re:I stopped everything and started writing C again by baq on Wednesday March 12, 2025 @03:17PM (#43346709)
...and then you come back to your C code and think 'how could I not think of these things'.
Re:I stopped everything and started writing C again by phicoh on Wednesday March 12, 2025 @03:53PM (#43347012)
Though one thing that makes Rust quite different from C is move semantics.