Re: What do Java programmers feel is missing from C#?
- From: "Jeremy" <nospam@xxxxxxxxxx>
- Date: Thu, 19 Jun 2008 08:22:11 -0700
I don't think this guy knows what he's doing. There's no possible way "c#"
is that much slower. I doubt it's even slower at all. And besides, c#
doesn't have a speed. it's only language. It gets compiled to msil. you
could time the execution of msil, but not c#. If he was really interested
in doing a proper test, he would have at least run a profiler on each peice
of code to figure out where the time was spent.
Additionally, this nitwit makes the comment that the c# took more lines of
code than the java. Not that it really matters, but if it did, it's
probably because in the java version he combined several statements on to
single lines, where he didn't in c#.
"BobJ" <rjoslyn@xxxxxxxxxxxxx> wrote in message
news:OJidncGFiamodaPVnZ2dnUVZ_qbinZ2d@xxxxxxxxxxxxxxxx
I never met a benchmark I didn't like.
BobJ
"Harry Walters" <badabing@xxxxxxxxxxxx> wrote in message
news:t8eet3tjgcj9orm4p7fitrmtk9kun55o3h@xxxxxxxxxx
On Tue, 11 Mar 2008 11:14:43 -0400, "mc"
<look@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
"mc" <look@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:vxwBj.14846$dT.4812@xxxxxxxxxxxxxxxxxxxxxxxxx
I did a quick Google search for "java c# benchmark" (try it yourself)
and it seems that it's only that offshored code that is slow and
crappy
and not Java itself, because all benchmarks I could find concludes
that
Java is way faster than C#.
Well, this one:
http://www.manageability.org/blog/archive/20030520%23p_the_problem_with_cameron
is the first one that comes up, but obviously something has gone wrong.
A
factor of 7700 speed difference? They're just not measuring the same
thing. If C# were 7700 times slower than Java, it would be unusable.
I'm going to explore this and see what I can find out. A quick test
shows
that his C# program is indeed woefully slow.
Quick preliminary answer: Both of the programs measure the time taken to
*compile* a regex, not the time taken to run it. The two compilers are
probably doing very different things.
It's like dude went very far out of the way to find some bizarre
benchmark to suit his goal. Who uses compiled regexs in c#
applications?
.
- Prev by Date: Re: Signed java applet
- Previous by thread: Signed java applet
- Index(es):
Relevant Pages
|
|