java - What's invokedynamic and how do I use it? -



java - What's invokedynamic and how do I use it? -

i maintain hearing new cool features beingness added jvm , 1 of cool features invokedynamic. know , how create reflective programming in java easier or better?

it new jvm instruction allows compiler generate code calls methods looser specification possible -- if know "duck typing" is, invokedynamic allows duck typing. there's not much java programmer can it; if you're tool creator, though, can utilize build more flexible, more efficient jvm-based languages. here sweetness blog post gives lot of detail.

java reflection invokedynamic

Comments

Popular posts from this blog

c# - Move local mssql database to webhosted MYSQL -

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -