chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] ABI woes


From: Oleg Kolosov
Subject: Re: [Chicken-hackers] ABI woes
Date: Sat, 11 Jul 2015 15:07:31 +0300

> On Jul 10, 2015, at 13:23, address@hidden wrote:
> ....
> The problem with other approaches (own implementation of varargs, using 
> assembly for forcing some sort of generic call, etc.) is that they are 
> provisional hacks and take at least as much time to implement as the cleaner 
> and more promising approach. 

I'm sorry for not following CHICKEN development deep enough, but curious. Is 
this meant to replace apply hack and friends?

> Whatever approach is used, this will be a substantial change, taking a lot of 
> work: the backend needs to be changed, and all hand-written CPS primitives 
> need 
> to be adapted, also changing the way rest-args are handled. This needs to be 
> implemented for CHICKEN 4 and later ported to CHICKEN 5, adapting all new CPS 
> procedures that where introduced with the bignum-related changes. Oh, what 
> fun... 

Given the amount of work, why it is needed to duplicate it for CHICKEN 4 and 5? 
For bootstrapping?

-- 
Best regards,
Oleg


reply via email to

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