<jdh30>
Apparently Haskell is as fast as OCaml if you move to legacy hardware, change the OCaml code and compile line...
<psnively>
OIC. He used GHC 6.8.1 on a 32-bit system?
<jdh30>
Yeah. The newer GHC is a red herring: he is comparing the performance difference between GHC6 and OCaml from the 64-bit results on my site with his own 32-bit results.
<psnively>
Dare I ask how he changed the O'Caml code?
<psnively>
Not necessarily a red herring; there actually are some nice performance improvements in 6.8.1.
<jdh30>
I haven't looked. I just noticed a comment saying that it would be nice if he compared his new results with my originals.
<jdh30>
I'm sure he'll get the same results as me if he runs his 64-bit CPU in 64-bit mode... :-)
<psnively>
Yes, people seem to get that the comparison is 32/64 bit and likely to be quite different in practice between the platforms.
<jdh30>
However, his Haskell implementations are almost twice as fast as the previous ones on my machine and that puts Haskell as a much more competitive language.
<jdh30>
Well, my site gives both 32-bit (red) and 64-bit results so I don't see how he got confused about that or about my machine (which is detailed at the top of the results page)...
<psnively>
I don't know that he did get confused.
<psnively>
I think it's possible to write relatively performant Haskell, especially with GHC 6.8.1. I know it's possible to write relatively performant O'Caml. :-)
<psnively>
I do think it's time to develop a couple of things... first, world-class Aqua bindings for O'Caml, and secondly, a very good scene graph API around LablGl (inspired by, say, OpenSceneGraph).
yminsky has joined #ocaml
ser has joined #ocaml
<jdh30>
We put a lot of work into the scene graph in Smoke, which would work equally well for 3D.
<jdh30>
Aqua bindings I don't know about. We've been considering moving into the Mac market but things are really busy right now...
<yminsky>
Hi Jon.
<yminsky>
I have a question for you...
<jdh30>
What's that?
<yminsky>
I recently noticed the posting on your rendering benchmark and Haskell. I'm curious what you think is going on. Has GHC just gotten that much better?
<jdh30>
The new results are equivalent to my old 32-bit results. So I would say that Haskell has not improved that much.
<psnively>
Heh.
<jdh30>
However, the new Haskell implementations are substantially faster than the old ones on all systems I've tried.
<jdh30>
So I think the new implementations really put Haskell on the map, even in the context of performance-intensive programs.
<yminsky>
I thought in your old 32-bit results, Haskell was a chunk behind OCaml, not ahead (even on 32-bit)
<yminsky>
(although I see the 32-bit results aren't on your site anymore)
<jdh30>
Now that you mention it, I'm not sure I ever had 32-bit results for Haskell. OCaml is certainly a lot slower in 32-bit.
<jdh30>
I'll benchmark it now. I really need to do something to clean up that image as well: all these results are getting a bit overwhelming.
<yminsky>
I agree. It's a bit hard to parse at this point.
<jdh30>
I also have results for 64-bit MLton, which is a big disappointment... :-(
<psnively>
Haskell people seem very pleased with the improvements in GHC 6.8.1.
<jdh30>
With the new Haskell implementations, Haskell is performant using only GHC 6.5 here.
<jdh30>
I haven't even tried 6.8...
<yminsky>
I'll be curious what Steven has to say about the mlton results. I actually hadn't realized the 64-bit back-end had landed yet.
<jdh30>
Yeah. IIRC, MLton is the only implementation that actually sees a slow-down moving to 64-bit. Real shame...
<jdh30>
We've been debating on c.l.functional recently and I think there is significant interest in a new FPL development, drawing upon OCaml, MLton, Haskell and F#.
<jdh30>
I'd love to see a bigger, better language...
<psnively>
Really? There aren't huge wars between the strict and lazy camps?
<yminsky>
Both Simon Peyton Jones and Phil Wadler seem to be of the opinion that the "next language" should be strict by default. SPJ has been peddling his "the next ML will be pure and the next Haskell will be strict" line for a while now.
<jdh30>
Hmm, I agree with strict but I'm not sure about pure...
<jdh30>
Two reasons for impurity are: easier for newbies coming from imperative languages to gradually adopt a pure style when applicable, and easier for experts to write efficient code.
<yminsky>
I haven't played around enough with a pure language to have a real opinion on it. My intuition is that banning state is too extreme, but it would be nice for the type-system to understand which functions do and do not have side effects.
<mbishop>
that would be neat
<mbishop>
having the type system tell you when something is unsafe
<jdh30>
The ray tracer is a good example: the Haskell has been optimized by lots of people over a long period of time and only just got competitive.
<psnively>
I dunno. With Oleg and Ken Shan's wizardry in taking advantage of purity, I'm becoming convinced.
<mbishop>
Also, who do I poke to find out why the graphics module still has hickups with signals and the Unix module?
<mbishop>
I saw Xavier Leroy posted a workaround to that problem 5 years ago
<mbishop>
yet nothing actually got fixed heh
<jdh30>
yaron: yes, I agree about types for pure fns.
RobertFischer has joined #ocaml
<jdh30>
I'd like OCaml plus: pattern matching over lazy values, type classes and modern integrated graphics.
<jdh30>
hi robert
<jdh30>
By "modern integrated graphics" I mean something akin to Mathematica's notebook interface.
<RobertFischer>
Hey.
<jdh30>
I just noticed that guy also tweaked the GHC command line options to improve performance significantly.
jdh30 has quit ["using sirc version 2.211+KSIRC/1.3.12"]
jdh30 has joined #ocaml
<psnively>
They seem like reasonable options to me.
buluca has quit [Read error: 113 (No route to host)]
psnively has quit [zelazny.freenode.net irc.freenode.net]
seafood has quit [zelazny.freenode.net irc.freenode.net]
flux has quit [zelazny.freenode.net irc.freenode.net]
svenl has quit [zelazny.freenode.net irc.freenode.net]
gaja has quit [zelazny.freenode.net irc.freenode.net]
Hadaka has quit [zelazny.freenode.net irc.freenode.net]
l_a_m has quit [zelazny.freenode.net irc.freenode.net]
ulfdoz has quit [zelazny.freenode.net irc.freenode.net]
acatout has quit [zelazny.freenode.net irc.freenode.net]
eroyf has quit [zelazny.freenode.net irc.freenode.net]
TaXules has quit [zelazny.freenode.net irc.freenode.net]
Modius has quit [zelazny.freenode.net irc.freenode.net]
Amorphous has quit [zelazny.freenode.net irc.freenode.net]
piggybox has quit [zelazny.freenode.net irc.freenode.net]
authentic has quit [zelazny.freenode.net irc.freenode.net]
zmdkrbou has quit [zelazny.freenode.net irc.freenode.net]
guyzmo has quit [zelazny.freenode.net irc.freenode.net]
unfo- has quit [zelazny.freenode.net irc.freenode.net]
seafood__ has quit [zelazny.freenode.net irc.freenode.net]
\\ has quit [zelazny.freenode.net irc.freenode.net]
ser has quit [zelazny.freenode.net irc.freenode.net]
jeremiah has quit [zelazny.freenode.net irc.freenode.net]
gunark has quit [zelazny.freenode.net irc.freenode.net]
Torment has quit [zelazny.freenode.net irc.freenode.net]
schme has quit [zelazny.freenode.net irc.freenode.net]
messju has quit [zelazny.freenode.net irc.freenode.net]
aij has quit [zelazny.freenode.net irc.freenode.net]
sergez has quit [zelazny.freenode.net irc.freenode.net]
Smerdyakov has quit [zelazny.freenode.net irc.freenode.net]
tristram has quit [zelazny.freenode.net irc.freenode.net]
mbishop has quit [zelazny.freenode.net irc.freenode.net]
bebui has quit [zelazny.freenode.net irc.freenode.net]
jdh30 has quit [zelazny.freenode.net irc.freenode.net]
yminsky has quit [zelazny.freenode.net irc.freenode.net]
joshcryer has quit [zelazny.freenode.net irc.freenode.net]
jlouis_ has quit [zelazny.freenode.net irc.freenode.net]
bhall has quit [zelazny.freenode.net irc.freenode.net]
Demitar has quit [zelazny.freenode.net irc.freenode.net]
Mr_Awesome has quit [zelazny.freenode.net irc.freenode.net]
romanoffi has quit [zelazny.freenode.net irc.freenode.net]
vorago has quit [zelazny.freenode.net irc.freenode.net]
det has quit [zelazny.freenode.net irc.freenode.net]
zvrba has quit [zelazny.freenode.net irc.freenode.net]
Oatschool has quit [zelazny.freenode.net irc.freenode.net]
cmeme has quit [zelazny.freenode.net irc.freenode.net]
dropdrive has quit [zelazny.freenode.net irc.freenode.net]
Sparkles has quit [zelazny.freenode.net irc.freenode.net]
RobertFischer has quit [zelazny.freenode.net irc.freenode.net]
pango_ has quit [zelazny.freenode.net irc.freenode.net]
Abo-Marwan has quit [zelazny.freenode.net irc.freenode.net]
screwt8 has quit [zelazny.freenode.net irc.freenode.net]
tsuyoshi has quit [zelazny.freenode.net irc.freenode.net]
mattam has quit [zelazny.freenode.net irc.freenode.net]
diakopter has quit [zelazny.freenode.net irc.freenode.net]
pattern has quit [zelazny.freenode.net irc.freenode.net]
pattern has joined #ocaml
diakopter has joined #ocaml
mattam has joined #ocaml
tsuyoshi has joined #ocaml
screwt8 has joined #ocaml
Abo-Marwan has joined #ocaml
pango_ has joined #ocaml
Modius has joined #ocaml
Amorphous has joined #ocaml
piggybox has joined #ocaml
authentic has joined #ocaml
guyzmo has joined #ocaml
zmdkrbou has joined #ocaml
unfo- has joined #ocaml
seafood__ has joined #ocaml
\\ has joined #ocaml
gunark has joined #ocaml
Torment has joined #ocaml
sergez has joined #ocaml
schme has joined #ocaml
messju has joined #ocaml
aij has joined #ocaml
Smerdyakov has joined #ocaml
bebui has joined #ocaml
tristram has joined #ocaml
mbishop has joined #ocaml
eroyf has joined #ocaml
acatout has joined #ocaml
jeremiah has joined #ocaml
TaXules has joined #ocaml
psnively has joined #ocaml
svenl has joined #ocaml
flux has joined #ocaml
gaja has joined #ocaml
seafood has joined #ocaml
Hadaka has joined #ocaml
l_a_m has joined #ocaml
ulfdoz has joined #ocaml
jdh30 has joined #ocaml
yminsky has joined #ocaml
joshcryer has joined #ocaml
jlouis_ has joined #ocaml
bhall has joined #ocaml
Demitar has joined #ocaml
Mr_Awesome has joined #ocaml
romanoffi has joined #ocaml
vorago has joined #ocaml
det has joined #ocaml
zvrba has joined #ocaml
cmeme has joined #ocaml
Oatschool has joined #ocaml
Sparkles has joined #ocaml
dropdrive has joined #ocaml
RobertFischer has joined #ocaml
RobertFischer has quit [Remote closed the connection]
acatout has quit [zelazny.freenode.net irc.freenode.net]
eroyf has quit [zelazny.freenode.net irc.freenode.net]
seafood__ has quit [zelazny.freenode.net irc.freenode.net]
unfo- has quit [zelazny.freenode.net irc.freenode.net]
authentic has quit [zelazny.freenode.net irc.freenode.net]
\\ has quit [zelazny.freenode.net irc.freenode.net]
piggybox has quit [zelazny.freenode.net irc.freenode.net]
guyzmo has quit [zelazny.freenode.net irc.freenode.net]
zmdkrbou has quit [zelazny.freenode.net irc.freenode.net]
jeremiah has quit [zelazny.freenode.net irc.freenode.net]
Modius has quit [zelazny.freenode.net irc.freenode.net]
Amorphous has quit [zelazny.freenode.net irc.freenode.net]
romanoffi has quit [zelazny.freenode.net irc.freenode.net]
jdh30 has quit [zelazny.freenode.net irc.freenode.net]
bhall has quit [zelazny.freenode.net irc.freenode.net]
Oatschool has quit [zelazny.freenode.net irc.freenode.net]
jlouis_ has quit [zelazny.freenode.net irc.freenode.net]
yminsky has quit [zelazny.freenode.net irc.freenode.net]
cmeme has quit [zelazny.freenode.net irc.freenode.net]
zvrba has quit [zelazny.freenode.net irc.freenode.net]
det has quit [zelazny.freenode.net irc.freenode.net]
dropdrive has quit [zelazny.freenode.net irc.freenode.net]
Mr_Awesome has quit [zelazny.freenode.net irc.freenode.net]
Sparkles has quit [zelazny.freenode.net irc.freenode.net]
joshcryer has quit [zelazny.freenode.net irc.freenode.net]
vorago has quit [zelazny.freenode.net irc.freenode.net]
Demitar has quit [zelazny.freenode.net irc.freenode.net]
seafood has quit [zelazny.freenode.net irc.freenode.net]
flux has quit [zelazny.freenode.net irc.freenode.net]
svenl has quit [zelazny.freenode.net irc.freenode.net]
psnively has quit [zelazny.freenode.net irc.freenode.net]
gaja has quit [zelazny.freenode.net irc.freenode.net]
Hadaka has quit [zelazny.freenode.net irc.freenode.net]
l_a_m has quit [zelazny.freenode.net irc.freenode.net]
ulfdoz has quit [zelazny.freenode.net irc.freenode.net]
tristram has quit [zelazny.freenode.net irc.freenode.net]
aij has quit [zelazny.freenode.net irc.freenode.net]
sergez has quit [zelazny.freenode.net irc.freenode.net]
messju has quit [zelazny.freenode.net irc.freenode.net]
Smerdyakov has quit [zelazny.freenode.net irc.freenode.net]
mbishop has quit [zelazny.freenode.net irc.freenode.net]
Torment has quit [zelazny.freenode.net irc.freenode.net]
schme has quit [zelazny.freenode.net irc.freenode.net]
gunark has quit [zelazny.freenode.net irc.freenode.net]
bebui has quit [zelazny.freenode.net irc.freenode.net]
TaXules has quit [zelazny.freenode.net irc.freenode.net]
tsuyoshi has quit [zelazny.freenode.net irc.freenode.net]
diakopter has quit [zelazny.freenode.net irc.freenode.net]
pango_ has quit [zelazny.freenode.net irc.freenode.net]
mattam has quit [zelazny.freenode.net irc.freenode.net]
pattern has quit [zelazny.freenode.net irc.freenode.net]
screwt8 has quit [zelazny.freenode.net irc.freenode.net]
Abo-Marwan has quit [zelazny.freenode.net irc.freenode.net]
pango_ has joined #ocaml
Abo-Marwan has joined #ocaml
screwt8 has joined #ocaml
tsuyoshi has joined #ocaml
mattam has joined #ocaml
diakopter has joined #ocaml
pattern has joined #ocaml
eroyf has joined #ocaml
acatout has joined #ocaml
jeremiah has joined #ocaml
psnively has joined #ocaml
svenl has joined #ocaml
flux has joined #ocaml
gaja has joined #ocaml
seafood has joined #ocaml
Hadaka has joined #ocaml
l_a_m has joined #ocaml
ulfdoz has joined #ocaml
mrsolo has joined #ocaml
Modius has joined #ocaml
Amorphous has joined #ocaml
gunark has joined #ocaml
Torment has joined #ocaml
sergez has joined #ocaml
schme has joined #ocaml
messju has joined #ocaml
aij has joined #ocaml
Smerdyakov has joined #ocaml
bebui has joined #ocaml
tristram has joined #ocaml
mbishop has joined #ocaml
TaXules has joined #ocaml
piggybox has joined #ocaml
authentic has joined #ocaml
guyzmo has joined #ocaml
zmdkrbou has joined #ocaml
unfo- has joined #ocaml
seafood__ has joined #ocaml
\\ has joined #ocaml
joshcryer has joined #ocaml
jlouis_ has joined #ocaml
bhall has joined #ocaml
Demitar has joined #ocaml
Mr_Awesome has joined #ocaml
romanoffi has joined #ocaml
vorago has joined #ocaml
det has joined #ocaml
zvrba has joined #ocaml
cmeme has joined #ocaml
Oatschool has joined #ocaml
Sparkles has joined #ocaml
dropdrive has joined #ocaml
psnively has quit []
jeremiah has quit [zelazny.freenode.net irc.freenode.net]
jeremiah has joined #ocaml
jeremiah has quit [Connection timed out]
jeremiah has joined #ocaml
seafood__ has quit [zelazny.freenode.net irc.freenode.net]
unfo- has quit [zelazny.freenode.net irc.freenode.net]
authentic has quit [zelazny.freenode.net irc.freenode.net]
\\ has quit [zelazny.freenode.net irc.freenode.net]
piggybox has quit [zelazny.freenode.net irc.freenode.net]
guyzmo has quit [zelazny.freenode.net irc.freenode.net]
zmdkrbou has quit [zelazny.freenode.net irc.freenode.net]
piggybox has joined #ocaml
authentic has joined #ocaml
guyzmo has joined #ocaml
zmdkrbou has joined #ocaml
unfo- has joined #ocaml
seafood__ has joined #ocaml
\\ has joined #ocaml
Modius has quit [zelazny.freenode.net irc.freenode.net]
mrsolo has quit [zelazny.freenode.net irc.freenode.net]
Amorphous has quit [zelazny.freenode.net irc.freenode.net]
Modius has joined #ocaml
mrsolo has joined #ocaml
Amorphous has joined #ocaml
guyzmo has quit [SendQ exceeded]
seafood has quit []
authentic has quit [Remote closed the connection]
authentic has joined #ocaml
seafood has joined #ocaml
guyzmo has joined #ocaml
__mattam__ has joined #ocaml
Ober_ has joined #ocaml
mattam has quit [Read error: 104 (Connection reset by peer)]
diakopte1 has joined #ocaml
hcarty has quit [Read error: 104 (Connection reset by peer)]
hcarty has joined #ocaml
tsuyoshi_ has joined #ocaml
Ober has quit [Connection reset by peer]
diakopter has quit [Read error: 104 (Connection reset by peer)]
tsuyoshi has quit [Read error: 104 (Connection reset by peer)]
jonafan has quit [Killed by ballard.freenode.net (Nick collision)]
mrsolo has quit [zelazny.freenode.net irc.freenode.net]
Amorphous has quit [zelazny.freenode.net irc.freenode.net]
bluestorm has joined #ocaml
bluestorm has quit [Read error: 104 (Connection reset by peer)]
Amorphous has joined #ocaml
TaXules_ has joined #ocaml
TaXules has quit [zelazny.freenode.net irc.freenode.net]
tsuyoshi_ is now known as tsuyoshi
TaXules_ has quit [zelazny.freenode.net irc.freenode.net]
guyzmo has quit [zelazny.freenode.net irc.freenode.net]
seafood has quit [zelazny.freenode.net irc.freenode.net]
flux has quit [zelazny.freenode.net irc.freenode.net]
svenl has quit [zelazny.freenode.net irc.freenode.net]
gaja has quit [zelazny.freenode.net irc.freenode.net]
gaja has joined #ocaml
TaXules has joined #ocaml
flux has joined #ocaml
guyzmo has joined #ocaml
seafood has joined #ocaml
svenl has joined #ocaml
svenl_ has joined #ocaml
svenl has quit [Nick collision from services.]
svenl_ is now known as svenl
svenl has quit [zelazny.freenode.net irc.freenode.net]
seafood has quit [zelazny.freenode.net irc.freenode.net]
svenl has joined #ocaml
seafood has joined #ocaml
seafood has quit [Success]
svenl has quit [Remote closed the connection]
svenl_ has joined #ocaml
seafood has joined #ocaml
seafood has quit [zelazny.freenode.net irc.freenode.net]
guyzmo has quit [zelazny.freenode.net irc.freenode.net]
Ober_ has quit [zelazny.freenode.net irc.freenode.net]
romanoffi has quit [zelazny.freenode.net irc.freenode.net]
bhall has quit [zelazny.freenode.net irc.freenode.net]
Oatschool has quit [zelazny.freenode.net irc.freenode.net]
jlouis_ has quit [zelazny.freenode.net irc.freenode.net]
cmeme has quit [zelazny.freenode.net irc.freenode.net]
zvrba has quit [zelazny.freenode.net irc.freenode.net]
det has quit [zelazny.freenode.net irc.freenode.net]
dropdrive has quit [zelazny.freenode.net irc.freenode.net]
Mr_Awesome has quit [zelazny.freenode.net irc.freenode.net]
Sparkles has quit [zelazny.freenode.net irc.freenode.net]
joshcryer has quit [zelazny.freenode.net irc.freenode.net]
vorago has quit [zelazny.freenode.net irc.freenode.net]
Demitar has quit [zelazny.freenode.net irc.freenode.net]
bhall has joined #ocaml
jlouis has joined #ocaml
cmeme has joined #ocaml
seafood has joined #ocaml
guyzmo has joined #ocaml
Ober_ has joined #ocaml
joshcryer has joined #ocaml
Demitar has joined #ocaml
Mr_Awesome has joined #ocaml
romanoffi has joined #ocaml
vorago has joined #ocaml
det has joined #ocaml
Oatschool has joined #ocaml
Sparkles has joined #ocaml
dropdrive has joined #ocaml
romanoffi has quit [zelazny.freenode.net irc.freenode.net]
seafood has quit [zelazny.freenode.net irc.freenode.net]
Oatschool has quit [zelazny.freenode.net irc.freenode.net]
det has quit [zelazny.freenode.net irc.freenode.net]
dropdrive has quit [zelazny.freenode.net irc.freenode.net]
Mr_Awesome has quit [zelazny.freenode.net irc.freenode.net]
Sparkles has quit [zelazny.freenode.net irc.freenode.net]
joshcryer has quit [zelazny.freenode.net irc.freenode.net]
vorago has quit [zelazny.freenode.net irc.freenode.net]
guyzmo has quit [zelazny.freenode.net irc.freenode.net]
Demitar has quit [zelazny.freenode.net irc.freenode.net]
cmeme has quit [zelazny.freenode.net irc.freenode.net]
Ober_ has quit [zelazny.freenode.net irc.freenode.net]
zvrba has joined #ocaml
cmeme has joined #ocaml
seafood has joined #ocaml
guyzmo has joined #ocaml
Ober_ has joined #ocaml
joshcryer has joined #ocaml
Demitar has joined #ocaml
Mr_Awesome has joined #ocaml
romanoffi has joined #ocaml
vorago has joined #ocaml
det has joined #ocaml
Oatschool has joined #ocaml
Sparkles has joined #ocaml
dropdrive has joined #ocaml
love-pingoo has joined #ocaml
seafood has left #ocaml []
seafood has joined #ocaml
love-pingoo has quit ["Connection reset by pear"]
hcarty has quit [Remote closed the connection]
schme` has joined #ocaml
Tov_enst has joined #ocaml
hcarty has joined #ocaml
schme has quit [Read error: 110 (Connection timed out)]
buluca has joined #ocaml
seafood has quit []
seafood has joined #ocaml
seafood has quit [Client Quit]
__mattam__ is now known as mattam
smimou has joined #ocaml
<flux>
I had an idea the other day.. it should be possible to create reliable refactoring tools with camlp4 and the piece of code that annotates the code with types (per -dtypes)
<flux>
for example renaming constructors or types without bad side effects