PROGRAMMING : mini java compiler
OK, so you could probably use one of the many java scripting languages to acheive the same goal, but I get really frustrated by how slow (and unJITable) reflection stuff is. So you could use Janino to compile up a little bit of code to do the call, and then just keep on evaluating the call over and over at a very high speed.
This would also make it possible to do an AOP/J2EE style creation of generic 'method decorators' that execute fast, but don't have to be precompiled (instead compiled at run time. (method decorator adds some functionality to all the methods in a class, like logging, security or transactions)
BTW is www.theserverside.com any good?
This would also make it possible to do an AOP/J2EE style creation of generic 'method decorators' that execute fast, but don't have to be precompiled (instead compiled at run time. (method decorator adds some functionality to all the methods in a class, like logging, security or transactions)
BTW is www.theserverside.com any good?
0 Comments:
Post a Comment
<< Home