Re: JVM as UNCOL, was ANDF/TDF

"Joachim Durchholz" <joachim_d@gmx.de>
13 Oct 2001 23:11:38 -0400

          From comp.compilers

Related articles
[4 earlier articles]
Re: JVM as UNCOL, was ANDF/TDF gmc444@yahoo.com (2001-10-10)
Re: JVM as UNCOL, was ANDF/TDF joachim_d@gmx.de (Joachim Durchholz) (2001-10-12)
Re: JVM as UNCOL, was ANDF/TDF asunil@csa.iisc.ernet.in (Sunil Kumar Anand) (2001-10-12)
Re: JVM as UNCOL, was ANDF/TDF jesper@zuschlag.dk (Jesper Zuschlag) (2001-10-13)
Re: JVM as UNCOL, was ANDF/TDF jesper@zuschlag.dk (Jesper Zuschlag) (2001-10-13)
Re: JVM as UNCOL, was ANDF/TDF David.Chase@naturalbridge.com (David Chase) (2001-10-13)
Re: JVM as UNCOL, was ANDF/TDF joachim_d@gmx.de (Joachim Durchholz) (2001-10-13)
Re: JVM as UNCOL, was ANDF/TDF vbdis@aol.com (2001-10-13)
Re: JVM as UNCOL, was ANDF/TDF fjh@cs.mu.OZ.AU (2001-10-16)
Re: JVM as UNCOL, was ANDF/TDF fjh@cs.mu.OZ.AU (2001-10-16)
Re: JVM as UNCOL, was ANDF/TDF joachim_d@gmx.de (Joachim Durchholz) (2001-10-20)
Re: JVM as UNCOL, was ANDF/TDF vbdis@aol.com (2001-10-20)
Re: JVM as UNCOL, was ANDF/TDF lex@cc.gatech.edu (Lex Spoon) (2001-10-20)
[3 later articles]
| List of all articles for this month |

From: "Joachim Durchholz" <joachim_d@gmx.de>
Newsgroups: comp.compilers
Date: 13 Oct 2001 23:11:38 -0400
Organization: Compilers Central
References: 01-08-091 01-09-064 01-09-075 01-10-051
Keywords: C++, Java, UNCOL
Posted-Date: 13 Oct 2001 23:11:38 EDT

Sunil Kumar Anand <asunil@csa.iisc.ernet.in> wrote:
>
> The question of porting C and C++ does not arise at all because C and
> C++ have pointer accessses which Java does not allow at any cost.


Sorry, this is wrong.
You need not do more than represent a pointer as a
Java-pointer-plus-index. This technique is old and was developed for
processors that had restrictions similar to those of the JVM.
You can't do everything with these, but if you read the C and C++
language references carefully, you'll find that the effect of pointer
arithmetic is defined only if you are indexing within an array.


Regards,
Joachim


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.