|
|
|
|
|
by tacitcoder
761 days ago
|
|
You can take a look at this discussion[0] where Casey Muratori designed something like that where communication is done by opcodes, and packets instead of vtables.
Note: search for "raw_device_operation" if you want to get to the code, but reading the whole thing is very worth it.
[0] https://github.com/cmuratori/misc/blob/main/cleancodeqa-2.md |
|
I made up the term 'object-oriented', and I can tell you I didn't have C++ in mind
-- Alan Kay, OOPSLA '97
https://www.youtube.com/watch?v=oKg1hTOQXoY&t=634s
While I also don't know what this "packets and opcodes" thing is, it certainly sounds a lot like, for example, Smalltalk-72. And vtables are certainly not a requirement, more of an anti-pattern for object-orientedness.