I don't want to speak for Lex, but I will say that there are plenty of people out there (myself included) who would love to see a Scala frontend to GWT. And Maxime, I completely agree that a lot of Scala constructs would translate more effectively to Javascript than if they were translated through Java (or bytecode) first. This is one reason we've not really resonated with the suggestion that "it would be better if GWT just translated bytecode, so we could get languages like Scala for free". I'm afraid there would be too much useful information lost in the process, and it wouldn't be all that useful if it produced poor code (making large apps work in Javascript is hard enough as it is!). This implies that it would take a significant change to the compiler infrastructure to efficiently support Scala, though, because we'd need a more expressive intermediate representation. I'll let those with more compiler experience than myself speak to the structure it should take, though.
Cheers, joel. 2009/10/2 Maxime Lévesque <[email protected]> > > Lex, are you there ? > > Could you crank out a Scala compiler for GWT in your next lunch break ? ;) > > Max > > > On Thu, Oct 1, 2009 at 5:09 PM, Rob Heittman > <[email protected]>wrote: > >> I think Lex Spoon knows a thing or two about Scala. I'm really surprised, >> nay shocked, that he hasn't ported GWT to Scala yet, on his lunch break! >> >> j/k :-) >> >> 2009/10/1 Maxime Lévesque <[email protected]> >> >>> What kind of effort would it take ? >>> >>> >> > > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
