Do object-oriented languages need special hardware support?
Abstract: Previous studies have shown that object-oriented programs have different execution characteristics than procedural programs, and that special object-oriented hardware can improve performance. The results of these studies may no longer hold because compiler optimizations can remove a large fraction of the differences. Our measurements show that SELF programs are more similar to C programs than are C++ programs, even though SELF is much more radically object-oriented than C++ and thus should differ much more from C. Furthermore, the benefit of tagged arithmetic instructions in the SPARC architecture (originally motivated by Smalltalk and Lisp implementations) appears to be small. Also, special hardware could hardly reduce message dispatch overhead since dispatch sequences are already very short. Two generic hardware features, instruction cache size and data cache write policy, have a much greater impact on performance.
Related Questions
- I want to send some test hardware/software to Canada to support the development of a special tool. What needs to be done to keep in compliance with export laws?
- Do I need special software or hardware to teach or learn foreign languages online on italki?
- Do object-oriented languages need special hardware support?