由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - talk about benchmarking java
相关主题
Java练习题 9Let's tip hat for Sun's toll
Java StringBuilder myth debunkedJava练习题 3
求推荐速成的java入门书java 的内存分布?
想问问Java和C++的速度到底差多少?Top Ten Errors Java Programmers Make(8)
Re: what parts of Java you don't like? wWhere I can find comparison of JVMs
Please recommend a book for learning java有个问题一直想问问
请教一下用过JMX (Java Management Extension)的朋友Jetty, Tomcat, JBoss comparison
弱人再问一个关于Java的问题Pretty good writeup comparing EJB3 and Spring
相关话题的讨论汇总
话题: java话题: talk话题: comparison话题: about
进入Java版参与讨论
1 (共1页)
m******t
发帖数: 2416
1
and fighting language wars, you guys are not
the only people who don't have better things to do. 8-)
http://www.theserverside.com/news/thread.tss?thread_id=25743
st
发帖数: 1685
2
this site has a sun logo on the left, what do you expect?
I even read a java book which claims java might be faster since GC might
save time when it comes to frequent large object claim/release... which
has no logic in his claim, IMHO...

【在 m******t 的大作中提到】
: and fighting language wars, you guys are not
: the only people who don't have better things to do. 8-)
: http://www.theserverside.com/news/thread.tss?thread_id=25743

w********c
发帖数: 2632
3
oh my god. they must be some freelance workers who have nothing else to do.:)

【在 m******t 的大作中提到】
: and fighting language wars, you guys are not
: the only people who don't have better things to do. 8-)
: http://www.theserverside.com/news/thread.tss?thread_id=25743

c*****t
发帖数: 1879
4
There are couple problems pointed out by some people
1. str2 and str3 are the same object. saves comparison
2. java use pascal type string (with strlen stored in the string),
so it saves comparison quite a bit.
Also, actual comparison could very well be done by native code.
So, this benchmark is flawed. (It is also obvious that Java version
couldn't possibily be faster than C version if test is done correctly).
As for my experience working with large images in Java. It is slow.
Very slow.

【在 w********c 的大作中提到】
: oh my god. they must be some freelance workers who have nothing else to do.:)
1 (共1页)
进入Java版参与讨论
相关主题
Pretty good writeup comparing EJB3 and SpringRe: what parts of Java you don't like? w
benchmark of JVMPlease recommend a book for learning java
什么样的Projects, 新手练手最合适?请教一下用过JMX (Java Management Extension)的朋友
Boundary checking & robustness弱人再问一个关于Java的问题
Java练习题 9Let's tip hat for Sun's toll
Java StringBuilder myth debunkedJava练习题 3
求推荐速成的java入门书java 的内存分布?
想问问Java和C++的速度到底差多少?Top Ten Errors Java Programmers Make(8)
相关话题的讨论汇总
话题: java话题: talk话题: comparison话题: about