On Thursday, April 19, 2012 11:20:05 AM UTC-5, tbc++ wrote: > > If you AOT compile the ClojureCLR code, will it still depend on > Reflection.Emit? > > Timothy >
Yes, it will still depend on Reflection.Emit. If you eval, you need it. Also, any place where ClojureJVM does runtime reflection, ClojureCLR uses dynamic DLR expressions to take advantage of polymorphic inline caching. (The DLR is also used to do method resolution, much more compilicated for the CLR.) Dynamic DLR expressions do on-the-fly code gen using Reflection.Emit. (There are hints that Mono.Cecil can be to provide Reflection.Emit capabilities for the DLR on .Net CF, but I'm not going there anytime soon.) -David -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en