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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Performance boost in Clojure 1.3 (alpha4)

50 点作者 skuro超过 14 年前

4 条评论

scottjad超过 14 年前
While I don't doubt Clojure 1.3 can get similar performance to Java, that's not what this benchmark shows. The Java and Clojure functions he's comparing don't even take and return the same argument types. He's comparing boxed Integers to primitive longs.<p>In the comments he says he saw no difference between Integer and ints. When I ran Tak.java with longs like the Clojure code my time went from 13s to 8s.
评论 #2135806 未加载
phren0logy超过 14 年前
Clojure is a language that has been teaching me a lot about different avenues of programming I hadn't previously encountered. I know many of them aren't new, but they are new to me and yet still approachable.<p>I really like the type-hinting approach; more detail and performance if you want or need, but otherwise don't bother. I guess it still doesn't have the type-safety of a static language, but now it has the performance.
评论 #2136280 未加载
nickik超过 14 年前
Im really happy about what new clojure versions bring! Rich sayd this primitiv stuff in 1.3 is the second step to what the want to end up with.<p>Look at: <a href="http://www.infoq.com/interviews/hickey-clojure-protocols" rel="nofollow">http://www.infoq.com/interviews/hickey-clojure-protocols</a>
评论 #2135501 未加载
vdm超过 14 年前
I would like a way to de-italicise all the text on a page because I find it much harder to read.<p>This is the second HN link so afflicted today. <a href="http://news.ycombinator.com/item?id=2132591" rel="nofollow">http://news.ycombinator.com/item?id=2132591</a>
评论 #2135662 未加载
评论 #2135348 未加载