Show simple item record

dc.contributor.advisorStroustrup, Bjarne
dc.creatorPirkelbauer, Peter Mathias
dc.date.accessioned2011-02-22T22:24:40Z
dc.date.accessioned2011-02-22T23:50:05Z
dc.date.available2011-02-22T22:24:40Z
dc.date.available2011-02-22T23:50:05Z
dc.date.created2010-12
dc.date.issued2011-02-22
dc.date.submittedDecember 2010
dc.identifier.urihttps://hdl.handle.net/1969.1/ETD-TAMU-2010-12-8894
dc.description.abstractProgrammers rely on programming idioms, design patterns, and workaround techniques to express fundamental design not directly supported by the language. Evolving languages often address frequently encountered problems by adding language and library support to subsequent releases. By using new features, programmers can express their intent more directly. As new concerns, such as parallelism or security, arise, early idioms and language facilities can become serious liabilities. Modern code sometimes bene fits from optimization techniques not feasible for code that uses less expressive constructs. Manual source code migration is expensive, time-consuming, and prone to errors. This dissertation discusses the introduction of new language features and libraries, exemplifi ed by open-methods and a non-blocking growable array library. We describe the relationship of open-methods to various alternative implementation techniques. The benefi ts of open-methods materialize in simpler code, better performance, and similar memory footprint when compared to using alternative implementation techniques. Based on these findings, we develop the notion of source code rejuvenation, the automated migration of legacy code. Source code rejuvenation leverages enhanced program language and library facilities by finding and replacing coding patterns that can be expressed through higher-level software abstractions. Raising the level of abstraction improves code quality by lowering software entropy. In conjunction with extensions to programming languages, source code rejuvenation o ers an evolutionary trajectory towards more reliable, more secure, and better performing code. We describe the tools that allow us efficient implementations of code rejuvenations. The Pivot source-to-source translation infrastructure and its traversal mechanism forms the core of our machinery. In order to free programmers from representation details, we use a light-weight pattern matching generator that turns a C like input language into pattern matching code. The generated code integrates seamlessly with the rest of the analysis framework. We utilize the framework to build analysis systems that find common workaround techniques for designated language extensions of C 0x (e.g., initializer lists). Moreover, we describe a novel system (TACE | template analysis and concept extraction) for the analysis of uninstantiated template code. Our tool automatically extracts requirements from the body of template functions. TACE helps programmers understand the requirements that their code de facto imposes on arguments and compare those de facto requirements to formal and informal specifications.en
dc.format.mimetypeapplication/pdf
dc.language.isoen_US
dc.subjectprogramming language evolutionen
dc.subjectsource code rejuvenationen
dc.subjectstatic analysisen
dc.titleProgramming Language Evolution and Source Code Rejuvenationen
dc.typeBooken
dc.typeThesisen
thesis.degree.departmentComputer Science and Engineeringen
thesis.degree.disciplineComputer Scienceen
thesis.degree.grantorTexas A&M Universityen
thesis.degree.nameDoctor of Philosophyen
thesis.degree.levelDoctoralen
dc.contributor.committeeMemberDos Reis, Gabriel
dc.contributor.committeeMemberJärvi, Jaakko
dc.contributor.committeeMemberRauchwerger, Lawrence
dc.contributor.committeeMemberShi, Weiping
dc.type.genreElectronic Dissertationen
dc.type.materialtexten


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record