Re: [Jastadd] java 8 support

From: Anders Nilsson <andersn_at_control.lth.se>
Date: Sat, 15 Feb 2014 23:08:55 +0100

On Saturday, February 15, 2014 12:33:51 Jon Rafkind wrote:
> Ok that is good to hear. I maintain a custom java compiler for work and am
> adding java8 support to it, but its a long and difficult process. I would
> rather use an open source project, that I could potentially contribute to.
>
> Our custom compiler targets a C-like language rather than byte-code, which
> is why we don't use javac. JastaddJ looks like a good system for generating
> C. Has anyone tried it yet?

Well, yes, actually. Though we made our lives more complicated by aiming for
hard realtime timing guarantees when running the generated code.

The code is available from launchpad: https://launchpad.net/ljrt
Some documentation here: http://www.robot.lth.se/java/
And a thesis written on the subject:
https://lup.lub.lu.se/search/publication/25432

For some reason I couldn't find the thesis on the web right now, but I'll email
a copy if you're interested?

/Anders



> On 02/15/2014 03:53 AM, Görel Hedin wrote:
> > Hi Jon,
> >
> > Yes, we plan to support Java8 and we currently have an ongoing master
> > thesis project working on this. It is a substantial effort, and will
> > involve some refactoring of the type system to support more inferencing.
> > It is difficult to say when it could be finished, but we can already
> > compile simple lambdas, and we have good hope of having something useful
> > at the end of this spring, although perhaps not all corners covered.
> >
> > Perhaps Jesper Öqvist already replied directly. He is currently the main
> > implementor of JastAddJ.
> >
> > --Görel Hedin
> >
> > 15 feb 2014 kl. 09:26 skrev Jon Rafkind:
> >> Hi, do you have any plans to support java8 in the JastAddJ compiler? If
> >> none yet, do you know how much effort it would be to add?
> >> _______________________________________________
> >> JastAdd mailing list
> >> JastAdd_at_cs.lth.se
> >> https://mail1.cs.lth.se/cgi-bin/mailman/listinfo/jastadd
>
> _______________________________________________
> JastAdd mailing list
> JastAdd_at_cs.lth.se
> https://mail1.cs.lth.se/cgi-bin/mailman/listinfo/jastadd

-- 
Anders Nilsson, Ph.D. <andersn_at_control.lth.se>
Dep. of Automatic Control, Lund University
Phone: +46 (0)46 222 87 94, Fax: +46 (0)46 13 81 18
Mob: +46 (0)703 22 57 67 
Received on Sat Feb 15 2014 - 23:09:15 CET

This archive was generated by hypermail 2.3.0 : Wed Apr 16 2014 - 17:19:06 CEST