Re: [Chicken-hackers] argvector chicken

2015-07-21 Thread Mario Domenech Goulart
Hey Felix, On Tue, 21 Jul 2015 18:28:19 +0200 felix.winkelm...@bevuta.com wrote: The new approach passes all arguments in a stack-allocated C_word array. Since CPS calls never return, the array just gets popped after the next minor garbage collection. The advantage is that CPS calls become

[Chicken-hackers] argvector chicken (was: ABI woes)

2015-07-21 Thread felix . winkelmann
Scripsit felix.winkelm...@bevuta.com: The new approach passes all arguments in a stack-allocated C_word array. I would expect this to deeply suck on systems that have lots of registers and whose C compilers routinely pass arguments in registers. In particular, not significantly

Re: [Chicken-hackers] argvector chicken (was: ABI woes)

2015-07-21 Thread John Cowan
Scripsit felix.winkelm...@bevuta.com: CPS calls are surprisingly expensive in general in CHICKEN, Ah, I'm confused now. Are CPS calls a specific type of call? I had assumed that all calls (except to C primitives) are CPS calls. I assume that the continuous growth of the stack and/or the

[Chicken-hackers] [PATCH] Fix normalize-pathname for dot-relative paths beginning with .//

2015-07-21 Thread Evan Hanson
Because dots aren't pushed onto the accumulated list of pathname parts, `normalize-pathname` would hit the second slash, see that there were no leading parts, and consider the path absolute. To fix this, we make the function save the type of the path, either 'abs(olute) or 'rel(ative), as soon as