#haskell - Wed 14 Mar 2007 between 05:33 and 13:03

NY Lost Funds



doliobeelsebob: That's the definition of non-strict, is it not?
Not lazy.
beelsebobone-and the same
dolioOr, a definition of non-strict.
nmessengerindeed, lazy = normal order + sharing
dolioNo, call-by-name is also non-strict.
And it differs from laziness by not memoizing/sharing.
narain> let fibs' 0 = 0; fibs' 1 = 1; fibs' n = fibs (n-1) + fibs (n-2); fibs n = let memo = fmap fibs' [0..] in memo !! n in fibs 10
lambdabot55
narain> let fibs' 0 = 0; fibs' 1 = 1; fibs' n = fibs (n-1) + fibs (n-2); fibs n = let memo = fmap fibs' [0..] in memo !! n in fibs 100
lambdabot354224848179261915075
beelsebobdolio: call-by-name differs not at all
narain> let fibs' 0 = 0; fibs' 1 = 1; fibs' n = fibs (n-1) + fibs (n-2); fibs n = let memo = fmap fibs' [0..] in memo !! n in fibs' 100
actionzbrown has a Core Duo 2 ghz
zbrownhas a Core Duo 2 ghz
Igloo: enough ram being a gig?
quicksilver1 gig is never enough for MacOS :P
shouuld be fine for linux, though
sjanssenquicksilver: yeah, what's the deal with that?
it was really painful running OS X with 512mb
quicksilversjanssen: not entirely sure, although I suspect their graphics layer eats up the memory a bit
sjanssen: I do wonder if they don't share mapped library images, I must admit
pejoI'm running OSX fine on 1 gig.
actionearthy runs OSX just fine on 640M
earthyruns OSX just fine on 640M
Igloozbrown: 1G should be fine
earthy384 was annoying though
then again... I've run linux in as little as 1M
so who am I to complain
oh, and yeah, the graphics do eat memory
zbrownhmmm
earthybut what counts more is the rather agressive caching
and the not-quite-ideal vm system
which leads to rather expensive paging behaviour
sjanssenearthy: yes, the vm really seems to suck
earthy(the vm pages out to *files* on disk... these files, from what I've seen, need not be contiguous)
pejoCould it be that the VM isn't optimized for interactive performance, but throughput rather?
sjanssenI've never seen a machine thrash as hard as my mac
kc5tjaAt first, I read that as, "I run MacOS X just fine on 640K"
;)
matthew_-there's also some horrid wrapping around mach threads which makes multithreaded performance on OSX really really sucky
earthyplus, having fat binaries doesn't help one bit. ;)

Page: 3 10 17 24 31 38 45 52 59 66 73 80 87 94 101 108 115 122 129 136 

IrcArchive

NY Lost Funds