如果没有企业的支持,Scala 还能生存吗?

发布于 2024-07-25 07:09:22 字数 258 浏览 7 评论 0原文

我想知道如果没有明确的公司支持,Scala 是否会得到应有的认可(我想到的是 Sun/Oracle,但我想可能是其他人,例如 >谷歌)。

随着 Sun 最近决定不在 JDK7 中包含闭包,他们难道不能将自己的力量放在 Scala 上,作为那些希望拥有更具表现力的语言的 Java 替代品吗? 毕竟,在我看来,他们应该最关心 JVM,而不是 Java 本身。 有人认为这有可能吗?

I was wondering whether Scala will get the takeup it deserves without explicit corporate backing (I was thinking by Sun/Oracle but I suppose it could be someone else, such as Google).

With Sun's recent decision not to include closures in JDK7, couldn't they put their weight behind Scala as the Java alternative for those wishing to have a more expressive language? After all, it seems to me that they should care most about the JVM, not Java per se. Does anyone think this is likely?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

子栖 2024-08-01 07:09:22

除了以前的语言在没有最初的公司支持的情况下取得成功的例子之外,我认为微软在.NET平台上推广函数式编程可能会间接帮助Scala获得采用。 由于 Java 和 .NET 生态系统被视为势均力敌的竞争对手,因此了解 F# 和 C# 功能补充的人们可能会倾向于寻找 JVM 类似物,而在我看来,Scala 似乎最适合填补这一角色。

Apart from the examples of previous languages that have succeeded without initial corporate backing, I think Microsoft's promotion of functional programming on the .NET platform may indirectly help Scala gain adoption. Since the Java and .NET ecosystems are seen as close rivals, people aware of F# and the functional additions to C# may be inclined to look for JVM analogs, and to me Scala seems best equipped to fill that role.

十秒萌定你 2024-08-01 07:09:22

你需要更具体。 在什么环境下蓬勃发展?

我认为 Scala 的社区已经接近临界点,它需要成为一个自我可持续的开源项目,即使它的主要机构支持者 EPFL 突然改变了主意; 目前种种迹象表明它将达到这一临界质量。 我认为Scala会和我们在一起并长期积极维护。

更紧迫的问题是它适合的用途类型。 Scala 编译器和标准库远非完美。 当您开始推送该语言或库的一部分时,您仍然很有可能会发现错误。 这正在突飞猛进地改善,但它本身并不是问题的核心。

问题是为了获得修复,您几乎必须在升级出现时升级到 Scala 的下一个版本。 问题是大多数版本升级都包含重大更改,因此为了获得修复,您可能必须更改自己的代码。 还有二进制不兼容问题,这意味着所有 Scala 依赖项也必须更改版本。

如果您对其他 Scala 库有很多依赖(不太可能 - 目前还没有很多),如果您受到严重的基础设施官僚主义的影响,或者更糟糕的是,您是一家面向产品的公司,需要向具有严重基础设施官僚作风的客户分发修复程序。

为了让 Scala 在这种情况下长期可行,有人必须开始将修复移植到早期版本,这样人们就不必为了获得一些修复而执行重大升级。 我确信这会发生,因为它真的不会那么难,但它可能需要有人看到商机,因为让我们面对现实吧,向后移植更改和进行回归测试并不完全是现有工作。

You need to be more specific. Thrive in what context?

I think Scala's community is near the critical mass that it needs to be a self-sustainable open source project even if its primary institutional backer, the EPFL, suddenly had a change of heart; and there is currently every sign that it will reach this critical mass. I think Scala will be with us and actively maintained for a long time.

A more pressing issue if the type of uses for which it is suited. The Scala compiler and standard library are far from perfect. When you start pushing the language or a portion of the library there is still a decent chance that you will find bugs. This is improving by leaps and bounds, but it in itself isn't the core of the problem.

The problem is in order to get fixes you pretty much have to upgrade to the next version of Scala as upgrades come out. The problem with that is that most version upgrades contain breaking changes, thus in order to obtain fixes you are likely to have to change your own code. There's also the binary incompatibility problem, which means all your Scala dependencies have to change versions, too.

This could be severe problem if you have a lot of dependencies on other Scala libraries (unlikely - there aren't many yet), if you are subject to severe infrastructure bureaucracy, or worse, you're a product-oriented company that needs to distribute fixes to customer with severe infrastructure bureaucracy.

In order for Scala to be viable in such situations long-term, someone will have to start back porting fixes to earlier versions so that people don't have to perform breaking upgrades just to get some fixes. I'm sure this will happen, because it really wouldn't be that hard, but it will probably require someone seeing a business opportunity, because let's face it, backporting changes and doing regression testing isn't exactly exiting work.

凉世弥音 2024-08-01 07:09:22

我认为 Scala 会很好。 现在它已经得到了很多关注,Twitter 已经部分移动到它。 我认为 Sun 不太可能专注于 Java 以外的其他领域,但他们可能很高兴其他语言也瞄准了 JVM。

顺便说一句,我认为关闭的事情很蹩脚。 我喜欢闭包。

I think Scala will be fine. It has a lot of mind share now that Twitter has partially moved to it. I think it's unlikely Sun will concentrate on anything but Java, but they are probably happy that other languages are targeting the JVM.

I think the closure thing is lame, by the way. I love closures.

往事风中埋 2024-08-01 07:09:22

我认为它会蓬勃发展,因为它没有企业大佬的“支持”。 我个人喜欢这样的想法:一门语言是如此独立,但又非常好,经过精心计划和深思熟虑。

我认为谷歌可能会接受它,但我不认为它会得到官方支持。 我确信 Google 会找到一个很酷的项目来使用 Scala。

I think it will thrive because it doesn't have corporate bozos 'backing' them. I personally like the idea that a language is so independent, and yet very good and well planned and thought out.

I think Google is likely to pick it up, but I don't think it will be an official backing. I'm sure Google will find a cool project to use Scala with.

酒绊 2024-08-01 07:09:22

只有当一种语言没有得到程序员的大量支持时,公司的支持才是成功的必要条件。 Perl、Python 和 Ruby 的成长都没有得到 Man 的支持(Ruby 有 Japanese Man,但在美国并没有太多帮助)。

我没有使用过 Scala,但 Twitter 对它的认可表明,即使没有企业老大哥,它也有足够的程序员支持来蓬勃发展。

Corporate backing is only necessary for a language to succeed if it doesn't have a lot of support from working programmers. Perl, Python, and Ruby all grew up without support from the Man (well, Ruby had the Japanese Man, but it wasn't a lot of help in the US).

I've not used Scala, but Twitter's endorsement of it suggests that it has enough programmer support to thrive even without a corporate big brother.

美人骨 2024-08-01 07:09:22

当然它会生存下来。

世界各地存在着大量的语言,它们得到了大学、工作组、爱好者和程序员的支持。 在某些情况下,他们不受人类支持的事实意味着他们有一定的生存机会,也许更多地与他们的声望有关,或者也许他们服务于重要的研究方面。

Of course it will survive.

There are bundles of languages lying around, being supported by univerities, working groups, hobbiests, and programmers, up and down the world, and out in the wild. In some cases the fact their not supported by the Man, means they have some chance of survival, perhaps more to do with their cachet or maybe they server an important reserarch aspect.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文