Use invokedynamic instead of the reflection API when possible

2019-05-22 Thread Rémi Forax
Hi all, now that Clojure is compatible with java 8, it can use invokedynamic where it makes sense, i.e. when the compiler has no information to generate directly the call in bytecode, instead of using the reflection API. In fact, it's a little more complex than that, - you can not fully replace

Re: Use invokedynamic instead of the reflection API when possible

2019-05-22 Thread Alex Miller
Hi Rémi! Thanks for all your work on ASM and other JVM stuff over the years by the way. We have of course been poking at indy off and on over the years and there have been a number of experiments with it. Ghadi Shayban has probably done the most work on that and he probably has more useful feed

Re: Use invokedynamic instead of the reflection API when possible

2019-05-22 Thread Ghadi Shayban
Hi Rémi! What a pleasant surprise to see your name here. The whole community owes you a great deal of gratitude for your work. I'm hoping to be at JVMLS this summer to talk about some indy/condy experiments. Alex summed up the philosophy well: we don't do stuff just because it's possible to do