[gambit-list] gambit + llvm

Arnaud Bergeron abergeron at gmail.com
Tue Sep 23 02:08:44 EDT 2008


2008/9/22 David Rush <kumoyuki at gmail.com>:
> On Mon, Sep 22, 2008 at 8:19 PM, Marc Feeley <feeley at iro.umontreal.ca> wrote:
>> I haven't looked at LLVM since its first release, and following your
>> post I took a new look
>
> As have I. I am glad of the reminder.
>
>> For fun I tried compiling Gambit with llvm-gcc on my Mac OS X machine
> ...
>> The good news is that this works
> ...
>> The bad news is that the compile time is really high (10 minutes for
>> some of the larger C files like lib/_num.c and lib/_io.c) and the
>> execution speed if often lower than when using the standard gcc.
>
> Well a custom back-end would be using Gambit's high-level
> optimizations and LLVM's low-level ones. I wouldn't be at all
> surprised if the use of C as an intermediate language (however
> stylized) introduces inefficiencies.
>
>> If anyone is interested in contributing to implement an LLVM back-end
>> for Gambit, please send me an email.  I can guide you through the
>> steps required.
>
> I am indirectly interested, and may become actively so depending on
> what happens in the next couple of months (waiting on funding :)
> Please keep the list posted if anyone steps up.

Too late :)

I will be doing this for the semester with somebody else as a project
for our compilation course with Marc.

Our original project was just to compile scheme to LLVM, but since
this enquiry popped up we got a proposition to do this and we
accepted.

Arnaud

> david rush
> --
> GPG Public key at http://cyber-rush.org/drr/gpg-public-key.txt
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>


More information about the Gambit-list mailing list