I had some success using a SoapFormatter for this: SoapFormatter

However, this basically stores a reference to the function in the XML file, not the function itself. So deserializing and using the function will only work with an unchanged binary.

AFAIK very few languages allow to really serialize and transfer functions including their code (Oz is one of them)...

By on 2/16/2011 3:34 PM ()

The scenario is fine by me. I have to save the current state of a long computation performed with a simil-state monad; the code will not change, but the captured variables I have no way of knowing and serializing by hand!

By on 2/18/2011 1:05 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper