什么是.NET中使用Scala的好处?好处、NET、Scala

2023-09-03 15:43:19 作者:爱情,没有错

Scala是在于它的目标既JVM和CLR的一个奇特的编程语言。但是,有什么好处?难道是值得考虑它作为一种可行的替代F#语言?

Scala is a peculiar programming language in that it targets both JVM and the CLR. But what are the benefits? Is it worth considering it as a viable alternative to the F# language?

推荐答案

大部分时间我从斯卡拉.NET看到的是从2008年或2009年年初Scala是一种有趣的语言,网络搜索点击率,但我无可否认,虐待知情IM pression是不是一个可行的选择的具有工业强度的.NET应用程序。

Most of the web search hits I see from "Scala .NET" are from 2008 or early 2009. Scala is an interesting language, but my admittedly-ill-informed impression is that is is not a "viable alternative" for an industrial-strength .NET application.

我看到人们讲起过有关编写跨CLR和JVM便携的应用程序,这是在理论上一个不错的主意,但在实践中我没有看到任何证据表明任何人有雷亚尔做到了这一点。 (如果人们知道的例子,请张贴。)

I see people talk in passing about writing apps that are portable across CLR and JVM, and it's a nice idea in theory, but in practice I don't see any evidence that anyone has done this for reals. (If people do know of examples, please post them.)