objectionary / ideas

Here we keep ideas for future research in EO programming language and Polystat static analyzer
https://www.eolang.org
7 stars 0 forks source link

study: how many OOP optimizations are implemented in modern compilers? #45

Closed yegor256 closed 4 months ago

yegor256 commented 9 months ago

During the course of the last few decades, many optimizations have been proposed for object-oriented programs, mostly focused on reducing the amount of memory allocations and dynamic dispatches, such as object, message and method inlining. However, it seems that modern compilers, such as javac for Java and Clang for C++, don't implement such optimisations. We want to verify this intuition and run a number of experiments, checking whether known optimizations are present in most popular compilers or not.