News for hackers. Stuff that matters.
Re:Perl 6 is fun by _pmf_ on Monday November 30, 2015 @02:23PM (#10651151)
(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?

Re:Perl 6 is fun by kbenson on Monday November 30, 2015 @02:33PM (#10651208)
Rakudo 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-p...

Re:Perl 6 is fun by dragonwriter on Monday November 30, 2015 @02:37PM (#10651235)
There was Parrot support, but AFAIK its been dead since February.
Re:Perl 6 is fun by kbenson on Monday November 30, 2015 @02:52PM (#10651328)
Fair enough. I struggled with how to denote my uncertainty with Parrot's status without implying it was deprecated if it wasn't, so I settled with just including it without any qualifiers.
Re:Perl 6 is fun by st3fan on Monday November 30, 2015 @06:21PM (#10652612)
It is not dead, it is just resting.
Re:Perl 6 is fun by MadcapJake on Tuesday December 01, 2015 @12:03AM (#10653724)
Re:Perl 6 is fun by dragonwriter on Monday November 30, 2015 @02:34PM (#10651209)
> 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.

Re:Perl 6 is fun by cygx on Monday November 30, 2015 @02:33PM (#10651206)
Given 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-intero...

Re:Perl 6 is fun by _pmf_ on Monday November 30, 2015 @03:03PM (#10651401)
Ah, thanks for clearing this up!