We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
虽然它可能与 Erlang 使用的模型不完全相同,但您可能想看看 JoCaml,它基于连接结石。
While it may not be the exact same model that Erlang uses, you might want to take a look at JoCaml, which is based on the join calculus.
您可以查看 parvel —— ocaml 的消息传递库/框架。它尚未完成,但已经包含了一些用于使用 actor 进行编程的原语。
You can take a look at parvel -- message passing library/framework for ocaml. It's not yet complete, but already includes some primitives for programming with actors.
“我正在考虑从 Erlang 迁移到 Scala 或 Ocaml。”
您应该考虑 scalag,它允许您在 Scala 中编程,但使用 Erlang 的 actor。
我最近在 Strange Loop 会议上看到了 @moonpolysoft (Cliff Moon) 关于该语言的演讲。 Cliff Moon 为 https://boundary.com/ 开发了它,并于今年早些时候将其开源。
"I'm considering moving from Erlang to either Scala or Ocaml."
You should consider scalang, which allows you to program in Scala, but use Erlang's actors.
I recently saw a talk on the language by @moonpolysoft (Cliff Moon) at the Strange Loop conference. Cliff Moon developed it for https://boundary.com/ and open-sourced it earlier this year.
您可能会花费大量时间阅读:
Scala 和 F# 有 akka 和 MailboxProcessor正在生产应用程序中使用(注意:Scala Actor 和我认为 akka 与 Hotspot 密切相关;我不确定 MailboxProcessor 是否可以在 MONO 下使用)
Haskell 有用户空间线程和 至少 1 个参与者 对于 ML 和 ocaml,一些可能
没有广泛使用的库:poly/ML 和 oc4mc
和 网络多核
You'll probably spend a lot of time reading about:
Scala and F# have akka and MailboxProcessor which are being used in production apps (note: Scala actors and, I think, akka, are very tied to Hotspot; I'm not sure if MailboxProcessor can be used under MONO)
Haskell has userspace threads and at least 1 actor implementation which i don't know a lot about
For ML and ocaml, some libs which are probably not widely used: poly/ML and oc4mc
and netmulticore
虽然这是一个非常古老的问题,但自提出以来情况已经发生了变化。 C++ 有一个非常健壮的参与者模型实现。它还按照 OP 的要求提供分布式计算功能。主页位于 http://actor-framework.org/
此外,它还可以让我们利用 OpenCL HPC 模块位于 github 存储库之一。
Although, it is a very old question things have changed since it was asked. C++ has an actor model implementation which is quite robust. It also provides distributed computing features as asked by OP. The homepage is at http://actor-framework.org/
Further, it can also make us of OpenCL for HPC the module for which is located at github in one of the repositories.