7 ms·
You mean... using a vtable? Are you claiming to have invented the concept of vtables?
by throwlifeaway 1mo ago
You mean... using a vtable? Are you claiming to have invented the concept of vtables?
- p_l 1mo agoMore like the specific design of a vtable
- WalterBright 1mo agoYes, the vtable. Microsoft at the time equipped their COM team with Zortech C++ and so they used the Zortech vtable. No, I did not invent the concept of vtables.
- rramadass 1mo agoAFAIK, the first design for implementation of vtables was by Bjarne Stroustrup in his paper Multiple Inheritance for C++ in 1986/1987. Pdf at https://www.google.com/goto?url=CAESawHuR6pN4SDa5tLkqrSuoaotMopYVPZEG3pYF5D68utkJPw-THAe2wj4hWV0R05ljH0BNxsE7SdPMdu4rtdeK9wUpp28uiK7xurAm5Bak0ljQeGCM42wbmbl_Vxzkx0vOwvH4Acmt6szcP38 https://www.google.com/goto?url=CAESawHuR6pN4SDa5tLkqrSuoaot... and reissue at https://www.researchgate.net/publication/2396782_Multiple_Inheritance_for_C https://www.researchgate.net/publication/2396782_Multiple_In... I read this in one of the documentation books (still have it somewhere) which came with SCO Unix (don't recall the date). This book contained articles on C++ only and was an introduction to the language and compiler (since the language was very new). I also remember that it had an article on Template mechanism. Next was Jan Gray from Microsoft's excellent 1994 article in MSDN titled C++: Under the Hood which explained class layouts/vtables/etc. It is still a excellent read today. Pdf at https://www.google.com/goto?url=CAESewHuR6pNy2XLp9fzgwckhWpgEhmu2Pq4tHNfAtOsi0s2DQvpgj-jfq-ZZRAliR8CONvoFJ385Kx_GsSDmhu1yaAd9yhEQdFXChmGvH4MvNwvnitrbjG55Xa_Ay-miXrigsz-0KwgtBqdYPVTQZGZmEzQhrya-rD8z8Md1w== https://www.google.com/goto?url=CAESewHuR6pNy2XLp9fzgwckhWpg... Finally of course you have Inside the C++ Object Model by Stanley Lippman explaining everything in detail.