> Rewrites in The Language of the Day are lame (see also the .signature), for
> people with a lot of time in their hands and no original ideas.
Haskell language-of-the-day ... why?, because xmonad is using it? (Nor was
I thinking at an 1-1 rewrite, it would not work well in general even among
languages of the same class.)
> C works quite well, especially combined with Lua for the tasks that
> are not nicely done in C.
True: Eiffel, Ada, Modula-3, ..., even Haskell generate intermediary C code.
(Works well apparently ... minus the setjmp and family thing.)
> into the limitations of C, because I have my frameworks written ages ago.
Oh dear, hello Moses- (the illiterate who brought back the astonishing
writings) alike, or Muhammad- (ditto [illiterate]) alike. And who did write
your "frameworks" "ages ago"?
> The language just isn't meant for that kind of stuff.
Can't tell now. On the other hand:
Haskell Hacking: a journal of Haskell programming
2007-05-17
Roll Your Own Window Manager: Tracking Focus with a Zipper
http://cgi.cse.unsw.edu.au/~dons/blog/2007/05/17
> Dynamic data structures (e.g. objects) are _pain_ ...
You do have a good, comfortable life, there in Finland, eh? :) Anyway, I don't
remember such a "_pain_." (I am thinking back at a semester exercise in Hope
of a bank-simulation: no _pain_.)
> Bullshit. It's very very laboursome to make fast Haskell code, and
> especially such that doesn't eat gigabytes of memory for breakfast.
Hmmm ...
I am sure you have seen those classic examples from the physiology ... one
looks at image, and sees something. Then one looks again, and ... oh surprise,
another, different thing can be discovered. Alternatively, you may have seen
those examples which would implement the, e.g., Fibonacci function in a
terribly inefficient way using recursion too naively ... and those solutions
to thankfully *fix* that too.
I have, e.g., *met* reference counting in the *real world* for the first time
once we had to implement it for reusing allocated memory (Pascal on VAX)
because we were larding objects on the left and on the right (paging) in a
very inefficient way. (I have later discovered a similar situation described
in Programmin Pearls, by the way.)
/Roy
--
:::::::::::::::::::::::::::::::::::;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::9::
::::::::::;::@@@:::::::::::::::@P:::::::::::::::::::::::::::::::::::::::9::
:::::::@@@@::::@::L;:;;:::::;;;7F:;LL:;;;::::;LL:;L::;:::LLL:;;::;L;::::9::
:::::::@@L@::::@::7@@FH@:::@FH@>@@@@7:9F7::::77@;:[EMAIL
PROTECTED]@;:77@@[EMAIL PROTECTED]@:::@::
:::::::::7@::::@:::@:::7E:H4::7>F::7@:@:::9L::::@:@F:::@:::@L:::F:;;@::::::
::::::@@F:@L:::@:::@::::@:@::::>F:::@:@:::9L::::@:A::::@:::@::::@:777::::::
::B:::@:::@:;:@@:::@L;;@@:AL:::::::;@:7@@@@L@:;@F:7@;:;@:::@::::7@@L:::::::
::E:::7@@@57HM7@@@L:[EMAIL PROTECTED]:@@@::::@@E:@@@[EMAIL
PROTECTED]:::7HMF@@::@::::@;;@L::::::
::E:::::::::::::::::::::::::::::::::::::::9@:::::::::::::::@@L::@7F7:::::::
::E::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::AMMMMMMMMMM Slackware Linux MMMMMMMMMM:::::::::::::::::::::::::::::::::::