Re: p-code compilers

wlohmann@informatik.uni-rostock.de (Wolfgang Lohmann)
27 Jan 1999 12:14:13 -0500

          From comp.compilers

Related articles
p-code compilers ec98bna@brunel.ac.uk (Bogomil Alexondrov) (1999-01-22)
Re: p-code compilers dwight@pentasoft.com (1999-01-23)
Re: p-code compilers genew@vip.net (1999-01-23)
Re: p-code compilers derekross@fisheracre.freeserve.co.uk (Derek Ross) (1999-01-23)
Re: p-code compilers eodell@pobox.com (1999-01-25)
Re: p-code compilers toon@moene.indiv.nluug.nl (Toon Moene) (1999-01-25)
Re: p-code compilers aaron@farol.chem.purdue.edu (Aaron F. Stanton) (1999-01-27)
Re: p-code compilers wlohmann@informatik.uni-rostock.de (1999-01-27)
Re: p-code compilers rock@twr.com (Robert Howard) (1999-01-31)
Re: p-code compilers sda@rt66.com (1999-01-31)
| List of all articles for this month |
From: wlohmann@informatik.uni-rostock.de (Wolfgang Lohmann)
Newsgroups: comp.compilers
Date: 27 Jan 1999 12:14:13 -0500
Organization: University of Rostock
References: 99-01-078 99-01-087
Keywords: interpreter

Hi,
just two remarks:


Derek Ross (derekross@fisheracre.freeserve.co.uk) wrote:
: Bogomil Alexondrov wrote in message 99-01-078...


[snip]


: > .... what is the exact definition for
: > compiler?


: Java generates p-code, using its compiler. The p-code is then
: interpreted by the Java Virtual Machine. Both Java and the JVM are
: translators of different types.


[snip]


Java is a language and therefore neither translator nor compiler.
Confusing these concepts often leads to sentences like "Java is
slowier than C++", or "This compiler is faster than that" ( when speed
of generated code is meant).


: By the way, p-code is different from pseudocode. Pseudocode is a
: natural language based method of describing an algorithmn. P-code is
: virtual machine code. The original p-code was developed for Pascal.
: I suppose that's why it's called p-code.


and, as a fact, P-code differs from J-Code, and P stands for Pascal,
while J for Java (who would expect that ;-) ). There are much more so
called intermediate languages, as these are commen to enable an easier
translation/compilation process especially at the beginning of the
life of a language.


Wolfgang


Post a followup to this message

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