<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-11-21 21:46 GMT+08:00 Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca" target="_blank">feeley@iro.umontreal.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">It is already there!<br>
<br>
gsc -c -target java foo.scm<br></blockquote><div><br></div><div>Fantastic!!</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">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.<br></blockquote><div><br></div><div>Interesting - so basically the output JS is running like 5x slower than the C backend, and the output Java runs 10-100x slower, how can that ever be??</div><div><br></div><div>The code output is pretty straightforward isn't it, and the fact that it works atop the Java objects *should* mean that performance should be on the *higher end* of the scale as Java-internal optimizations can be applied all over, no??</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">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).<br>
<br>
Marc<br>
<div><div class="h5"><br></div></div></blockquote></div></div></div>