Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: What do Java programmers feel is missing from C#?
"Harry Walters" <nomail@notmail.com> wrote in message
 news:mkmbt3d2om5ojhptf0sfarfmafbkbh948t@
4ax.com...

> I get so much more done in C# it leaves me longing for that crappy
> Java environment I left behind.

Ah, the fast pace of modern life :)

Likewise, a whole generation of office workers longs for the days of snail
mail instead of e-mail, so that we would actually be allowed some *time* to
do our work :)



Report this thread to moderator Post Follow-up to this message
Old Post
mc
03-12-08 12:01 AM


Re: What do Java programmers feel is missing from C#?
> 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:

[url]http://www.manageability.org/blog/archive/20030520%23p_the_problem_with_cameron[/u
rl]

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.






Report this thread to moderator Post Follow-up to this message
Old Post
mc
03-12-08 12:01 AM


Re: What do Java programmers feel is missing from C#?
"mc" <look@www.ai.uga.edu.for.address> wrote in message
news:vxwBj.14846$dT.4812@bignews1.bellsouth.net... 
>
> Well, this one:
>
> [url]http://www.manageability.org/blog/archive/20030520%23p_the_problem_with_cameron[
/url]
>
> 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.



Report this thread to moderator Post Follow-up to this message
Old Post
mc
03-12-08 12:01 AM


Re: What do Java programmers feel is missing from C#?
On Tue, 11 Mar 2008 11:14:43 -0400, "mc"
<look@www.ai.uga.edu.for.address> wrote:

>
>"mc" <look@www.ai.uga.edu.for.address> wrote in message
>news:vxwBj.14846$dT.4812@bignews1.bellsouth.net... 
>
>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?

Report this thread to moderator Post Follow-up to this message
Old Post
Harry Walters
03-12-08 03:01 AM


Re: What do Java programmers feel is missing from C#?
On Tue, 11 Mar 2008 10:08:13 -0400, "mc"
<look@www.ai.uga.edu.for.address> wrote:

>"Harry Walters" <nomail@notmail.com> wrote in message
> news:mkmbt3d2om5ojhptf0sfarfmafbkbh948t@
4ax.com...
> 
>
>Ah, the fast pace of modern life :)
>
>Likewise, a whole generation of office workers longs for the days of snail
>mail instead of e-mail, so that we would actually be allowed some *time* to
>do our work :)

Those guys are called COBOL programmers, and they make the big bucks
:)

Report this thread to moderator Post Follow-up to this message
Old Post
Harry Walters
03-12-08 03:01 AM


Re: What do Java programmers feel is missing from C#?
"Harry Walters" <badabing@badabang.com> wrote in message
 news:t8eet3tjgcj9orm4p7fitrmtk9kun55o3h@
4ax.com...
> On Tue, 11 Mar 2008 11:14:43 -0400, "mc"
> <look@www.ai.uga.edu.for.address> wrote:
>
... 
>
> 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?

I do, in a tokenizer -- I compile a handful of them and then use each of
them thousands of times.  Nobody compiles a million different regexes and
uses each of them only once.



Report this thread to moderator Post Follow-up to this message
Old Post
mc
03-12-08 03:01 AM


Re: What do Java programmers feel is missing from C#?
Give me IntelliJ or Eclipse any day.



"mc" <look@www.ai.uga.edu.for.address> wrote in message
news:s62Bj.14034$dT.9742@bignews1.bellsouth.net...
>
> "Nobody" <nobody@shaw.ca> wrote in message
> news:lyYAj.66457$pM4.24579@pd7urf1no... 
>
> What kind of IDE do you prefer?
>
> 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Nobody
03-12-08 09:03 AM


Re: What do Java programmers feel is missing from C#?
"Nobody" <nobody@shaw.ca> wrote in message
news:wGIBj.73115$w94.22154@pd7urf2no...
> Give me IntelliJ or Eclipse any day.

And what do you feel are their advantages over Visual Studio?


>
>
>
> "mc" <look@www.ai.uga.edu.for.address> wrote in message
> news:s62Bj.14034$dT.9742@bignews1.bellsouth.net... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
mc
03-13-08 03:00 AM


Re: What do Java programmers feel is missing from C#?
mc wrote:
> I may be opening a can of worms and don't want to start a religious war,
> but...
>
> What features of Java do Java programmers miss when working in C#?
>
> Other than, of course, great portability.  C# has more limited
> cross-platform portability (Mono).
>
> I'm thinking more about data structures and ways to express algorithms.
>


Ehm, the main thing about Java is that it tries to keep out feature
creep. So what I'm missing in C# is any constraint to keep features out.

It's starting to look as another D language, in which you can do
anything. That's fine if you are a single programmer that does not care
about reuse or refactoring, but it's madness for enterprise code.

That you still have to take care to make things "virtual" is another
thing I'm really missing.

In other words: KISS (keep it Simple, stupid) is missing.

That's not to say that C# does not have a lot of things going for it,
some features are very useful, like checked code fragments (which, of
course, should have been the default, just like the virtual keyword).

Maarten



Report this thread to moderator Post Follow-up to this message
Old Post
Maarten Bodewes
03-23-08 11:59 PM


Sponsored Links




Last Thread Next Thread Next
Pages (2): « 1 [2]
Search this forum -> 
Post New Thread

Java archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:12 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.