TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Real World Ocaml announced

116 点作者 j2labs大约 13 年前

8 条评论

antics大约 13 年前
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 未加载
dustingetz大约 13 年前
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 未加载
CoffeeDregs大约 13 年前
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 未加载
amirmc大约 13 年前
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 未加载
haberman大约 13 年前
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 未加载
ilaksh大约 13 年前
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 未加载
gtani大约 13 年前
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
wbkang大约 13 年前
It's called F#. It comes with a much more succinct syntax, too.