Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm neither an ML nor Rust expert, but wouldn't Rust trait objects (which are basically type erasure wrappers over traits) approximate abstract data types?


With the caveat that there can only be one instance of it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: