Kyle R. Burton on 15 Jun 2008 08:30:17 -0700 |
> Does anyone on the list have experience with OCaml? Likes, dislikes? No, but it's on my 'list'. I have the Practical OCaml book, which looks to be a good introduction. I've only lightly read into the first 40 or so pages - I got distracted and left it at that (and I was a bit disappointed that the Author said 'FP ftw!' and then went on to show you how to do state management pretty early in the book). I know that Janestreet uses it b/c they have a recruitment ad that shows up at the top of my gmail on a regular basis. They also have a blog: http://ocaml.janestcapital.com/ ledit is a cool utility that comes with OCaml that wraps readline like support around any other command (which is something I typically used emacs shell mode for previously). The shootout numbers for OCaml are impressive and one of the things that lead me to explore FP in the first place. One thing I'm curious about - with both Haskell and OCaml, the languages which are strongly statically typed - this philosophy seems to be at odds with code re-use and the development of library code to a certain extent. It seems to lead toward monolithic programs. What I'm getting at is, with many of teh languages I'm familiar with you can define a plugin API and load plugins at runtime (eg, using a classloader in Java, eval in many other languages, Perl's 'do', etc.). Know what I'm getting at? Have any experience with it? Maybe I just need to see (or make) a larger scale system with one of these languages (though I don't yet know how I'm going to get that opportunity atm). I can see how it'd work with Erlang, at least I think, with the whole message passing paradigm, that makes for a clean decoupling where you can swap in/out module. I'm not seeing how that works with Haskell or OCaml (just as two examples). Kyle
|
|