swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DefObj


From: Marcus G. Daniels
Subject: Re: DefObj
Date: 01 May 2002 15:24:21 -0600
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.7

>>>>> "PJ" == Paul E Johnson <address@hidden> writes:

MD>  Perhaps Objective Caml?  (advantage being a strong type system) Or
MD> maybe Haskell or Mercury?  Mercury has GCC and .NET backends.

PJ> What does "backend" mean in this context?

By contrast, the frontend is the software that parses the language
itself, checks for correctness, and does high-level optimizations of
the user's program using techniques appropriate for the language.  The
backend is called upon to actually generate code for execution.  In
the case of the GCC backend Mercury calls GCC functions to create tree
structures that describe control flow, variable allocations, etc.  GCC
then converts the tree structures into native code for some machine,
optimizing along the way in ways appropriate for that machine.
Alternatively the .NET backend of Mercury generates code suitable for
recompilation by the CLR virtual machine of .NET.  Another obvious
`backend' would by the Java virtual machine.  Mercury can also generate C.
Using C or Java byte code as portable target language is a popular approach
among implementors of high-level programming languages.


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]