Java does support dynamically generated classes. This is used by Kawa for its evaluator: Kawa reads a high-level program (Scheme, XQuery, Emacs Lisp), translates it to Java bytecodes, dynamically creates a class, and then calls a method in the class. It is quite fast, allowing for a very responsive read-eval-print-loop combined with fast execution.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds