适合使用scala/akka或go的问题

huangapple go评论113阅读模式
英文:

Problems for which scala/akka or go are a better fit

问题

最近我在研究Go语言时发现,可以将Go和Scala/Akka进行类比。在这个类比中,akka Actor类似于goroutine,而ActorRef类似于Go的channel。

除了平台类型问题(JVM或非JVM),选择其中一个的功能差异是什么?

英文:

In looking into Go recently it seems like one could analogize between Go and Scala/Akka,
where an akka Actor is similar to a goroutine and an ActorRef is similar to a Go channel.

Other than platform type issues (JVM or not) what are the functional differences that would lead one to choose one or the other?

答案1

得分: 10

免责声明:我是Akka的产品所有者。

你可能可以在goroutines和channels之上实现Actor模型,但我认为它们是两个完全不同的抽象层。

选择者可能问的问题几乎可以是任何问题,但以下是一些建议:

  1. 开发/部署平台?
  2. 重用其他库和/或语言的可能性/愿望?
  3. 远程通信/集群?
  4. 开发环境/基础设施
  5. 开发人员的可用性
  6. ...

如果有人知道是否有适用于Golang的Actor模型实现,我会很高兴得到一个链接。

英文:

Disclaimer: I am the product owner of Akka

You could probably implement the Actor Model on top of goroutines and channels,
but I see them as two distinctly different layers of abstraction.

Questions for the person choosing could be virtually anything but here are some suggestions:

  1. Dev/Deployment platform?
  2. Possibility/desire to reuse other libraries and/or languages?
  3. Remoting/Clustering?
  4. Development environment/infrastructure
  5. Availability of developers
  6. ...

If someone knows if there is an Actor Model impl for Golang I'd love a linky.

答案2

得分: -3

我觉得Scala / Akka更加成熟。有一个更大的使用社区和更多的动力。

其他人可能不同意,但对我来说,Go仍然感觉像一个“跟风者”,我不会用一个“跟风者”语言编写任何严肃的代码。

英文:

I feel like Scala / Akka is more mature. There is a bigger use community, and more momentum.

Other people won't agree, but to me Go still feels like a "me too", and I would not code anything serious in a "me too" language.

huangapple
  • 本文由 发表于 2011年5月7日 01:33:28
  • 转载请务必保留本文链接:https://go.coder-hub.com/5914962.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定