Paper by Erik D. Demaine
- Erik D. Demaine, “Converting C Pointers to Java References”, in Proceedings of the ACM 1998 Workshop on Java for High-Performance Network Computing (Java'98), Palo Alto, California, February 28–March 1, 1998.
We consider the problem of converting C pointers to the less flexible concept
of references. Our main application is converting scientific applications
from C to Java. We provide a general method to model essentially all features
of pointers using references. The model is easily implemented in Java. We
give optimizations that map key facilities like arrays and structures onto the
obvious Java equivalents, arrays and objects. These improvements make the
conversion “optimal” for all typed pointers. For untyped
pointers, we can still fall back on the general model, hence providing general
automatic conversion from C to Java code, whose efficiency improves with the
quality of the C code.
- The paper is 10 pages and the talk is 25 minutes.
- The paper is available in PostScript (142k).
- The talk is also available in PostScript (113k).
- See information on file formats.
- [Google Scholar search]
- Related papers:
- CPE98 (C to Java: Converting Pointers into References)
See also other papers by Erik Demaine.
These pages are generated automagically from a
Last updated April 22, 2019 by