POV-Ray : Newsgroups : povray.off-topic : Quote of the day : Re: Quote of the day Server Time
29 Jul 2024 02:27:54 EDT (-0400)
  Re: Quote of the day  
From: Warp
Date: 3 Jul 2012 00:40:39
Message: <4ff277c7@news.povray.org>
Invisible <voi### [at] devnull> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.