Hello List, Big up to Nicolas :)

Having past experience with continuations before in java and rhino I and am
now working on a media processing engine that uses them in ruby. Things are
going ok, but I've got two problems, 1. they cant be serialized (so the
program must keep them in memory), and 2. support for continuations will be
removed from ruby 2 ( bummer ). So I'm looking around for another language
or vm for the core of this processing engine. Currently java seems like a
possibility (using some vm tricks) but I would rather try something else,
something sexy. Thus I'm thinking about Neko and maybe Haxe if it supports
what I need.

So some one line questions..

1. did anyone get anywhere with getting ruby running on neko ? that would
really rock.
2. does neko support continuations?
3. does haxe support continuations?
4. if so, is it possible to serialize them and restore them? I know its
tricky..

A little bit more about my specific use case.. I want to run resource
intensive tasks on one of many servers then return processing to the point
at which that task was called in my processing script.

result = task.encode(video)

A continuation would be captured inside encode, then an exception thrown to
return processing to some higher level code. That code will queue the task,
serialize the continuation, then when the task is done, unserialize the
continuation, and restore processing. Sweet synchronous flow.

Thanks for reading.
Luke

--
Luke Hubbard
codegent | coding for the people
http://www.codegent.com

NMA Top 100 Interactive Agencies - Ones to watch!
http://www.codegent.com/top100/

want to know more?
http://www.codegent.com/showreel/

This e-mail may contain information which is privileged, confidential and
protected from disclosure. If you are not the intended recipient of this
e-mail, or any part of it, please delete this email and any attachments
immediately on receipt. You should not disclose the contents to any other
person or take copies. Any views expressed in this message are those of the
individual sender, except where the sender specifically states them to be
the views of codegent limited.
-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to