5 ms·
Ask HN: Looking for curated list of approaches to OO implimentation
So, ran across article [1] that mentions various ways OO language constructs implimented.
Is there a curated 'awesome approaches to implimenting OO constructs' site(s)?
This is not object oriented patterns collection, but metadata constructs used to provide the object oriented constructs in a language.
aka C++ vtable, lisp slots
[1] : https://blog.abdulrah33m.com/prototype-pollution-in-python/
- cpach 4y agoIf you don’t find one – maybe make one?
- sargstuff 4y agocorrecting CS off by one & adding copyright notice almost always guaranteed to work with appropriate permissions of course.
- cratermoon 4y agoYou could do worse than starting with Nygaard & Dahl's papers on the design of Simula 67, including Common Base Language: http://www.edelweb.fr/Simula/scb-1.pdf http://www.edelweb.fr/Simula/scb-1.pdf The Development of the SIMULA Languages: https://hannemyr.com/cache/knojd_acm78.pdf https://hannemyr.com/cache/knojd_acm78.pdf and at https://dl.acm.org/doi/10.1145/800025.1198392 https://dl.acm.org/doi/10.1145/800025.1198392 Some features of the SIMULA 67 language: https://dl.acm.org/doi/10.5555/800166.805258 https://dl.acm.org/doi/10.5555/800166.805258
- sargstuff 4y agoLooks like a niche topic(s) with information spread out amoung an ecclect set of documents: 'design and implimentation of <insert programming language>'; autonoma; compiler design/implimentation & tools.; and misc. non-programming language historical material (aka smalltalk OO concept; 2nd order logic; punch card automation; 1920/30's hypercard concept; computational linguistics, etc) Looks wouldn't be a duplicate 'awesome' site.
- lispm 4y agohttps://en.wikipedia.org/wiki/The_Art_of_the_Metaobject_Protocol https://en.wikipedia.org/wiki/The_Art_of_the_Metaobject_Prot...
- cpach 4y agoIt might be tricky to get hold of a print copy of this book, so FWIW: it’s also available on Libgen. Just sayin’ (:
- lispm 4y ago> It might be tricky to get hold of a print copy of this book, Amazon delivers it in a few days.
- cpach 4y agoOh. I should’ve checked but I was in a rush. For some reason I was under the impression that it was out of print.
- sargstuff 4y agoThanks. Thankfully, this is a title available via publishers as a 'print on demand'. Lisp based languages are kinda funny when looking at OO from a thunk / s-expression level perspective requiring no additional lexical support in language vs C/C++ activation record level requiring lexical support in langauge.
- rramadass 4y agoThe Kiczales book has already been mentioned. Two more: 1) A Theory of Objects by Abadi and Cardelli. 2) Putting Metaclasses to Work by Forman and Danforth (Guido Van Rossum recommends it on Amazon!).