3 ms·
Agreed on your general points. When I'm writing in Rust I'm really thinking far less about memory than I would have thought. Ownership, yes. Way more than othe
by cmrdporcupine 3y ago
Agreed on your general points. When I'm writing in Rust I'm really thinking far less about memory than I would have thought.
Ownership, yes. Way more than other languages, obviously. And it can get very frustrating at time. But this also has payoffs for thinking about concurrency.
I do think that there are places where this overhead gets extremely taxing. And complicated nested trees of objects, iterating through them, etc. like you'd have in a compiler or query planner etc. is definitely one of those places. The ownership and type system constraints in Rust make its Iterator pattern actually quite obnoxious for these kinds of things.