Tabular Code Generation: Write Once, Generate Many
نویسنده
چکیده
PressPot is a system that adds annotations to Java .class files. [3] These annotations are used by an “annotation-aware” Java Virtual Machine (JVM) which uses these annotations to generate high-quality machine code quickly. If these annotated .class files are sent to a normal JVM, they are ignored and the program runs normally. One of the annotations, used for assigning machine registers, is called the virtual register or VR annotation. In the PressPot system, there are two components, the annotator (the front-end) and the annotation-aware Java Virtual Machine (the back-end). The Press Pot back-end is based upon kaffe, an open-source JVM. [6] These two components both need information about the semantics of the Java bytecodes, as well as information about the associated VR annotation. Although the annotator (the front-end) and
منابع مشابه
The “Write Once, Deploy N” MDA Case Study Combining Performance Tuning with Vendor Independence
Optimizing the performance of distributed database applications is hard to combine with middleware vendor independence since cache, transaction and cluster configuration is database and application server specific. We propose to generate product specific optimized code from a vendor independent specification. In this paper, we illustrate this approach for a specific middleware performance patte...
متن کاملA Tabular Expression Toolbox for Matlab/Simulink
Tabular expressions have been successfully used in developing safety critical systems, however insufficient tool support has hampered their wider adoption. To address this shortfall we have developed the Tabular Expression Toolbox for Matlab/Simulink. An intuitive user interface allows users to easily create, modify and check the completeness and disjointness of tabular expressions using the AT...
متن کاملModel Manipulation as Part of a Better Development Process for Scientific Computing Code
We review 3 different applications of the same development methodology. We begin by using a very expressive, appropriate Domain Specific Language (in this case mathematics as embodied in a Computer Algebra System), to write down very precise problem definitions, using their most natural formulation. Once these problems are defined, this forms an implicit definition of a unique solution. From th...
متن کاملCase Studies in Model Manipulation for Scientific Computing
The same methodology is used to develop 3 different applications. We begin by using a very expressive, appropriate Domain Specific Language, to write down precise problem definitions, using their most natural formulation. Once defined, the problems form an implicit definition of a unique solution. From the problem statement, our model, we use mathematical transformations to make the problem sim...
متن کاملCode Generation via Xml/xslt Vs Cc-based Approaches Steps to Generate Source Code Compiler-compiler Based Xml / Xslt Based Tree Walking Process Input Language Syntax Trees Output Language Yntax Tree Sy S Figure 1 Code Generation Processing Phases
www.XML-JOURNAL.com august 2002 T ypically, the purpose of the software subsystem is to generate a concrete implementation from declarative models. This could be viewed as an extension of MVC (Model-View-Controller) architecture by incorporating a generator component (i.e., MVCG). Adopting a generative approach in software development is a goal cherished by many application developers. Why writ...
متن کامل