News for hackers. Stuff that matters.
Re:Memory Safe Languages in Android 13 by verdagon on Friday December 02, 2022 @01:45AM (#33827625)
How's Rust at doing OOP these days? (Assuming we're in a domain or situation where OOP is a good choice, of course.)

I would love to know about any projects that do OOP well in Rust.

Re:Memory Safe Languages in Android 13 by nicoburns on Friday December 02, 2022 @04:55AM (#33828644)
IMO Rust has most of the best bits of OOP (the ability to encapsulate functionality in an object with private fields and present a restricted public interface), without the bad bits (inheritance, and complex soups of objects all holding pointers to each other that make code flow hard to reason about)