Invisible <voi### [at] dev null> wrote:
> OCaml (and F#) look to be much more promising in the realm of writing
> production systems de novo. Haskell isn't deterministic in its return
> time (it's Lazy so it may come back in 5 secs or may take 5 hours - and
> you cant really predict up front which - this is fatal for use in eg
> pricing libraries)"
> You heard it here folks - Haskell "isn't deterministic". :-D
> While obviously this statement is false (you /can/ predict run-time,
> it's just harder than you might imagine), the assertion that "this is
> fatal" is probably bang-on.
I don't understand at which point Haskell decides to stop laziness and
start actually computing results. It cannot be lazy forever because it
would just run out of memory sooner or later (probably even with algorithms
that would normally require O(1) memory in an imperative language).
--
- Warp
Post a reply to this message
|