It is already there! gsc -c -target java foo.scm Performance however is atrocious… something like two or three orders of magnitude slower than with the C backend. We’re currently looking into the issue and our current guess is that the Java JIT compiler is misbehaving. The supported target languages are c, js, python, ruby and java. Currently the ruby target is experiencing problems, but probably an easy fix when I look into it (it was working fine before some recent refactoring). Marc
On Nov 21, 2015, at 12:15 AM, Adam <adam.mlmb@gmail.com> wrote:
Right.
Also I would guess implementing a Java sourcecode backend would be very easy now, as a compliment to the others.
I wonder what about a JIT backend through the same Gambit backend facility.
2015-11-21 7:47 GMT+08:00 Evan Hanson <evhan@foldling.org>: Alternatively, given the Ruby backend, you might try http://jruby.org/.
Evan
_______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list