Re: What do Java programmers feel is missing from C#?



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?
.



Relevant Pages

  • Re: What do Java programmers feel is missing from C#?
    ... I doubt it's even slower at all. ... code than the java. ... *compile* a regex, not the time taken to run it. ... Who uses compiled regexs in c# ...
    (comp.lang.java)
  • Re: What do Java programmers feel is missing from C#?
    ... I never met a benchmark I didn't like. ... Java is way faster than C#. ... *compile* a regex, not the time taken to run it. ... Who uses compiled regexs in c# ...
    (comp.lang.java)
  • Re: What do Java programmers feel is missing from C#?
    ... and it seems that it's only that offshored code that is slow and crappy ... because all benchmarks I could find concludes that ... Java is way faster than C#. ... *compile* a regex, not the time taken to run it. ...
    (comp.lang.java)
  • Re: simple compilaton question
    ... > before I try to compile Main? ... "javac *.java" in each of my java source file directories the first ... with gcj. ... slow to ask for help on mailing lists. ...
    (comp.lang.java.programmer)
  • Re: Java server wont run after reboot
    ... Working with classpaths in Java isn't too hard, ... package definitions in your source code. ... Execute from that directory, no classpath definition needed. ... Assuming that you compile your code in the same directory and deposit the ...
    (RedHat)