Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Why Haskell is so slow

Name: FrozenVoid 2010-07-03 2:02

In languages that use lazy evaluation by default (like Haskell), all functions are effectively "short-circuit", and special short-circuit operators are unnecessary.

Short-circuiting can lead to errors in branch prediction on modern processors, and dramatically reduce performance (a notable example is highly optimized ray with axis aligned box intersection code in raytracing). Some compilers can detect such cases and emit faster code, but it is not always possible due to possible violations of the C standard. Highly optimized code should use other ways for doing this (like manual usage of assembly code).[citation needed]

http://en.wikipedia.org/wiki/Short_circuit_evaluation

__________________
Orbis terrarum delenda est

Name: Anonymous 2010-07-03 2:25

I got it.It's conspiracy of imperative faggots against functional knights. They deserve it.

Name: Anonymous 2010-07-03 2:40

I agree that short circuits might be harmful to processors.

Name: Anonymous 2010-07-03 4:56

Haskell is so slow because it's dead.

Name: Anonymous 2010-07-03 7:48

What we need is Haskell stack machine.

Name: Anonymous 2010-07-03 8:28

>>5
So you can overflow it..faster

Name: Anonymous 2010-07-03 10:19

☣ Please try to ignore troll posts☣

Name: Anonymous 2010-07-03 10:55

[code### Please feed the trolls ###

Otherwise they will get hungry :-([/code]

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List