News for hackers. Stuff that matters.
Re:MLWorks: SML compiler from Harlequin returning from the d... by larsberg on Thursday May 02, 2013 @08:45PM (#5648214)
Certainly! SML/NJ was a research platform first and high-performance/implementation second.

Defunctorization helps, but from talking with Matthew Fluet, most of the perf comes from the combination of monomorphization and whole-program compilation. You get to avoid all the hackery involved with trying to mix essential inlining (e.g., map, foldl) with separate compilation and the somewhat unpredictable performance that results when a user accidentally writes their own map function but puts it in a separate source file without magical incantations for the inliner.

Also, we're working to get the rights for the definition back from MIT press so we can both push out a free PDF version and update the bugs. There are several corner cases that Harper, Tofte, and MacQueen consider mistakes in the '97 version of the definition, but haven't really taken the time to push out an updated definition, after the ML2000 effort went nowhere. Follow up with me offline (contact info in my profile) if you're morbidly curious.

Re:MLWorks: SML compiler from Harlequin returning from the d... by nick_barnes on Friday May 03, 2013 @07:32AM (#5649717)
I'm sure we'll be in touch. I suggest you join the mailing list, then you'll be able to track our progress (and you'll be the first to know once we have a working compiler).

Do give my regards to John Reppy, who I haven't seen for about 15 years. As I recall, he was the author of the "new" GC in SML/NJ (in the mid 90s), which was a distinct improvement on the original semi-space collector.

Re:MLWorks: SML compiler from Harlequin returning from the d... by larsberg on Friday May 03, 2013 @10:54AM (#5650389)
Will do on both counts! John is my advisor :-)
Re:MLWorks: SML compiler from Harlequin returning from the d... by rptb1 on Friday May 03, 2013 @03:59AM (#5649308)
It would be excellent to have the Definition available online. MLWorks originated with a contract to develop a very strict implementation of the Definition, and we were quite proud of being truly Standard ML.