definition of a highlevel language?

Patrick Mullen saluk64007 at gmail.com
Mon May 26 14:50:58 EDT 2008


It basically works like this:

low level to high level

machine code
assembly -> translates to machine code
c -> compiles to assembly and machine code
python -> commands interpreted by a vm running on c

So python is "higher level" because it is built on top of lower level
languages.  If python were to compile to assembly/machine code (cython or
rpython perhaps) than it would be at the same level as c rather than higher
level.

At least this is my understanding of it.  PyPy at the moment is much higher
level than python, because it is built on top of python.

The higher the level of abstraction, the more flexible and portable a
language can be, in general.  Also, since it is built on more and more
things, time is spent translating down the stack, so higher level languages
tend to be slower as well.

However something like python is a bit tricky, because when you are using
extensions written in C, it sort of translates down skipping a step and acts
more on the c level.  The high-level/low-level waters are very muddy these
days.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080526/9116bb8b/attachment-0001.html>


More information about the Python-list mailing list