Online Chapter: On-the-fly Dynamic Compilation and Execution

View: New views
4 Messages — Rating Filter:   Alert me  

Online Chapter: On-the-fly Dynamic Compilation and Execution

by AndrewDavison :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear All,

I just uploaded a new chapter to my Killer Game Programming in Java website at
http://fivedots.coe.psu.ac.th/~ad/jg/

It's called "JavaArt Chapter 1. On-the-Fly Dynamic Compilation and Execution", and looks at Java 6's Compiler API, and the Janino Compiler API.

You'll find it in a new section, about half way down the page.

Comments are appreciated.

- Andrew

Re: Online Chapter: On-the-fly Dynamic Compilation and Execution

by Arno Unkrig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Andrew,

that's great news! The only remark that I have is that

     Perhaps the most significant drawback of Janino is that it’s
     only compatible with Java 1.4, so programs using Java 5 and
     6 features can’t be compiled.

is not completely true: _Part_ of the Java 1.5 features are implemented:

     # J2SE 5.0: Static imports (single and on-demand; fields,
       types and methods)
     # J2SE 5.0: Autoboxing and unboxing
     # J2SE 5.0: StringBuilder class used (if available) for
       string concatenation

(Admittedly, not the biggest ones.)

Any plans to release an updated edition in print?


CU

Arno

AndrewDavison schrieb:

> Dear All,
>
> I just uploaded a new chapter to my Killer Game Programming in Java website
> at
> http://fivedots.coe.psu.ac.th/~ad/jg/ http://fivedots.coe.psu.ac.th/~ad/jg/ 
>
> It's called "JavaArt Chapter 1. On-the-Fly Dynamic Compilation and
> Execution", and looks at Java 6's Compiler API, and the Janino Compiler API.
>
> You'll find it in a new section, about half way down the page.
>
> Comments are appreciated.
>
> - Andrew


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: Online Chapter: On-the-fly Dynamic Compilation and Execution

by AndrewDavison :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Arno,

I've fixed the paragraph you mention, and uploaded the revised chapter at the same URL.

- Andrew

Re: Online Chapter: On-the-fly Dynamic Compilation and Execution

by Arno Unkrig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Andrew,

great stuff!


CU

Arno

AndrewDavison schrieb:
> Arno,
>
> I've fixed the paragraph you mention, and uploaded the revised chapter at
> the same URL.
>
> - Andrew
>


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email