comp.lang.ada
 help / color / mirror / Atom feed
From: Warren <ve3wwg@gmail.com>
Subject: Re: Interpreted vs. Compiled
Date: Mon, 29 Mar 2010 20:51:45 +0000 (UTC)
Date: 2010-03-29T20:51:45+00:00	[thread overview]
Message-ID: <Xns9D4AAB89164F6WarrensBlatherings@85.214.113.135> (raw)
In-Reply-To: 87k4sunb9u.fsf_-_@ludovic-brenta.org

Ludovic Brenta expounded in news:87k4sunb9u.fsf_-_@ludovic-brenta.org:

> I do not think any language can be said to be "interpreted" or
> "compiled".  Instead, any *implementation* of any language can be
> "interpreted", "compiled" or something in between.  It is almost a
> continuum.

Under Unix, it is generally accepted that if a 3rd-party
(not o/s and not so-called executable) process is required,
it is known as the "interpreter". 

Linux for example used to (probably still does) have the 
ability to register the "interpreter". This was done with 
the JVM. Once the JVM was registered, you could launch the 
byte-code as if it were a native executable-- which is 
obviously slight-of-hand, since there is the necessary 
invoking of the "interpreter" as well (it is not purely
the o/s being used).

Now I only mention "this" particular view (as before) of an 
interpreter for the very simple utilitarian reason that 
once you realize that an interpreting "middleman" is 
involved, it is very obvious (i.e. not surprising) 
that it runs less efficiently than other native code
options.

Any other concept of "interpreter" in this discussion of
performance is less interesting in this context. 

BTW, emulation leads to the same conclusion as
an interpreter, since it too is "interpreting", even if
one doesn't usually call it that.

> Interpreted, stricto sensu, means that the interpreter reads the 
> sources of the program as written by the human programmer.

I should probably shutup, but you do know that many of
"those" interpreters also use an intermediate code in
memory. So just because they don't store it in a file 
that way, doesn't make them any more special IMO.

> You get the drift.

Yep. Yep. 

Warren



      reply	other threads:[~2010-03-29 20:51 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-23 18:57 Alternatives to C: ObjectPascal, Eiffel, Ada or Modula-3? cbcurl
2010-03-23 20:27 ` John B. Matthews
2010-03-23 21:34   ` Adam Beneschan
2010-03-24  2:08     ` John B. Matthews
2010-03-24 15:23       ` Warren
2010-03-24 16:57         ` Adam Beneschan
2010-03-24 20:00           ` Warren
2010-03-24 20:48             ` Adam Beneschan
2010-03-25 13:45               ` Warren
2010-03-26  8:20                 ` Martin Krischik
2010-03-26 19:21                   ` Warren
2010-03-28 15:07                     ` Martin Krischik
2010-03-29 13:28                       ` Warren
2010-03-26  8:05             ` Martin Krischik
2010-03-26  8:02           ` Martin Krischik
2010-03-26 19:24             ` Warren
2010-03-28 14:54               ` Martin Krischik
2010-03-29 13:31                 ` Warren
2010-03-29 20:06                   ` Interpreted vs. Compiled Ludovic Brenta
2010-03-29 20:51                     ` Warren [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox