Talk About Network

Google


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: Verbose fun...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 2697 of 2912
Post > Topic >>

Re: Verbose functional languages?

by Marcin =?UTF-8?Q?=E2=80=98Qrczak=E2=80=99?= Kowalczyk <qrczak@[EMAIL PROTECTED] Dec 16, 2007 at 01:16 PM

Dnia 16-12-2007, N o godzinie 03:05 -0800, Paul Rubin pisze:

> > Marshalling forces evaluation of the values marshalled.
> 
> I don't see why any fundamental reason this is necessary.  Nothing
> wrong with writing out unevaluated thunks in some fa****on.

Trying to write out an unevaluated thunk, even if we somehow solve
serializing program code, has a fundamental problem of deciding what
to consider a part of the given value.

If the code of evaluating a given integer uses a function, is the code
of this function a part of the integer? Should we emit the code which
implements integer addition, if the integer uses addition?

Depending on what to choose, the value might readable only by the same
exact program, or only by programs using the same libraries, perhaps
only running on the same architecture... And the serialized value might
be huge, even if we manage to share common parts of separately written
values.

I don't believe in serializing unevaluted thunks at all.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak@[EMAIL PROTECTED]
    ^^     http://qrnik.knm.org.pl/~qrczak/
 




 5 Posts in Topic:
Re: Verbose functional languages?
Marcin =?UTF-8?Q?=E2=80=9  2007-12-16 13:16:58 
Re: Verbose functional languages?
Joachim Durchholz <jo@  2007-12-16 15:09:09 
Re: Verbose functional languages?
Ben Franksen <ben.fran  2007-12-17 03:19:14 
Re: Verbose functional languages?
Joachim Durchholz <jo@  2007-12-17 11:19:14 
Re: Verbose functional languages?
Ben Franksen <ben.fran  2007-12-18 23:51:24 

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 Jul 25 22:37:17 CDT 2008.