News for hackers. Stuff that matters.
Re:OOP in C by zozbot234 on Sunday January 08, 2023 @08:33AM (#34298970)
AIUI you can implement inheritance as a pattern on top of existential types, using a self-recursive definition trick. Not sure if Rust has full existential types yet, but they're definitely a goal since they're needed e.g. for better async support.

There are no comments on this comment yet.