News for hackers. Stuff that matters.
Re:Show HN: Algorithm Cookbook in Rust by jeeyoungk on Monday June 19, 2017 @07:49PM (#14591251)
Rust is one of my favorite programming language, and yet I learned how much I missed java after learning Rust. The fact that everything is dynamically dispatched and non-primitives are referential type allows you to program things without thinking too much. Plus, JIT & Hotspot can optimize these away - perform stack allocations for local objects and short-circuit dynamic dispatch for nonvirtual functions.

That said, my biggest Rust-gripe has been writing recursive / self-referential data structures. Borrow system is just not very convenient for that and you end up restructing the code to be a bit more Rust-friendly.

There are no comments on this comment yet.