[MLton] Re: [Haskell-cafe] fastest Fibonacci numbers in the West

Wesley W. Terpstra wesley@terpstra.ca
Thu, 27 Jan 2005 20:38:35 +0100


On Thu, Jan 27, 2005 at 11:22:48AM -0800, William Lee Irwin III wrote:
> Setting up a stack by hand for C code to run on is trivial, but
> interoperating with glibc isn't. The thread-local storage changes have
> made stack switching a big hassle, where formerly it was trivial. I've
> been burned by this in handwritten C a number of times recently.

Yes, I have had trouble with this too.
A library I very much like (libst) doesn't work anymore due to that change.
Your tone suggests that you know of a non-trivial way to get C stack
switching to continue to work, could you provide a pointer?

-- 
Wesley W. Terpstra