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

Re: Couple things...

This page is part of the web mail archives of SRFI 50 from before July 7th, 2015. The new archives for SRFI 50 contain all messages, not just those from before July 7th, 2015.

felix <felix@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> writes:
> As the document correctly points out, calls from Scheme to C can be
> a lot more efficient, if it is known that callbacks into Scheme do
> not occur.  This applies to Chicken (for example), where all sorts
> of weird things happen in such a case. So, here I'm down on my
> knees, *begging* for separate forms of Scheme->C calls that forbid
> callbacks. This also simplifies the case when threads are involved
> (if thread-switches can only occur in Scheme code). Note that
> Scheme->C calls outnumber Scheme->C->Scheme ones usually by a large
> amount.

Could you give details about the sorts of optimizations this
information enables?