Sather Language Design and Performance Evaluation
暂无分享,去创建一个
Sather is an object-oriented language recently designed and implemented at the International Computer Science Institute in Berkeley. It compiles into C and is intended to allow development of object-oriented, reusable software while retaining C's eeciency and portability. We investigate to what extent these goals were met through a comparative performance study and analysis of Sather and C programs on a RISC machine. Several language design decisions in Sather are motivated by the goal of eecient compilation to standard architectures. We evaluate the reasoning behind these decisions, using instruction set usage statistics, cache simulations, and other data collected by instrumented Sather-generated code. We conclude that while Sather users still pay a moderate overhead for programming convenience (in both run time and memory usage) the overall CPU and memory usage prooles of Sather programs are virtually identical to those of comparable C programs. Our analysis also shows that each of the choices made in Sather design and implementation is well justiied by a distinctive performance advantage. It seems, then, that Sather proves the feasibility of its own design goal of making object-oriented programming eecient on standard architectures using a combination of judicious language design and eecient implementation.
[1] David A. Patterson,et al. Computer Architecture: A Quantitative Approach , 1969 .
[2] Bjarne Stroustrup,et al. C++ Programming Language , 1986, IEEE Softw..
[3] Ifor Williams,et al. The design and evaluation of a high-performance smalltalk system , 1988 .
[4] 簡聰富,et al. 物件導向軟體之架構(Object-Oriented Software Construction)探討 , 1989 .