DERBY-5947 spun off a discussion about alternatives to byte code generation. The motivation was to simplify and speed up query compilation. Ideas and experiments could be tracked in this issue.
Alternatives mentioned so far include:
- Replacing the byte code generator with an interpreter
- Using reflection instead of generated byte code
- Using functionality available in recent versions of the Java platform that help non-Java languages run efficiently on the JVM (JSR-292)