← sources

Customization: Optimizing Compiler Technology for SELF, a Dynamically-Typed Object-Oriented Programming Language (1989)

source: lobsterspublished 2026-10-03 20:59ingested 2026-10-04 05:02

retained text

<blockquote>
<p>Dynamically-typed object-oriented languages please programmers, but their lack of static type information penalizes performance. Our new implementation techniques extract static type information from declaration-free programs. Our system compiles several copies of a given procedure, each customized for one receiver type, so that the type of the receiver is bound at compile time. The compiler predicts types that are statically unknown but likely, and inserts run-time type tests to verify its predictions. It splits calls, compiling a copy on each control path, optimized to the specific types on that path. Coupling these new techniques with compile-time message lookup, aggressive procedure inlining, and traditional optimizations has doubled the performance of dynamically-typed object-oriented languages.</p>
</blockquote>
<p><a href="https://dl.acm.org/doi/10.1145/74818.74831" rel="ugc">ACM</a></p>
<p><a href="https://lobste.rs/s/dqp0oc/customization_optimizing_compiler">Comments</a></p>
Tags: pdf, compilers, performance, plt

document fetched 2026-10-04 05:02