Alan Kay’s #paper on the Early #History of #Smalltalk and #OO
on 02024-09-02talks about encoding an object as a function that pattern-matches on tagged variants that are field (or method!) selectors. #programming #language #oo
on 02015-11-16difficulties with #OO in e.g. #C++ when programming #video-games for the #PlayStation 3 in 2009. Unfortunately these are slides. Basically the author’s claim is that C++ encourages memory layouts that have terrible #performance on modern hardware. Very concrete, with lots of C++ #examples and PowerPC #asm disassembled from them of 3-D programming and diagrams of #cache line evictions and whatnot. Basically his recommended cure is to use #parallel-arrays for most things and “flat” contiguous level-order tree linearizations for tree data.
on 02015-08-13Luca Cardelli, who probably knows more about #OO than anybody else, explains what the problems were with it in this #paper from around 1997.
on 02015-08-13