Piers Cawley wrote:
  The Continu(ation)ing Saga
    Jonathan Sillito posted a longish meditation on Parrot's new
    continuation passing calling conventions. He wondered if, now we have
    continuation passing, we really needed the various register stacks that
    were used in the old stack based calling conventions. Warnock's Dilemma
    currently applies.

http://xrl.us/ja4

I think that Jonathan's idea sounds like a good one. It allows a function to save only those registers it needs by doing it in the creation of the continutation. Thus the worries about saveall vs save some disappear and all of the stacks might no longer be necessary.


Unfortunately, I do not have any background in this area, so my instincts are likely worthless. I would, however, really like to hear from someone more skilled than I am about it. Even if they say nothing more than, "this is stupid and here is why ... "

Thanks,
Matt



Reply via email to