Sciweavers

Share
CONCURRENCY
1998

C to Java: Converting Pointers into References

8 years 8 months ago
C to Java: Converting Pointers into References
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.
Erik D. Demaine
Added 22 Dec 2010
Updated 22 Dec 2010
Type Journal
Year 1998
Where CONCURRENCY
Authors Erik D. Demaine
Comments (0)
books