C to Java']Java: converting pointers into references

被引:0
|
作者
Demaine, ED [1 ]
机构
[1] Univ Waterloo, Dept Comp Sci, Waterloo, ON N2L 3G1, Canada
来源
CONCURRENCY-PRACTICE AND EXPERIENCE | 1998年 / 10卷 / 11-13期
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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. (C) 1998 John Whey & Sons, Ltd.
引用
收藏
页码:851 / 861
页数:11
相关论文
共 50 条
  • [1] Java']Java references
    Amsterdam, J
    DR DOBBS JOURNAL, 2000, 25 (02): : 42 - +
  • [2] Converting Windows Metafiles to Java']Java
    Delessio, C
    DR DOBBS JOURNAL, 1997, 22 (05): : 34 - +
  • [3] Converting Physlets and Other Java']Java Programs to Java']JavaScript
    Christian, Wolfgang
    Belloni, Mario
    Hanson, Robert M.
    Mason, Bruce
    Barbato, Lyle
    PHYSICS TEACHER, 2021, 59 (04): : 278 - 281
  • [4] Investigating Naming Convention Adherence in Java']Java References
    Butler, Simon
    Wermelinger, Michel
    Yu, Yijun
    2015 31ST INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME) PROCEEDINGS, 2015, : 41 - 50
  • [5] Converting Java']Java classes to use generics
    von Dincklage, D
    Diwan, A
    ACM SIGPLAN NOTICES, 2004, 39 (10) : 1 - 14
  • [6] Inferring Weak References for Fixing Java']Java Memory Leaks
    Qian, Ju
    Zhou, Xiaoyu
    2012 28TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2012, : 571 - 574
  • [7] The Influence of Alias and References Escape on Java']Java Program Analysis
    Chen, Shengbo
    Sun, Dashen
    Miao, Huaikou
    SOFTWARE ENGINEERING RESEARCH, MANAGEMENT AND APPLICATIONS, 2015, 578 : 99 - 111
  • [8] The Influence of Alias and References Escape on Java']Java Program Analysis
    Chen, Shengbo
    Sun, Dashen
    Miao, Huaikou
    INTERNATIONAL JOURNAL OF NETWORKED AND DISTRIBUTED COMPUTING, 2015, 3 (01) : 11 - 20
  • [9] Converting Java']Java programs to use generic libraries
    Donovan, A
    Kiezun, A
    Tschantz, MS
    Ernst, MD
    ACM SIGPLAN NOTICES, 2004, 39 (10) : 15 - 34
  • [10] A static bug detector for uninitialized field references in Java']Java programs
    Seo, Sunae
    Kim, Youil
    Kang, Hyun-Goo
    Han, Thisook
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2007, E90D (10) : 1663 - 1671