guile-devel
[Top][All Lists]
Advanced

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

Re: Stack calibration


From: Ludovic Courtès
Subject: Re: Stack calibration
Date: Tue, 14 Oct 2008 09:19:57 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

Hi Neil,

"Neil Jerram" <address@hidden> writes:

> <imagine cinematic thinking effect>
> Goodness, that Ludovic, can't he ever just be happy with what I've proposed...

Eh eh, I'm starting to have a reputation!  ;-)

I did think you may be annoyed by that review after all the work you had
put it, but well.  :-)

> ...oh but hang on, we already have arbitrary callouts to Scheme: the
> evaluator traps!
> </imagine cinematic thinking effect>
>
> So yes, I think we can actually do this without any change to the C
> code except adding %get-stack-depth, by using an evaluator trap.

Great!

> Evaluator traps, on the other hand, will catch everything.  (At the
> cost of running very slowly, but I think that's OK for just this one
> calibration step.)

Yep, sounds like a good idea.

Thanks!

Ludo' the nitpicker.  ;-)





reply via email to

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