由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 大牛们比较下 Node, Go, Scala
相关主题
大家真心觉得akka好用吗?Node做大系统better than Java, .NET
有什么web server 可以后台接actorgo is ugly
scala并发大牛给推荐个fp语言
随便扫了一下scala代码functional programming 哪本书经典适合入门
能否创立一个functional programming的版面批判 go
OOP里面的Object其实是actorscala 的感悟
从今天开始起,学C++!akka/scala/jvm
这次Scala学Clojure有点不地道了Scala又被吐槽了
相关话题的讨论汇总
话题: go话题: actor话题: scala话题: akka话题: csp
进入Programming版参与讨论
1 (共1页)
d*******r
发帖数: 3299
1
这里有个挺 Go 的视频
http://devslovebacon.com/conferences/bacon-2013/talks/why-node-
然后,这里有个挺 Scala 的视频
http://boldradius.com/blog-post/U62N9C0AAC8AVoav/the-difference
我表示不太理解上面连接里这一段:
In my understanding, both Go and Scala have built-in concurrency primitives
(plus Akka for Scala), however Scala leans towards the Actor model, while Go
uses the CSP model. One of the benefits of Akka versus the concurrency
primitives in Go is the ability to transparently move actors to different
machines and send messages remotely, and with the ability to control
reliability. With Go, goroutines and channels are forced to stay in a single
process, requiring extra work to scale and without the ability to do so
transparently
Actor 有这么好用?
c******o
发帖数: 1277
2
actor model is inherently distributed, actor communication are async, and by
name, you do not care where the other side is. But for example, actor model
by itself, does not not have reliable (message can lost) message passing.
CSP and actor are equivalently, in the sense, you can implement each other
with added logic and code. It just CSP more tightly coupled, and actor are
more loosely coupled.
d*******r
发帖数: 3299
3
Actor model 这类 prefer immutable 和 copy的,应该更耗费内存吧,我记得底层时
候时候,还有用部分 reference 和 增量 copy 代替全部 copy 的情形.

by
model

【在 c******o 的大作中提到】
: actor model is inherently distributed, actor communication are async, and by
: name, you do not care where the other side is. But for example, actor model
: by itself, does not not have reliable (message can lost) message passing.
: CSP and actor are equivalently, in the sense, you can implement each other
: with added logic and code. It just CSP more tightly coupled, and actor are
: more loosely coupled.

c******o
发帖数: 1277
4
actor is not immutable, it does not care. akka is
d*******r
发帖数: 3299
5
大牛觉得学用 Actor 是用 Scala 好呢,还是应该直接用 Erlang? 这2门我都还不会.

【在 c******o 的大作中提到】
: actor is not immutable, it does not care. akka is
c******o
发帖数: 1277
6
我不会erlang.
p*****2
发帖数: 21240
7
erlang好

会.

【在 d*******r 的大作中提到】
: 大牛觉得学用 Actor 是用 Scala 好呢,还是应该直接用 Erlang? 这2门我都还不会.
p*****2
发帖数: 21240
8
这个确实是很重大的区别
不过go貌似也在做distributed

primitives
Go

【在 d*******r 的大作中提到】
: 这里有个挺 Go 的视频
: http://devslovebacon.com/conferences/bacon-2013/talks/why-node-
: 然后,这里有个挺 Scala 的视频
: http://boldradius.com/blog-post/U62N9C0AAC8AVoav/the-difference
: 我表示不太理解上面连接里这一段:
: In my understanding, both Go and Scala have built-in concurrency primitives
: (plus Akka for Scala), however Scala leans towards the Actor model, while Go
: uses the CSP model. One of the benefits of Akka versus the concurrency
: primitives in Go is the ability to transparently move actors to different
: machines and send messages remotely, and with the ability to control

f******2
发帖数: 2455
9
Akka的分布式投入很大,而且很学术,各种
一致性模型分析了一遍后做的,网上好像有
个连接.
不过我估计go那边的人做出来的会更牛,
更好,工具牛不牛关键因素还是看造工具的人

【在 p*****2 的大作中提到】
: 这个确实是很重大的区别
: 不过go貌似也在做distributed
:
: primitives
: Go

d*******r
发帖数: 3299
10
二爷又整上 Erlang 了?真是赶不上你的速度呀.

【在 p*****2 的大作中提到】
: erlang好
:
: 会.

d*******r
发帖数: 3299
11
看来还得多 follow 新闻.

【在 f******2 的大作中提到】
: Akka的分布式投入很大,而且很学术,各种
: 一致性模型分析了一遍后做的,网上好像有
: 个连接.
: 不过我估计go那边的人做出来的会更牛,
: 更好,工具牛不牛关键因素还是看造工具的人

p*****2
发帖数: 21240
12

随便看了一下,也是门有点恶心的语言。不过如果真是需要actor的话,学学也值了。

【在 d*******r 的大作中提到】
: 二爷又整上 Erlang 了?真是赶不上你的速度呀.
H****S
发帖数: 1359
13
Actor is the strongest oo abstraction which is kinda ironic lol

by
model

【在 c******o 的大作中提到】
: actor model is inherently distributed, actor communication are async, and by
: name, you do not care where the other side is. But for example, actor model
: by itself, does not not have reliable (message can lost) message passing.
: CSP and actor are equivalently, in the sense, you can implement each other
: with added logic and code. It just CSP more tightly coupled, and actor are
: more loosely coupled.

t***t
发帖数: 6066
14
CSP? 通讯顺序进程?太老了吧?而且太底层了吧?
1 (共1页)
进入Programming版参与讨论
相关主题
Scala又被吐槽了能否创立一个functional programming的版面
又看了一下goOOP里面的Object其实是actor
golang值得一学吗?从今天开始起,学C++!
感觉并发模型上go可以秒vertx这次Scala学Clojure有点不地道了
大家真心觉得akka好用吗?Node做大系统better than Java, .NET
有什么web server 可以后台接actorgo is ugly
scala并发大牛给推荐个fp语言
随便扫了一下scala代码functional programming 哪本书经典适合入门
相关话题的讨论汇总
话题: go话题: actor话题: scala话题: akka话题: csp