Version française
Home     About     Download     Resources     Contact us    
Browse thread
Native delimited continuations for bytecode OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: oleg@p...
Subject: Re: [Caml-list] Native delimited continuations for bytecode OCaml

Hello!

[I'm not sure if this messages makes it to the caml-list. Sorry]

Till Varoquaux wrote:
> Can your code be used for unlimited continuation? I am currently
> using code that looks somewhat like this:
>
>   [capture continuation and Marshall it out]
>   [Upon startup of the application, resume from the saved state]


Hmm, I have written code to test this interesting application. Alas,
when I run it and was writing the captured continuation, I got a
problem:

Fatal error: exception Invalid_argument("output_value: abstract value
(Custom)")

I guess the marshalling function isn't happy about abstract values. I
really don't know which particular value it is complaining about: the
values used by the low-level C code are actually tuples and
integers. But there are a lot of abstract values in the delimcc OCaml
code, introduced to hide the representation.