|
|
Subscribe / Log in / New account

Go and Rust — objects without class

Go and Rust — objects without class

Posted May 23, 2013 2:25 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)
In reply to: Go and Rust — objects without class by neilbrown
Parent article: Go and Rust — objects without class

>The C++ way requires a single vtable. I don't know how multiple interfaces work with that.
Reserve the first slot in the vtable for interface lookup function, kinda like QueryInterface in COM.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds