Posted by Peter von der Ahe on May 15, 2006 at 06:33 PM PDT #
Posted by 69.108.204.151 on May 16, 2006 at 02:02 AM PDT #
1. It is not really appropriate for me to speculate on the motives of IntelliJ. Since javac is designed for batch operation and JDT is designed for IDE use, perhaps JDT has an advantage in that area. However, we are continuously exposing internals of javac and adding new features to ease IDE integration. We will share our thoughts in how we can make javac more "accessible" and suited for dynamic usages.
2. I don't believe that a C version of javac would make it much faster and will discuss this at the Compiler BOF. I have some data to back this up.
3. You can download the sources at mustang.dev.java.net and submit fixes on jdk.dev.java.net. (I know that doesn't make javac open source but we are trying to engage developers). I would like to provide a guide to modifying javac and perhaps I can briefly outline the architecture of javac at the compiler BOF.
4. When you say baby steps, are you referring to javax.tools (JSR 199)? That is indeed an API of narrow scope, however, javac implements JSR 269 (which includes a "mirror" API for types and program elements). Also we have added supported public (but not standard) API in com.sun.source which doesn't include the usual "This is NOT part of any API supported by Sun Microsystems." I don't think these are baby steps (just consider a project like Jackpot) but I agree that we are not done. We will demo our "javacviewer" which shows all the data you can extract from javac through supported public API. Personally, I'd be happy to implement an IDE on top of that.
Posted by Peter von der Ahe on May 16, 2006 at 02:58 AM PDT #
Posted by Eugene Vigdorchik on May 16, 2006 at 03:42 AM PDT #
Posted by Philippe Mulet on May 16, 2006 at 07:10 AM PDT #
Philippe, if you allow me :)
its a good news that JDT core compiler is available as a separate download but
do you have freeze some parts of the
internal implementation.
The public API doesn't export much
info and the internal API changes every week.
I've another remarks, for me, eclipse compiler is a step behind javac in term of 1.5 features (on my last project, 3 months, 5 eclipse compiler bugs found), and i think you can improve it by converting the JDT to use generics. It can help you to find lot of "generics" bugs.
Peter, sorry for trusting your forum
Posted by Rémi Forax on May 16, 2006 at 10:23 AM PDT #
Posted by Peter von der Ahe on May 16, 2006 at 11:00 AM PDT #
Posted by Olivier Thomann on May 16, 2006 at 12:20 PM PDT #
Posted by Philippe Mulet on May 17, 2006 at 03:09 AM PDT #
Posted by David Chu on May 18, 2006 at 12:09 AM PDT #