News for hackers. Stuff that matters.
Re:Caml trading – experiences with functional programming o... by spitfire on Thursday August 27, 2009 @06:33PM (#790272)
This was an interesting read. You see lots of puff pieces telling you why you should use a language, but here's a sober experienced voice explaining how ocaml worked out for them. Warts and all. The warts are the most important part to know about.

It's sort of interesting what's happening in the finance industry today. You see less and less java/c# and more erlang, ocaml and ADA.

The CS geeks won out.

Re:Caml trading – experiences with functional programming o... by look_lookatme on Thursday August 27, 2009 @08:28PM (#790451)
It's very interesting. This Jane St. video had a big influence on my decision to spend some time learning ocaml:

http://ocaml.janestreet.com/?q=node/61

Re:Caml trading – experiences with functional programming o... by spitfire on Friday August 28, 2009 @12:20AM (#790724)
Sorry to come back to this thread so late. But I'd like to add that I find Jane Street's sober, mature view to be very attractive. Not the usual pastel-coloured-hype you get from dotcoms, or Button-down-idiocy you get from corporate work but a very appealing no nonsense intellectual approach.

If I were looking for a job they'd be in my top 10. That is all, carry on.

Re:Caml trading – experiences with functional programming o... by Eliezer on Friday August 28, 2009 @03:04AM (#790910)
I've given talks there and Jane Street is awesome. Just my 2c.
Re:Caml trading – experiences with functional programming o... by briancooley on Thursday August 27, 2009 @11:23PM (#790679)
At about 29:30 "You basically can't pay people enough to carefully review dull code."

I found that very insightful.

Re:Caml trading – experiences with functional programming o... by bravura on Thursday August 27, 2009 @10:59PM (#790645)
"In short, programmers may sometimes avoid the same features that make OCaml such a pleasant language to program with. It is possible to address this problem by using more aggressive optimization techniques (e.g., whole-program optimization as is used in the MLton Standard ML compiler (MLton, 2007)). Unfortunately, it does not seem likely that such optimization will be available any time soon for OCaml."

Then why OCaml over Standard ML using the MLton implementation?

Re:Caml trading – experiences with functional programming o... by boskone on Friday August 28, 2009 @08:03AM (#791196)
Never could adapt to OCaml's undisciplined syntax. SML's is clean. MLTon is very nice with a couple of limitations, practical upper bound of program size and compilation times.

One of the co-authors, S. Weeks, was (is?) one of the core MLTon compiler developers. If feasible they certainly could have evolved the compiler and the SML language.

Somewhat interesting is F# lost out to Ocaml in a bakeoff.

In a way Jane St. has got themselves in a bit of a corner. I don't see how Ocaml is substantially less moribund then SML.

Here is an interesting thought to mull over. With the upcoming 2.8 Scala compiler _every_ substantive feature of (S/C)ML is available with equal or higher capability.

In other words, strike out use of objects in Scala and one is left with the most advanced (and active) MLs around. Hmm...

Re:Caml trading – experiences with functional programming o... by gaius on Friday August 28, 2009 @10:36AM (#791427)
The revised syntax (camlp4) is much more regular, that's the only one I use.
Re:Caml trading – experiences with functional programming o... by gaius on Friday August 28, 2009 @01:27AM (#790808)
He answers this: because OCaml is a much better "Unix citizen". Also, SML is a frozen standard, whereas OCaml is actively developed.
Re:Caml trading – experiences with functional programming o... by cema on Thursday August 27, 2009 @09:47PM (#790542)
Definitely worth a read. They discuss which language features gave them advantage and disadvantage and so the lessons can be used by programmers in many other languages as well.