Its been a long time coming, but Build 1.0.36 includes the first version of the Java FFI feature. To get started take a look at:
Here is a very simple script which uses java.util.Date:
java.util.Date
using [java] java.util class Test { Void main() { date := Date() // constructors year := date.getYear + 1900 // methods millis := date->getTime // dynamic invokes echo("$date, $year, $millis") } }
The Java FFI is by no means complete, but this first version provides a pretty awesome amount of interoperability with Java:
Features which aren't in this version, but I plan on working on immediately for the next build:
Features which I'm planning on delaying (probably for a while):
With something this complicated I expect there will be lots of bugs and issues I didn't consider. So take it for a spin and give me your feedback!
Login or Signup to reply.
brian Sun 14 Dec 2008
Its been a long time coming, but Build 1.0.36 includes the first version of the Java FFI feature. To get started take a look at:
Here is a very simple script which uses
java.util.Date
:The Java FFI is by no means complete, but this first version provides a pretty awesome amount of interoperability with Java:
Features which aren't in this version, but I plan on working on immediately for the next build:
Features which I'm planning on delaying (probably for a while):
With something this complicated I expect there will be lots of bugs and issues I didn't consider. So take it for a spin and give me your feedback!