guile-devel
[Top][All Lists]
Advanced

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

Re: Hi! Interested in GSoC. Feedback on these ideas?


From: Noah Lavine
Subject: Re: Hi! Interested in GSoC. Feedback on these ideas?
Date: Thu, 7 Apr 2011 09:10:26 -0400

Hello,

> There is one _very_ serious problem with using GCC to compile Scheme, or
> at least there was the last time I researched this issue: tail calls.

I might be wrong about this, but I thought that GCC supported multiple
calling conventions, with the user telling GCC which one to use
(cdecl, fastcall, possibly others). If so, it must have some way to
represent that in its intermediate representations. We might be able
to add our own calling convention.

I also know that GCC has an --optimize-sibling-calls argument, which
will make it do something similar to at least some regular C calls.
I'm not sure if it's possible, but maybe we could arrange for whatever
code transformation implements this to be run on every Scheme call.

Noah



reply via email to

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