Graal and Clojure

Jules Gosnell jules_gosnell at yahoo.com
Sun Mar 16 23:35:41 UTC 2014


Doug,

Sorry it has taken me a while to get back - I've been busy playing with 
code.

I currently have a small clojure testsuite up and running. I plan to 
broaden this and then think about providing it in a junit-compatible way 
to your project.

I still haven't made up my mind exactly what I should be testing. It 
seems unnecessary to duplicate all your tests in Clojure, since you are 
already guarding against regression in these areas - I think I will 
start out with a fairly general set of tests as I probe for particular 
problem areas for Clojure, into which I may dive for more detail - time 
will tell... if you have any ideas, please let me know.

I've checked my stuff in at github, if anyone is interested - here is 
the project:

https://github.com/JulesGosnell/clumatra

here is some clojure that I reverse engineered from GraalKernelTester:

https://github.com/JulesGosnell/clumatra/blob/master/src/clumatra/core.clj

and here are the first successful tests:

https://github.com/JulesGosnell/clumatra/blob/master/test/clumatra/core_test.clj

not very pretty yet - I am still feeling my way.

cheers


Jules




On 06/03/14 10:24, Doug Simon wrote:
> Hi Julian,
>
> This looks very interesting and will be an good alternative testing vector for the Sumatra work as it matures. If Clojure tests can somehow be made to run from Junit, then I’m sure we can try integrating it into our testing.
>
> -Doug
>
> On Mar 6, 2014, at 12:56 AM, Julian Gosnell <jules_gosnell at yahoo.com> wrote:
>
>> Guys,
>>
>> I just built the Java8 / Graal / Okra stack and managed to run some very simple Clojure copying the contents of one int array into another one on Okra.
>>
>> https://groups.google.com/forum/#!topic/clojure/JpjK__NTR5Y
>>
>>
>> I find the ramifications of this very exciting :-)
>>
>> I understand that fn-ality is limited at the moment - but I am keen to keep testing and to help ensure early visibility of Clojure related issues to both communities - perhaps even the submission of a Clojure testsuite if Graal developers thought that useful.
>>
>> I'd be very interested in your thoughts on Graal / Clojure.
>>
>> regards,
>>
>>
>> Jules
>>
>
>



More information about the graal-dev mailing list