A code-hot-swapping agent would be a good candidate for using fsi-as-a-service. I wonder if fsi is the right choice, however. Would a fsc.dll work better for compiling a string of F# code to replace existing code?

By on 8/13/2012 7:27 AM ()

Aside from the Silverlight version there are currently two versions that I know of:
The first one is from Tomas Petricek and is used in his F# Web Snippets. The source code can be found here FSharpSamples.
A newer version based on it is Fahad's and can be found here.

A project using this tool is: Intellisense for Emacs.

According to this Stackoverflow post, Fahad's version supports newer .NET versions and has no Powerpack dependency. AFAIK no version has project support.

By on 8/2/2012 2:36 AM ()

Fahad built a sample fsi.dll that I have merged into the latest F# drop from codeplex. I'm not terribly aware of all the details other than that it is similar in many respects to the Silverlight version used to power sites like TryFsharp.org.

By on 8/1/2012 3:01 PM ()

So its mainly used for intellisense at the moment?

With the F#3 compiler maybe the speed will increase to a usable level...

By on 8/3/2012 5:33 AM ()

To support intellisense, it needs to be able to compile your code. I think the ideal would be to have something that could recompile only the parts that need recompiling. That would enable something close to code hot-swapping. I could see this being useful, in addition to a set of agents, for distributing work or load balancing.

By on 8/3/2012 6:54 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