[Top][All Lists]
[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
- Hi! Interested in GSoC. Feedback on these ideas?, Paul Raccuglia, 2011/04/06
- Re: Hi! Interested in GSoC. Feedback on these ideas?, nalaginrut, 2011/04/06
- Re: Hi! Interested in GSoC. Feedback on these ideas?, Mark H Weaver, 2011/04/07
- Re: Hi! Interested in GSoC. Feedback on these ideas?,
Noah Lavine <=
- Re: Hi! Interested in GSoC. Feedback on these ideas?, nalaginrut, 2011/04/07
- Problem with GCC as a Scheme compiler: tail calls, Mark H Weaver, 2011/04/07
- Re: Problem with GCC as a Scheme compiler: tail calls, Noah Lavine, 2011/04/07
- Re: Problem with GCC as a Scheme compiler: tail calls, Andy Wingo, 2011/04/11
- Re: Problem with GCC as a Scheme compiler: tail calls, Noah Lavine, 2011/04/11
Re: Hi! Interested in GSoC. Feedback on these ideas?, Andreas Rottmann, 2011/04/07