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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

OCaml Resources (2006)

85 点作者 laex将近 10 年前

16 条评论

implicit将近 10 年前
OCaml&#x2F;js_of_ocaml is presently my favourite AltJS stack.<p>OCaml syntax is super idiosyncratic and doesn&#x27;t resemble anything, but, once you retrain your eyes, the underlying semantics are terrific.<p>js_of_ocaml imposes very minimal code overhead (6k-ish). Sourcemaps work great, and OCaml values are mapped into JS in a very straightforward way. You can read them in a JS debugger.<p>Ocsigen&#x27;s lwt library is also the best &quot;callback hell&quot; solution I&#x27;ve found.
评论 #9634775 未加载
评论 #9635145 未加载
eatonphil将近 10 年前
I started writing OCaml in college after hearing a talk by Jane Street [0], one of the most outspoken corporate supporters of OCaml.<p>After getting past the steep learning curve (about a weekend of pedal-to-the-metal debugging), I really got a feel for how beautiful OCaml semantics really are.<p>If you&#x27;re looking for a solid and familiar OCaml stack, check out OWebl [0]. Always looking for helping hands or other support.<p>[0] - <a href="https:&#x2F;&#x2F;www.janestreet.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.janestreet.com&#x2F;</a><p>[1] - <a href="http:&#x2F;&#x2F;meetowebl.com" rel="nofollow">http:&#x2F;&#x2F;meetowebl.com</a>
pron将近 10 年前
There&#x27;s a very good (and multithreaded!) implementation of OCaml for the JVM: <a href="http:&#x2F;&#x2F;www.ocamljava.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.ocamljava.org&#x2F;</a>
评论 #9634178 未加载
评论 #9634110 未加载
jaegerpicker将近 10 年前
OCaml is a hard sell for me. I want to really like it but everytime I start to play with it, I drift back to F#, .net core, service stack, and all the other open source projects are really hard to compete with. The Syntax is similar to OCaml (really really close IMO) and other then it&#x27;s ties to Microsoft it&#x27;s seems to be all upside with F#. Is there a compelling lib or advantage of OCaml over f#?
评论 #9634339 未加载
评论 #9634408 未加载
评论 #9634419 未加载
more_original将近 10 年前
This page is from 2006!<p>I guess the official homepage <a href="http:&#x2F;&#x2F;ocaml.org" rel="nofollow">http:&#x2F;&#x2F;ocaml.org</a> would be better for up-to-date information.
locokoko将近 10 年前
I recently looked at OCaml and quite liked it, but I was wondering if there is any SLIME&#x2F;Geiser (these are the lisp and scheme IDEs for emacs) equivalent for it? I know there is tuareg-mode, but as far as I can tell it is not nearly as convenient as SLIME. Any ideas?
评论 #9634126 未加载
评论 #9634279 未加载
ricccardo将近 10 年前
I&#x27;ve been developing in Haskell for a while and I recently had to learn OCaml to help TA for a course in my university.<p>I couldn&#x27;t shake the feel that I was learning &quot;Haskell Light&quot;. No pure&#x2F;impure code (I&#x2F;O, mutable references, exceptions), no monad syntax sugar, less syntax sugar for pattern matching, much smaller base library, plus surely other differences that my current level of expertise of Haskell is hiding.<p>Perhaps the simpler semantics make it easier to translate to js (I know haskell-&gt;js transpilers are very complex and I&#x27;m sure lazy evaluation has a lot to do with it), but in terms of language features, what am I missing in Haskell that makes you more productive&#x2F;helps you write clearer code in OCaml?
评论 #9634746 未加载
评论 #9635252 未加载
评论 #9634670 未加载
评论 #9634700 未加载
评论 #9635307 未加载
评论 #9634691 未加载
tejinderss将近 10 年前
How does Ocaml compare with F#? Now that .net is open source and supports multi platforms, is it fair to compare these 2 languages?
评论 #9635126 未加载
melling将近 10 年前
I can&#x27;t find the time to learn a language for fun. I need to find a way to incorporate it into my daily routine. There just aren&#x27;t enough hours in the day to play.<p>Anyway, I&#x27;ve got a couple side projects, one of which is website in Go. How&#x27;s OCaml for web development?<p>I also saw oCaml for iOS but it didn&#x27;t seem to be up to date: <a href="http:&#x2F;&#x2F;psellos.com&#x2F;ocaml&#x2F;compile-to-iphone.html" rel="nofollow">http:&#x2F;&#x2F;psellos.com&#x2F;ocaml&#x2F;compile-to-iphone.html</a>
评论 #9634172 未加载
评论 #9635030 未加载
fithisux将近 10 年前
My only skeptikism with OCaml is that OPAM (latest packages) does not work on windows and does not cooperate with msys2 (lates libraries) or another port solution like winbuilds.<p>I have to install msys2 and keep compiling by hand.<p>Even if a source solution that kept updating even if I had to compile regularly, would be preferable.<p>This is my only hesitation.
评论 #9634513 未加载
dlandis将近 10 年前
I did a couple small projects in OCaml and I loved the syntax and style of programming, but I think there would pretty much always be a better language choice for a serious project, regardless of what type of program you are writing. Also, the standard library leaves a lot to be desired and parts of the ecosystem (e.g. docs, and OPAM) are pretty rough. The standard library has a lot of gaps so you end up implementing a lot of low-level functions that will seem tedious and inefficient if you are coming from a more mainstream language with a rich ecosystem. Using the Jane Street&#x27;s Core library helps a little bit but still leaves a lot of gaps. It&#x27;s still a fun language though, but I don&#x27;t think there would be a compelling reason to choose it nowadays for a new project.
评论 #9635247 未加载
lesterpig将近 10 年前
I&#x27;m studying this language right now at a french school, with INRIA researcher.<p>And, well... I&#x27;m not really satisfied with it. OCaml produces a small amount of code, but is really slow and hard to understand. Sometimes, it looks like obfuscated code!<p>Documentation and libraries are not polished, and I would recommend Haskell instead of OCaml. Good for research and some algorithms, bad for applications.<p>And... God... &quot;This page was last updated on 17 June 2006.&quot;
评论 #9634365 未加载
评论 #9635135 未加载
评论 #9634325 未加载
jarcane将近 10 年前
I was as recently as today quite curious to find that there was an implementation of Ocaml 2.00 for RISC OS, but alas, it seems to have been lost to the internet.
pjmlp将近 10 年前
Caml Light was my introduction to the FP world back in the day. Very nice experience.
m0skit0将近 10 年前
404 on some links
zak_mc_kracken将近 10 年前
This is just a list of resources to learn OCaml, there is nothing about convincing skeptical people here.<p>Also, this page is almost ten years old.<p>Not sure how this kind of post ever makes it to the front page.
评论 #9634690 未加载