Login
User name:
Password:
Remember me 
Powered by BlogHarbor
Powered by BlogHarbor
Re: Compiling Q10
by Christopher Sahnwaldt
Congratulations on the speedup. I'd be interested to hear how you generate the code. We're doing some code generation as well. We're using XSLT to generate Java from a small XML 'language'. Works much better than out initial approach of using Java to walk through a DOM and generate the code. Then we use com.sun.tools.javac.Main.compile() to compile the generated java files. It works, but it's a bit clumsy, since javac can only handle java files in the file system, not Strings or something else in memory. Maybe the tools API in JDK 6 will bring some improvements.
Post comment:
  Receive comment notifications for this article
Subject: 
Comment: 
Comment verification:

Please enter the text you see inside the graphic to post your comment:
This blog does not allow anonymous comments. Please provide your username and password along with your comment.
Login information:
Username: 
Password: 
If you would like to post contact information on your comment, please enter your information into the optional fields below:
Contact information:
URL:  example: http://yourdomain.com