by Stugol » Sun Nov 20, 2011 7:20 am
Hmm. When .NET languages are compiled on the fly using the CodeDom, they take a few seconds to compile; and utilise temp files on the system and stuff like that. It's quite a heavyweight operation, and not really suitable for quick scripts. When IronPython and IronRuby are compiled on the fly, in the way I showed you, they execute immediately with no system impact. They are, in essence, scripting languages.
So, my questions are these. Firstly, when Cobra is hosted in this manner (which, as you say, doesn't currently work), how will it be done? Like Python, or like .NET? Is it a heavyweight operation, or a quick one suited to scripting?
Secondly, assuming it is a lightweight operation, how soon could we expect this facility to work properly? (If it is a heavyweight operation, then I'll just carry on using Python for my in-app scripting.)