Mentor for a JVM backend for GHC

thegravian thegravian at gmail.com
Tue May 3 15:52:31 UTC 2016


Hi Rahul,

This is pretty neat stuff.  I'd be really interested in tracking this
project and maybe making a few commits, though I'm not in a good position
to be a full blown mentor.  While it's not mainline Java/bytecode yet, you
might have some future opportunities for better FFI and control of memory
layout with the work being done in the OpenJDK Panama and Valhalla projects
(resp.).  Some of the features in these projects will probably be in future
JDKs and might be worth harmonizing with on some level.

I think you're on the right track with MethodHandles and invokedynamic.

--Ian

On Mon, May 2, 2016 at 12:15 PM Karel Gardas <karel.gardas at centrum.cz>
wrote:

> On 05/ 2/16 07:55 PM, Rahul Muttineni wrote:
> > @Karel: Yeah it is, but the reward of being able to run Haskell anywhere
> > is definitely worth it! I'm aware of the LambdaVM project. I didn't
> > mention it because I wanted to focus on the present. I sent Brian Alliet
> > an email asking for guidance on architectural decisions a while back,
> > but have received no response.
> >
> > I'd be interested in having a copy of the LambdaVM source, thanks. There
> > are a couple of places in the design I'm iffy on, so it'd be nice to
> > have a source of inspiration.
>
> http://uloz.to/x3q5Mmi1/lambdavm-tar-bz2 -- this is 50 MB. I've not
> `gmake clean' it so you see what's compiled in jar/classes and what's
> not. Pity, if you'd like to have it running (besides already precompiled
> examples) you would need either Solaris 11 (my host) or "risk" build
> yourself.
>
> > Frege is a great project in its own right, but GHC Haskell has become
> > the standard and I find many of the extensions to be useful in
> > eliminating many more classes of bugs at compile-time.
>
> Indeed, I'm looking forward to seeing/testing your results.
>
> Karel
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160503/9b9576af/attachment.html>


More information about the ghc-devs mailing list