Runtime code generation in JVM and CLR via Chris Sells
Quite a interesting article, as the paper suggests its possible to create code from code (with the CLR via Reflection.Emit) and that no performance is lost in runtime execution when you do so. I have played with this quite a bit and using this namespace wrote a custom expression evalulator (written in and) for VB.NET code, unlike C# (which has line delimiters) you do need to handle the line breaks or the compiler complains but other than that it works very sweetly indeed.
5:24:59 PM
|