Optimization of object-oriented programs using partial evaluation
dc.contributor.author | Zhang, Ray L. | en_US |
dc.date.accessioned | 2007-05-15T15:26:27Z | |
dc.date.available | 2007-05-15T15:26:27Z | |
dc.date.issued | 1997-05-01T00:00:00Z | en_US |
dc.degree.discipline | Computer Science | en_US |
dc.degree.level | Master of Science (M.Sc.) | en_US |
dc.description.abstract | Object-oriented programming languages foster the development of reusable, extensible class libraries and frameworks. However, heavy use of inheritance and dynamic typing can impose a significant performance overhead compared to the equivalent programs written in a non-object-oriented fashion. Several object-oriented programming languages have been designed and implemented, including C++, Eiffel and Smalltalk. In this thesis, the features of these languages will be examined and their implementations will be studied in detail. Various optimizing techniques have been proposed by several researchers; this thesis provides a detailed analysis of their approaches. This thesis discusses the design of an object-oriented programming language called $Safer\sb{-}C\ with\ Classes.$ We also present implementation techniques for a translator to produce efficient target code for programs written in a heavily-object-oriented style, and use these techniques in an actual translator for Safer$\sb{-}$C with Classes. The method consists principally of applying class hierarchy analysis and customization that exploit static information known at compile-time. Sometimes class analysis determines that the receiver of the method invocation can be an instan e of only one class, allowing the dynamically-dispatched method invocation to be replaced with a direct function call at compile-time and further optimized using inline expansion. | en_US |
dc.format.extent | 6565159 bytes | |
dc.format.extent | 184 bytes | |
dc.format.mimetype | application/pdf | |
dc.format.mimetype | text/plain | |
dc.identifier.uri | http://hdl.handle.net/1993/1024 | |
dc.language.iso | eng | en_US |
dc.rights | open access | en_US |
dc.title | Optimization of object-oriented programs using partial evaluation | en_US |
dc.type | master thesis | en_US |