News for hackers. Stuff that matters.
Re:LinearML:a programming language designed to write efficie... by primodemus on Thursday March 10, 2011 @04:24PM (#2310854)
The tutorial contains a nice overview of the language: https://github.com/pika/LinearML/wiki/Tutorial

The most interesting feature is the use of linear types to statically ensure sound usage of resources, including memory, in other words, no garbage collector.

Re:LinearML:a programming language designed to write efficie... by ejones on Thursday March 10, 2011 @07:18PM (#2311443)
Indeed. Linear Lisp promises the same thing (http://www.deepdyve.com/lp/association-for-computing-machine...) and perhaps Linear Joy (http://osdir.com/ml/lang.concatenative/2005-10/msg00009.html)...

It seems that when you do that, though, and especially from looking at the tutorial, you end up with semantics that are a) fundamentally different from GC-ed semantics, and b) explicit about memory management. But perhaps it amounts to a kind of type-safe memory management?

Re:LinearML:a programming language designed to write efficie... by hga on Saturday March 12, 2011 @08:23AM (#2316746)
Henry Baker has copies of many/most/nearly all of his papers on his home page, in this case: http://home.pipeline.com/~hbaker1/LinearLisp.html
Re:LinearML:a programming language designed to write efficie... by tianyicui on Saturday March 12, 2011 @03:52AM (#2316407)
The tutorial is different from the article most people want. Most people just want something highlight the uniqueness of this language, not how to represent list and array. I like the kind of article explaining something (e.g. a particular parallel algorithm) used to be difficult in conventional languages but not in this new one.
Re:LinearML:a programming language designed to write efficie... by eru on Thursday March 10, 2011 @04:26PM (#2310860)
Sounds a bit like Clean.
Re:LinearML:a programming language designed to write efficie... by jemfinch on Thursday March 10, 2011 @05:04PM (#2311004)
Linear types are unrelated to uniqueness types.
Re:LinearML:a programming language designed to write efficie... by eru on Thursday March 10, 2011 @05:23PM (#2311077)
The linked tutorial says:

>>> Some people will argue that these are in fact "unique types" as opposed to "linear types", the difference being subtle (a unique type enforces that only ONE pointer exists at any given time, a linear type enforces that the amount of pointers is stable). However, you will often see unique types been called linear types in the litterature, and if P. Wadler can do it, so can I ! <<<