TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

What Scala has to offer for Java devs

4 点作者 AzzieElbab5 个月前

1 comment

PaulHoule5 个月前
Personally I think not a lot. Before JDK 8 maybe, but since then Java has steadily been improving in every direction.<p>There was a certain phase in my career where it seemed everybody I was working for or with had attempted to do parallel calculations in Scala with actors and found they were only using 2 of the 8 CPUS they had and that they still had race conditions. Your choice was to waste two days trying to make it work in Scala or to rewrite it with ExecutorService and have it done in 20 minutes.
评论 #42471873 未加载