[Haskell-cafe] Are there major inefficiencies in Haskell compared to OCaml?

2009-12-04 Thread Casey Hawthorne
Are there major inefficiencies in Haskell compared to OCaml? If so, can something be done about them? -- Regards, Casey ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Are there major inefficiencies in Haskell compared to OCaml?

2009-12-04 Thread Don Stewart
caseyh: Are there major inefficiencies in Haskell compared to OCaml? If so, can something be done about them? Can you be more specific? Looking at the u64q shootout: http://shootout.alioth.debian.org/u64q/benchmark.php?test=alllang=ghclang2=ocamlbox=1 Shows the two implementations tied

Re: [Haskell-cafe] Are there major inefficiencies in Haskell compared to OCaml?

2009-12-04 Thread Rick R
On Fri, Dec 4, 2009 at 4:25 PM, Casey Hawthorne cas...@istar.ca wrote: Are there major inefficiencies in Haskell compared to OCaml? If so, can something be done about them? There are definitely some gotchas when it comes to performance, mostly in the realm of inadvertent space leaks and

Re: [Haskell-cafe] Are there major inefficiencies in Haskell compared to OCaml?

2009-12-04 Thread Erik de Castro Lopo
Casey Hawthorne wrote: Are there major inefficiencies in Haskell compared to OCaml? As a five plus year veteran of Ocaml and a one year user of Haskell I would say in general no. However, Ocaml's strict evaluation makes it easy for someone new to the language to have a pretty accurate guess

Re: [Haskell-cafe] Are there major inefficiencies in Haskell compared to OCaml?

2009-12-04 Thread M Xyz
However, Ocaml's strict evaluation makes it easy for someone new to the language to have a pretty accurate guess about its run time and memory usage something which can be difficult in the face of Haskell's lazy evaluation (not that I have experienced any obvious manifestations of this myself).