Re: Best language for intermediate representation

"Basile Starynkevitch \[news\]" <basile-news@starynkevitch.net>
13 Feb 2004 23:55:04 -0500

          From comp.compilers

Related articles
Best language for intermediate representation wienczny@web.de (Stephan Wienczny) (2004-02-12)
Re: Best language for intermediate representation s.bosscher@student.tudelft.nl (2004-02-13)
Re: Best language for intermediate representation basile-news@starynkevitch.net (Basile Starynkevitch \[news\]) (2004-02-13)
Re: Best language for intermediate representation jle@forest.owlnet.rice.edu (2004-02-26)
| List of all articles for this month |

From: "Basile Starynkevitch \[news\]" <basile-news@starynkevitch.net>
Newsgroups: comp.compilers
Date: 13 Feb 2004 23:55:04 -0500
Organization: http://starynkevitch.net - Ours
References: 04-02-112
Keywords: optimize, design
Posted-Date: 13 Feb 2004 23:55:04 EST

On 12-02-2004, Stephan Wienczny <wienczny@web.de> wrote :


> what is the best intermediate language currently freely available?


I don't know. However, you should define what do you mean by best:


    do you want an IL ported to many architectures?


    do you want an IL which generates quickly (poor) machine code, or
    can you afford spending more (CPU... & system) resources on
    generating better code?




You might consider (among other solutions)


    generating gcc code (ie using GCC as your IL) - several GCC
    extensions are very useful in generated code.


    generating C code which is quickly compiled with TinyCC - see
    www.tinycc.org (tcc compiles about 5 times faster than gcc, but
    produces code running 30% slower on x86)


    generating C-- code - see www.cminusminus.org


    using GNU lightning for dynamic code generation. See
    http://www.gnu.org/directory/libs/gnulightning.html




--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net
aliases: basile<at>tunes<dot>org = bstarynk<at>nerim<dot>net
8, rue de la Faïencerie, 92340 Bourg La Reine, France


Post a followup to this message

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