Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Functional > Re: MLton's GC
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 17 of 18 Topic 2756 of 2841
Post > Topic >>

Re: MLton's GC

by stephen@[EMAIL PROTECTED] (Stephen J. Bevan) Feb 10, 2008 at 01:28 AM

Philippa Cowderoy <flippa@[EMAIL PROTECTED]
> writes:
> On Sat, 9 Feb 2008, Stephen J. Bevan wrote:
>
>> George Neuner <gneuner2/@[EMAIL PROTECTED]
> writes:
>> > However, Dylan is still a Scheme is still a Lisp.
>> 
>> Aren't all functional languages a Lisp then?
>
> Dylan really did start out as a more conventional lisp, and then the 
> syntax changed. There are plenty of functional languages that didn't 
> descend from lisp though - notably the descendants of ISWIM. Naturally
the 
> lambda calculus predates both.

Naturally.  Now back to my question which is if Dylan is a Lisp thus
MPS has been used in a Lisp, aren't all functional languages
effectively a Lisp when it comes to whether MPS can be used in them or
not?


>> Or is there something
>> different about some functional languages (Haskell?) which makes their
>> GC requirements different?
>> 
>
> As functional languages go, lisps take pure functional programming the 
> least seriously - having lots of definitely-immutable data around does 
> change the game a little, especially in the presence of concurrency.

A pure functional language using graph reduction as an implemenation
strategy is using mutation as part of graph reduction and thus I'd
argue as far as a GC is concerned that language looks more like a Lisp
than (S)ML.  That was true of Glasgow Haskell circa 1993 when Sansom
published his FPLCA paper, I've no idea if GHC has changed is
implementation in the meantime so as to invalidate that conclusion.

So, except for some pure languages whose implementation does not use
any form of update (i.e. not all known Hasekell implementations) then
functional languages have mutable structures whether they are explicit
in the language or not.  If you are supporting some kind of
incremental collection then you need a software/hardware read/write
barrier.  Those four values provide quite a bit of design space to
chose from.  I'd argue that the program in the language has just as
much effect as the language itself.  That is, I may write SML or
O'Caml with little use of references but the next person, say coming
over from Python, may think nothing of using references because that's
what they are used to.  Same language, same implementation,
dramatically different barrier profile.  Thus whichever style I assume
is the most common, there are always going to be programs for which my
GC assumptions are less than ideal.




 18 Posts in Topic:
MLton's GC
Jon Harrop <usenet@[EM  2008-02-04 13:36:30 
Re: MLton's GC
"David B. Benson&quo  2008-02-04 16:31:53 
Re: MLton's GC
Jon Harrop <usenet@[EM  2008-02-05 14:18:29 
Re: MLton's GC
George Neuner <gneuner  2008-02-05 14:55:11 
Re: MLton's GC
Adrian Hey <ahey@[EMAI  2008-02-06 08:05:58 
Re: MLton's GC
stephen@[EMAIL PROTECTED]  2008-02-06 03:56:19 
Re: MLton's GC
George Neuner <gneuner  2008-02-06 13:01:28 
Re: MLton's GC
stephen@[EMAIL PROTECTED]  2008-02-07 04:30:34 
Re: MLton's GC
George Neuner <gneuner  2008-02-07 16:36:01 
Re: MLton's GC
stephen@[EMAIL PROTECTED]  2008-02-08 04:42:01 
Re: MLton's GC
George Neuner <gneuner  2008-02-08 12:33:09 
Re: MLton's GC
stephen@[EMAIL PROTECTED]  2008-02-09 04:15:51 
Re: MLton's GC
George Neuner <gneuner  2008-02-09 16:13:56 
Re: MLton's GC
Jon Harrop <usenet@[EM  2008-02-10 09:59:27 
Re: MLton's GC
stephen@[EMAIL PROTECTED]  2008-02-10 00:55:54 
Re: MLton's GC
George Neuner <gneuner  2008-02-10 02:46:18 
Re: MLton's GC
stephen@[EMAIL PROTECTED]  2008-02-10 01:28:10 
Re: MLton's GC
Philippa Cowderoy <fli  2008-02-09 15:39:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 8:47:26 CDT 2008.