Porting Graal to Clojure

Thomas Wuerthinger thomas.wuerthinger at oracle.com
Wed May 2 17:37:51 PDT 2012


Looks interesting! Functional programming will probably in particular be 
nice for some of the stateless optimization phases (e.g., 
ReadEliminationPhase). At some point we were also experimenting with 
node predicates for querying and filtering compiler nodes (see class 
NodePredicates), but we've not yet come to a conclusion on how such a 
predicate API should look like.

- thomas

On 01.05.2012 06:40, Jim Duey wrote:
> For anyone interested, I've started porting Graal to Clojure. (Clojure 
> is a Lisp that runs on the JVM.)
>
> Here's my first blog post that describes parsing a method's bytecode 
> into basic blocks.
>
> http://www.clojure.net/2012/05/01/New-Project/
>
> On of the things I'm trying to show is the difference between typical 
> OOP style and Functional Programming style. I'd love to hear any 
> comments anyone would have.
>
> Jim



More information about the graal-dev mailing list