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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

NaCl/OCaml (OCaml as a client-side web programming language)

30 点作者 budu大约 15 年前

5 条评论

gecko大约 15 年前
I'm very excited to see this. OCaml is a really pleasant language to work in. It's certainly not without its warts, but it's surprisingly easy to write mostly-functional code that's highly performant, expressive, and easy-to-read. I've actually been enjoying picking it back up again, this time trying to learn it "for real", and knowing I have an interesting environment to target makes it much more exciting.
dons大约 15 年前
Should work for any native code compiler, if I'm reading this right, just have to stay within what can be validated.<p>I think there's a very good chance of a GSoC project to modify Haskell/GHC's backend to work too: <a href="http://www.reddit.com/r/haskell_proposals/comments/b9oym/run_haskell_code_under_googles_native_client/" rel="nofollow">http://www.reddit.com/r/haskell_proposals/comments/b9oym/run...</a>
lunchbox大约 15 年前
I've found technical descriptions of NaCl, but still don't get what it would look like in practice. Does NaCl enable languages like OCaml to be used instead of JavaScript to manipulate HTML pages? Or is it like Silverlight, which has its own non-HTML UI widget library and runs within the browser? Or would it run outside of the browser entirely?
评论 #1172534 未加载
评论 #1172575 未加载
评论 #1172590 未加载
sketerpot大约 15 年前
Hopefully once they get ARM-NaCl working, they'll be able to stick it on all the Android phones. It could actually take off.
malkia大约 15 年前
Joh Harrop is a great guy, if you religiously like ocaml or F#. A True Missionary!