TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Real World Ocaml announced

116 pointsby j2labsabout 13 years ago

8 comments

anticsabout 13 years ago
Discussions of whether OCaml is "practical" or useful or good aside, this book really, <i>really</i> needed to be written.<p>It may be the case that there are truly excellent resources for learning OCaml, but I know the language, and I've never heard of them. There's Jason Hickey's tutorial, an introduction or two scattered around the internet, and some book that was fan-translated from French, sure, but OCaml lacks the hackerly dialogue that typifies discussion of languages like Haskell. It is a problem, for example, that these usually very incomplete hobbyist-curated tutorials almost always outstrip the professional literature: when people do publish books about OCaml, they are often littered with errors or flat-out wrong (I'm looking at you, Practical OCaml).<p>Regardless of whether we can all get on board with asynchronous whatever, or pronouncements about its "real" speed, or whether it should be used when Haskell is around, it is clear that there is a huge divide between the people who actually can argue these things well, and those who cannot, and switching from the first group to the second by yourself is tempestuous and trying. Is it the case that there are no OCaml experts in the world? If you are going by the amount of information on the Internet, it is not really obvious that this is actually the case. How can you, then, become one?<p>Besides that, though, having a sound OCaml counterpoint will do communities like Haskell good. I hope this finally ushers in the golden era of learning OCaml. Not everyone can take CS51 at Harvard, and besides, the credulity of a real (and good?) book about OCaml will hopefully advance the dialogue further than the typical questions of whether it can actually be done in X, Y and Z enterprise environments. That is a debate I (and probably many OCaml fans) have heard enough of.
评论 #3642552 未加载
评论 #3641988 未加载
dustingetzabout 13 years ago
Yaron Minsky is the technical director at Jane Street Capital, which is one of the most prestigious functional programming shops in the world.<p><a href="http://janestreet.com/technology/articles.php" rel="nofollow">http://janestreet.com/technology/articles.php</a>
评论 #3643261 未加载
评论 #3648693 未加载
CoffeeDregsabout 13 years ago
Perhaps OT: I've tried to like OCaml 2 or 3 times so far and have not succeeded. I've loved Haskell (until I hit the wall), enjoy Python, enjoyed Ruby, am very happy with JS, had a love/hate relationship with C/C++ (really, header files?!), loved Java compared to C/C++ (until I learned to hate Java). And I'm generally really excited by what's going on in languages right now.<p>I just wish there was an SML for the JVM. But until then Ocaml is probably the gear and I look forward to reading this book.<p>And, oh my golly, have you seen OCaml's Eliom for Ocsigen? Absurdly interesting. <a href="http://ocsigen.org/eliom/" rel="nofollow">http://ocsigen.org/eliom/</a> One language for the browser and server, with client/server transparency and best-in-class server performance.
评论 #3642603 未加载
amirmcabout 13 years ago
I'm curious. How many folks here have used OCaml for production work? I'd just like to get an idea of the numbers.<p>Edit: By 'production work' I meant built things that are being used by other people.
评论 #3641570 未加载
评论 #3642016 未加载
评论 #3641827 未加载
评论 #3642561 未加载
评论 #3642864 未加载
评论 #3642670 未加载
habermanabout 13 years ago
As a primarily imperative programmer who is just becoming more familiar with Haskell, I'd love to see a compare/contrast between Haskell and Ocaml from someone with expertise in this area.
评论 #3641812 未加载
评论 #3641997 未加载
评论 #3641872 未加载
评论 #3642004 未加载
评论 #3643419 未加载
评论 #3641874 未加载
ilakshabout 13 years ago
Oh.. I thought that this was going to be an actual version of Ocaml that was practical in the real world, rather than a book.
评论 #3641471 未加载
gtaniabout 13 years ago
Really overdue. Not sure if it closely follows Hickey's PDF draft from a couple years ago, but thought it was well done.<p>Of the 8 most frequently encountered FP languages (clojure, scheme, CL) (haskell, ocaml, F#, erlang, scala) all have at least a handful of good intro texts, plus a few intermediate +.<p>Except Ocaml
wbkangabout 13 years ago
It's called F#. It comes with a much more succinct syntax, too.