News for hackers. Stuff that matters.
Re:Caml Trading – Experiences with OCaml on Wall Street [video] by DanielBMarkham on Thursday September 11, 2014 @06:22AM (#8301750)
Very cool. I was very close to going all-in with OCaml a few years back when I made the switch to FP. I still love their module system -- and am very disappointed to see F# leaving its roots and becoming just another .NET language (which has it's good parts and bad parts)

What swayed me at the time was the fact that you had to roll your own libraries for so many things that you get out of the box with .NET. I understand that's changing, but in my mind it's just not ready yet. Maybe in a year or two. I'm still thinking of moving on to something else. It's either going to be OCaml or Haskell.

Would love to see some folks doing this same kind of thing with F#, talking about real-world production systems.

I've done some small app work with it, and blogged about it ( http://tiny-giant-books.com/blog/real-world-f-programming-pa... ), but what the F# community could use is some fans like OCaml has with Jane Street.

Re:Caml Trading – Experiences with OCaml on Wall Street [video] by mercurial on Thursday September 11, 2014 @08:05AM (#8302067)
OPAM, the new package manager, is very good. But, yeah, the ecosystem isn't that huge.
Re:Caml Trading – Experiences with OCaml on Wall Street [video] by logicchains on Thursday September 11, 2014 @09:09AM (#8302331)
Out of interest, what were some of the major things you found missing from the OCaml library ecosystem?
Re:Caml Trading – Experiences with OCaml on Wall Street [video] by DanielBMarkham on Friday September 12, 2014 @05:12AM (#8307202)
Remember, it was 4-5 years ago, and OPAM didn't exist.

I remember thinking, "Wouldn't it be neat to scrape some web sites?" I couldn't find anything in OCaml, but .NET had the HtmlAgilityPack written in C# for Windows. Pop over to github, pull down the source, recompile? Badda bing, badda boom, it's running in Linux. And I'm able to use it in F# without really having to know C# (Even though that's not the case). I realized that I could do that for literally thousands of different apps and utilities. So you had this entire ecosystem of programmers making open source stuff for windows that you could easily use in linux. That was the deal-closer.

Plus it looked like Mono had finished going through it's almost-ready-but-not-quite stage. I would still love to be able to permanently load .NET apps in Apache and call them a la fastCGI, but heck, even that might be a solved problem by now.

Finally there was the F# community, which was basically a bunch of old OO MS hacks like myself trying to find their way along mixed in with some really nice academic types who were helpful. OCaml, sadly, did not have that kind of feel. Instead there was a lot of French. And searching around the web for answers to how to do really simple things, like get started, write a web app, or cross-system develop.

The barrier to entry was just too high.

But, like I said, that's changing.

Re:Caml Trading – Experiences with OCaml on Wall Street [video] by DennisP on Thursday September 11, 2014 @03:05PM (#8304496)
In what way has F# become just another .Net language?
Re:Caml Trading – Experiences with OCaml on Wall Street [video] by DanielBMarkham on Friday September 12, 2014 @05:14AM (#8307209)
They really should have adopted functors and the OCaml module system. By not doing so, it's leaving too much coolness on the table. Instead, they did this thing where every file is actually a module, but not really. Kind of an OO mess. If they are not careful, they're going to end up in Scala hell, where it's FP sitting on top of OOP, instead of a true hybrid language. (Yes, I know it's all CLR under the hood, I'm talking about how it feels to the average developer)
Re:Caml Trading – Experiences with OCaml on Wall Street [video] by frowaway001 on Friday September 12, 2014 @10:51AM (#8308299)
> If they are not careful, they're going to end up in Scala hell, where it's FP sitting on top of OOP, instead of a true hybrid language.

Maybe there are better hybrid languages, but compared to Scala I wouldn't even try calling OCaml or F# hybrids. OO/FP interop in those languages feels like the language designers were actively sabotaging it.