News for hackers. Stuff that matters.
Re:Eta – A powerful language for building scalable systems o... by rahulmutt on Wednesday January 11, 2017 @11:55AM (#13375335)
Eta in fact only deals with STG code -> Java bytecode transformation. I agree that the intermediate transformations are brilliant, so I am very careful about playing around with the frontend bit of the GHC codebase. Eta currently implements almost all of GHC's primitive operations faithfully. I have taken extreme care in preserving semantics. In some obscure cases though, I just gave up since there are no platform-independent ways of implementing certain things (like vectorised instructions).
Re:Eta – A powerful language for building scalable systems o... by dualogy on Wednesday January 11, 2017 @11:58AM (#13375353)
Now that's awesome to hear! Can't wait to give this a go for making an Android app on the next occasion that pops up
Re:Eta – A powerful language for building scalable systems o... by rahulmutt on Wednesday January 11, 2017 @12:16PM (#13375519)
GHC 8 will take some time. The current position is to prioritize those new extensions which start creeping up in Hackage libraries. There were significant changes to the codebase in 8 and I want to wait until it's stabilized. Eventually, yes.
Re:Eta – A powerful language for building scalable systems o... by dualogy on Wednesday January 11, 2017 @12:42PM (#13375751)
I thought most extensions "just provide sugar" and are gone by the STG stage.. guess not =)
Re:Eta – A powerful language for building scalable systems o... by rahulmutt on Wednesday January 11, 2017 @01:07PM (#13375977)
No, you're right. I just don't want to swap out the frontends right now (again, stability). I'll definitely be cherry picking bug fixes and non-pervasive changes once I get a solid test/benchmark suite setup.
Re:Eta – A powerful language for building scalable systems o... by sbare109 on Sunday January 15, 2017 @03:43PM (#13406288)
Frege already has an Android library on the works. You could try that.
Re:Eta – A powerful language for building scalable systems o... by dualogy on Wednesday January 11, 2017 @12:04PM (#13375425)
But then GHC v8 compatibility should surely be on the horizon, right?