2 ms·
When I type at a Groovy REPL, an interpreter is using reflection for nearly everything. Same goes for native code that has to use reflection via JNI entry point
by erik_seaberg 5y ago
When I type at a Groovy REPL, an interpreter is using reflection for nearly everything. Same goes for native code that has to use reflection via JNI entry points to call Java. It’s damn useful. At the heart of every debugger is a half-finished reflection API that deserves to be cleaned up and surfaced for language interop and novel kinds of tools.
- pjmlp 5y agoHave a look at D and .NET 5 for compile time reflection. Or in Java's case annotation processors. Yes, not everything gets exposed, but it also does the job.