Scala和Google的Go语言之间有没有逐个特性的比较?

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

Is there a comparison between Scala and Google 'Go' language (feature by feature)?

问题

我想知道是否有人能够对比Scala和谷歌的Go语言(逐个特性进行比较,如并发模型、集合等)?

英文:

I wonder if someone can produce a comparison between Scala and Google 'Go' language (feature by feature, like concurrency models, collections, etc.)?

答案1

得分: 8

更好地将其与C(或C++或D)进行比较。

就我所理解的意图而言,这种语言的目的是取代C/C++,而不是Java/Scala(虚拟机语言)。Go语言没有异常、断言和继承。这只对C程序员来说是可以忍受的。

我希望看到在其他语言中不存在的新部分(或在Go语言中新组合的部分)。特别是如何使用简约的类型系统设计程序。

英文:

Better compare it to C (or C++ or D).

As far as I do understand the intent of this language is to replace C/C++ not Java/Scala (VM languages). Go has no exceptions, assertions, inheritance. This is only bearable for C programmers.

I would like to see the new parts not present in other languages (or newly combined in Go). Especially how programs should be designed with the minimalistic type system.

huangapple
  • 本文由 发表于 2009年11月12日 00:05:54
  • 转载请务必保留本文链接:https://go.coder-hub.com/1716188.html
匿名

发表评论

匿名网友

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

确定