Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Fault-safe code motion for type-safe languages
Murphy B., Menon V., Schneider F., Shpeisman T., Adl-Tabatabai A.  Code generation and optimization (Proceedings of the Sixth Annual IEEE/ACM International Symposium on Code Generation and Optimization, Boston, MA, Apr 5-9, 2008)144-154.2008.Type:Proceedings
Date Reviewed: Mar 6 2009

The compiler writer’s job is becoming more and more complicated. Some of the most widely used languages do not provide compiler writers with elementary tools for ensuring type safety, especially with regard to pointers and arrays. On the other hand, in their search for ever-improving performance, hardware designers ignore the problems they place on the writers’ shoulders when they tend toward the theoretical peak performance of the new architectures.

When a language such as Java is designed to guarantee type safety, it does so in a way that does not make the compiler writer’s job easier, because of the necessary use of bytecode and the complicated rules for handling exceptions.

This paper addresses this dilemma by describing techniques for enhancing common optimizations in the case of a type-safe language. It introduces the clever idea of fault safety that guarantees that a dangerous operation will not fault at a given program point. This makes it possible to eliminate more checks and to use more speculative code motion. Murphy et al. develop the method, using an intermediate language of a lower level than bytecode.

The experimental results presented for four-bar diagrams seem very encouraging--until one notices that the bars are incomplete! They describe normalized instruction time, with 1.00 being the value before optimization, and the diagrams show only the top of the bars, between 0.80 and 1.00 in the best case. Thus, the improvements are only a maximum of ten percent; this is really disappointing after so much work.

The paper is written in a somewhat heavy style, with typographical errors, but it is still worth reading.

Reviewer:  O. Lecarme Review #: CR136565 (1007-0709)
Bookmark and Share
  Featured Reviewer  
 
Compilers (D.3.4 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Compilers": Date
An architecture for combinator graph reduction
Philip John J., Academic Press Prof., Inc., San Diego, CA, 1990. Type: Book (9780124192409)
Feb 1 1992
Crafting a compiler with C
Fischer C., Richard J. J., Benjamin-Cummings Publ. Co., Inc., Redwood City, CA, 1991. Type: Book (9780805321661)
Feb 1 1992
A methodology and notation for compiler front end design
Brown C., Paul W. J. Software--Practice & Experience 14(4): 335-346, 1984. Type: Article
Jun 1 1985
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy