4 ms·
(I just asked on stackoverflow, but I'l try here again:) Given that Rakudo VM is JVM based, I expected that there's some interoperability layer for the host JV
by _pmf_ 11y ago
(I just asked on stackoverflow, but I'l try here again:)
Given that Rakudo VM is JVM based, I expected that there's some interoperability layer for the host JVM, but could not find anything.
Does someone know whether this is possible?
- cygx 11y agoGiven that Rakudo VM is JVM based The JVM is just one of the backends, but it's fallen a bit by the wayside during the current effort to get 6.0 out on MoarVM. I expected that there's some interoperability layer for the host JVM There is, but I'm unaware of proper documentation. For now, you might want to take a look at https://github.com/rakudo/rakudo/blob/nom/t/03-jvm/01-interop.t https://github.com/rakudo/rakudo/blob/nom/t/03-jvm/01-intero...
- _pmf_ 11y agoAh, thanks for clearing this up!
- kbenson 11y agoRakudo isn't JVM "based", but the JVM is one VM that it targets (also MoarVM, and Parrot. I imagine at some point the .Net CLR will be added). That said, take a look at this[1]. 1: https://perl6advent.wordpress.com/2013/12/03/day-03-rakudo-perl-6-on-the-jvm/ https://perl6advent.wordpress.com/2013/12/03/day-03-rakudo-p...
- dragonwriter 11y agoThere was Parrot support, but AFAIK its been dead since February.
- MadcapJake 11y agoAlso JavaScript is in the works! http://blogs.perl.org/users/pawel_murias/2015/11/what-should-rakudo-js-aim-for-first.html http://blogs.perl.org/users/pawel_murias/2015/11/what-should...
- dragonwriter 11y ago> Given that Rakudo VM is JVM based Insofar as there is a "Rakudo VM", its MoarVM, which is not JVM-based; Rakudo also compiles for the JVM, and there's some documentation on interop floating around, but most of it seems to be both old and indicating that the JVM interop was in flux at the time.