Arc Forumnew | comments | leaders | submitlogin
Mezzo: An ML with better control of data aliasing and ownership (inria.fr)
3 points by akkartik 4595 days ago | 2 comments


2 points by rocketnia 4594 days ago | link

I like the way Mezzo deals with memory using "ideas from affine type systems, separation logic, and systems based on regions and capabilities," but my enthusiasm is capped for two reasons.

One of the reasons is the same as one of David Barbour's criticisms of typestate.[1] Why should I care about Mezzo's state handling if it only permits reasoning about state metaphors within the program, and not external resources that are inherently stateful?

Two, this blog post focuses on how Mezzo can express programs without particular classes of errors, rather than with particular conveniences or desirable properties. Eliminating failure doesn't imply that success is easier.

[1] http://awelonblue.wordpress.com/2011/09/26/trouble-with-type...

-----

1 point by akkartik 4594 days ago | link

Reminds me of the recent paper advocating a keyword for isolated rather than const: http://arclanguage.org/item?id=17148

-----