#apache #archlinux #asterisk #centos #debian #gentoo #haskell #kde #kubuntu #lisp #math #mysql #perl #python #ruby-lang #rubyonrails #suse #ubuntu #vim #wikipedia 0 1 2 3 4 5 6 7 8 9 10 11
Top Prev 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 Next
#haskell
<sorear> +RTS -M300M -RTS # abort when heap usage exceeds 300Mbytes
<TSC> I'll make it 500
<TSC> Parsing...
<sorear> @how-much-ram TSC -- this doesn't work, alas
<lambdabot> Unknown command, try @list
<TSC> About 900
<TSC> Ok, up to rnamer/typechecker
<sorear> <- 384, needs about 14 for foreground tasks
<TSC> I used to have 384, but nothing would compile so I bought more (:
<allbery_b> hw.usermem: 956125184
<sjanssen> > 1752753 / 2^20
<lambdabot> 1.671555519104004
<sorear> hehe. only thing that has *ever* given me ram troubles is jhc
<sorear> and +RTS -c -F1.1 -RTS makes even that work.
<allbery_b> of course that's OSX, so assume half of that is used by just the base system :)
<sorear> Linux drivers/char/vt.c is one of the lightest-weight window systems in existance :)
<sorear> glibc, emacs, bash, linux. amazing how little ram it uses...
<sjanssen> TSC: I'd like to point out that your source file is nearly 30% of the total size of the Haskell portions of ghc's source
<TSC> Ah
<TSC> It's mainly data definitions and derived instances
<sjanssen> a megabyte really is a lot of source
<sorear> TSC : is it to the desugarer yet?
<sjanssen> s/source/haskell source
<sorear> simplifier?
<TSC> I don't think so
<TSC> Ah, desugar now
<TSC> Doesn't seem to be affecting memory use
<sorear> good, you made it through the entire frontend
<TSC> Hooray!
<TSC> It seems to slow down a lot in some deeply-nested parts
<sorear> Haskell -parse-> AST -rename-> AST with no scoping -typecheck-> AST with no missing typesigs -desugar-> Core (System Fc) -simplify-> Optimized Core -Stgprep-> STG-machine abstract code -codegen-> Cmm -prettyprinter-> C -gcc-> Object code
<araujo> flip ftw!
<sorear> Cmm -NCG-> Object code
<chessguy> > (0.9*0.9)::Double
<lambdabot> 0.81
<sorear> TSC: what isntances are being derived?
<chessguy> araujo!
<araujo> hola chessguy !
<TSC> sorear: I mean instances have already been derived by HaXml
<araujo> como estas? :-)
<TSC> Although it's also "deriving" Show and Eq
<sorear> TSC: ah. what types?
<sorear> what ver. of HaxML?
<TSC> Darcs version
<TSC> The instances seems to be mainly of XmlAttrType
<TSC> And XmlContent
<sorear> how big is the dtd?
<TSC> $ wc svg10.dtd
<TSC> 1704 4576 55654 svg10.dtd
<sorear> y'know, skip the whole compilation phase :)
Previous Page Next Page