On 2008-11-10, Roy Lanek <[EMAIL PROTECTED]> wrote:
> What--and I am serious--about rewriting Ion in ... Haskell?

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.

> Why so?!, because Ion is written--shudder--in the US-dollar of the programming
> languages anno 2008 still; hence, Tuomo (but not only he) has, to ... I am
> paraphrasing Torvalds, play at the "masturbating monke^H^H^H^H^Hreindeer"
> every time he needs to change something in the code that goes beyond
> cosmetics, and be it as as an experiment only, quite likely. ( C's
> *expressivity* oblige.)

C works quite well, especially combined with Lua for the tasks that
are not nicely done in C. Working on Ion's code, I don't often run
into the limitations of C, because I have my frameworks written ages
ago. What would make sense is gradually moving some of auxiliary C 
code to the Lua side.

I really don't like writing the kind of stuff a window manager is in
Haskell. It's too painful. The language just isn't meant for that kind
of stuff. Dynamic data structures (e.g. objects) are _pain_; perhaps
the best way to get around this is _heavy_ threading, every object being
its own thread... it's an academic exercise that I have no time for, 
and of little practical benefit over a tried C implementation that 
works today.

> I skip mentioning other advantages in general, moreover I am sure Tuomo
> perfectly knows that Compiled Haskell is as fast than C

Bullshit. It's very very laboursome to make fast Haskell code, and
especially such that doesn't eat gigabytes of memory for breakfast.

Lie, statistic, benchmark.

Liar, politician, software advocate..

> Lua may be fun, but Haskell (and other modern functional languages) are no
> match ... on standard environments at the least. 

Haskell is fun for academic exercises. Real-world programs are pain. 
Plus the Haskell build environments are shit. GHC is infinite
pain to install anything under. All these language fundies (which
includes the majority of FP people) are always reinventing the OS
for their language only, instead of using the operating system's
tools (such as the file system).

> dwm and all its clone and derivatives look like nano (the editor), or pico of
> the window managers pretty much to me, where ion could be vi; 

Ion is joe <http://joe-editor.sf.net/>.

-- 
"[Fashion] is usually a form of ugliness so intolerable that we have
 to alter it every six months." -- Oscar Wilde
"The computer industry is the only industry that is more fashion-driven
 than women's fashion." -- RMS

Reply via email to