> I like the technique.  Compilers are now fast enough that this provides a
> very nice way to do all kinds of code generation tricks.

The speed is pretty much as if you had one more source code file to
compile -- it is nearly instant.

> If I am not mistaken, it even leaves a moderately debuggable program behind
> as well.  I don't suppose that the source is available at debug time, but
> most other things would make sense.

You can write an annotation processor that generates .class files
directly, but I went with the simpler (and more intuitive) way of
generating Java source that the compiler picks and compiles in the
next round. The source code can be left on disk, which means it is
available for debugging, inspection, whatever.

I think making it a separate project from HPPC is a good idea, it is
fairly self-contained.

Dawid

Reply via email to