Lost Password?

Go Back   CodeCall Programming Forum > Software Development > General Programming

Unregistered, Check out the Coder Battles in the Announcement and Game forums.

General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #131 (permalink)  
Old 06-04-2008, 11:07 AM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: London, England
Posts: 7,432
Last Blog:
Web slideshow in JavaS...
Credits: 1,323
Rep Power: 61
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: Contest: C# vs. Java vs. Visual Basic

In terms of power, C# with .NET is the most powerful, presuming your user has the .NET Framework installed. For cross-platform, Java has a similar syntax, with other things the same, such as garbage collection.
__________________
[TRUTH] TcM is the best moderator ever! [/TRUTH]
"Valid XHTML is like sex - everybody claims to have the same goal, but everybody has their own tricks and results vary wildly."
Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #132 (permalink)  
Old 06-04-2008, 11:27 AM
G_Morgan G_Morgan is offline
Guru
 
Join Date: Oct 2007
Age: 24
Posts: 442
Last Blog:
Just over the next hil...
Credits: 44
Rep Power: 8
G_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura about
Default Re: Contest: C# vs. Java vs. Visual Basic

Quote:
Originally Posted by Xav View Post
In terms of power, C# with .NET is the most powerful, presuming your user has the .NET Framework installed. For cross-platform, Java has a similar syntax, with other things the same, such as garbage collection.
What's your definition of power?

C# has some interesting abstractions that Java doesn't have. You can acquire them (with interest) through Scala though and the Scala compiler manages to match Java for performance because of it's type inference system. Scala is one of these sane languages where typing is optional rather than being one or the other with nothing in between.

I've never seen any hard figures that .Net beats the JVM for performance. I have seen some very solid comparisons of JVM performance to C and C++. If .Net beats the JVM then it does something rather magical because in raw performance the JVM is pretty much as good as it can get for a virtual machine.

Where Java struggles is, as I mentioned, poor libraries that hinder performance. Swing is one example, running the entire GUI library through the JVM is not necessary to gain the portability benefits of Swing. Another is the old synchronised collections that run half as fast as the newer ones (ArrayList and Hashmap are twice as fast as Vector and Hashtable in general use). Also cold start time is poor because of bytecode validation that .Net does not do. The next JVM will have pre-compilation AFAIK so it may kill both the bytecode validation issue and the Swing performance problems.

The real problem with both is the predominance of over engineered frameworks and API's that are too complex for their own good. People aren't running from Java because the language itself sucks. Nor are they doing it because the JVM is poor. The real problem is things like J2EE with mountains of XML configuration files.
__________________
Code:
glBegin(GL_TRIANGLES);
    drawWorld();
glEnd();
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #133 (permalink)  
Old 06-04-2008, 11:33 AM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: London, England
Posts: 7,432
Last Blog:
Web slideshow in JavaS...
Credits: 1,323
Rep Power: 61
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: Contest: C# vs. Java vs. Visual Basic

By power I mean getting the most work done with the least amount of code.
__________________
[TRUTH] TcM is the best moderator ever! [/TRUTH]
"Valid XHTML is like sex - everybody claims to have the same goal, but everybody has their own tricks and results vary wildly."
Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #134 (permalink)  
Old 06-05-2008, 05:49 AM
G_Morgan G_Morgan is offline
Guru
 
Join Date: Oct 2007
Age: 24
Posts: 442
Last Blog:
Just over the next hil...
Credits: 44
Rep Power: 8
G_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura about
Default Re: Contest: C# vs. Java vs. Visual Basic

Quote:
Originally Posted by Xav View Post
By power I mean getting the most work done with the least amount of code.
Then I agree. C# is better than the Java language. It has a host of nice features borrowed from functional programming that Java doesn't. Scala has all those features and more though so the .Net v JVM issue is a little different.

What we will see a few years from now on the JVM is that libraries will be written in Java but a very large section of people will use one of the new languages on the platform. JRuby is already more efficient than the standard Ruby implementation and might see a large uptake (especially since Netbeans happens to have top cl*** Ruby support now).

It's interesting that MS touted the multiple language nature of .Net which seems to be headed towards a state where C# and VB.Net are the only major languages (both being nearly identical. I'll wait to see what happens with F#). OTOH Sun Microsystems, who for an age had the 'one language, one VM' mode of thought, are moving the JVM into that space with 5/6 decent language implementations on there at this point. 2 or 3 of them being excellent.
__________________
Code:
glBegin(GL_TRIANGLES);
    drawWorld();
glEnd();
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #135 (permalink)  
Old 06-16-2008, 04:54 AM
Chinmoy's Avatar   
Chinmoy Chinmoy is offline
Programming Professional
 
Join Date: Feb 2008
Location: where heaven meets earth
Posts: 301
Credits: 30
Rep Power: 6
Chinmoy has a spectacular aura aboutChinmoy has a spectacular aura about
Default Re: Contest: C# vs. Java vs. Visual Basic

300 300 300 300

And, java simply rocks! Look at the amount of object orientation! It is simply better than c#. Also java is extremely secure and caters to a lot of areas...



The source is oreilly.

I feel so established now...lol.
__________________
God is real... unless declared an integer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #136 (permalink)  
Old 06-16-2008, 06:45 AM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 7,333
Last Blog:
Tramp Variables
Credits: 1
Rep Power: 20
Jordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud of
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: Contest: C# vs. Java vs. Visual Basic

You only have the #135th post in this thread. You need to have post number 300 in this thread (not a total of 300 posts) to win the contest.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
Don't hesitate to ask any questions that you have! Check out our ASCII Calculator!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #137 (permalink)  
Old 06-16-2008, 11:00 AM
G_Morgan G_Morgan is offline
Guru
 
Join Date: Oct 2007
Age: 24
Posts: 442
Last Blog:
Just over the next hil...
Credits: 44
Rep Power: 8
G_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura about
Default Re: Contest: C# vs. Java vs. Visual Basic

Quote:
Originally Posted by Chinmoy View Post
And, java simply rocks! Look at the amount of object orientation! It is simply better than c#. Also java is extremely secure and caters to a lot of areas...
Java is no more object oriented than C# and certainly doesn't compare well to Ruby or Smalltalk (two purely object oriented languages) on this front.
__________________
Code:
glBegin(GL_TRIANGLES);
    drawWorld();
glEnd();
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #138 (permalink)  
Old 06-16-2008, 11:42 AM
TcM's Avatar   
TcM TcM is offline
Moderator
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 8,320
Credits: 0
Rep Power: 74
TcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud of
Default Re: Contest: C# vs. Java vs. Visual Basic

Sorry, but what is that image comparing?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #139 (permalink)  
Old 06-17-2008, 05:06 AM
chili5's Avatar   
chili5 chili5 is online now
Code Warrior
 
Join Date: Mar 2008
Age: 15
Posts: 3,446
Credits: 310
Rep Power: 30
chili5 is a name known to allchili5 is a name known to allchili5 is a name known to allchili5 is a name known to allchili5 is a name known to allchili5 is a name known to all
Default Re: Contest: C# vs. Java vs. Visual Basic

Yeah I'm not really sure what is that image saying either?
__________________
Success is the ability to go from failure to failure without losing your enthusiasm. ~ Winston Churchill
Braingle
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #140 (permalink)  
Old 06-20-2008, 08:27 PM
revealer revealer is offline
Newbie
 
Join Date: Jun 2008
Posts: 9
Credits: 0
Rep Power: 0
revealer is on a distinguished road
Default Re: Contest: C# vs. Java vs. Visual Basic

It's about the market share of each language.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the bast of basic java programming myothant Java Help 7 02-25-2008 04:36 PM
For the novice in visual basic littlefranciscan Visual Basic Programming 2 02-06-2007 08:30 PM
Visual Studio 2005 and Windows Vista Jordan General Programming 3 01-22-2007 03:21 PM
Graphical programming add-in for Visual Basic 6.0 xXHalfSliceXx Visual Basic Programming 10 01-03-2007 07:14 AM
Parallel Port Programming Using Visual Basic kevintcp85 Visual Basic Programming 12 12-06-2006 12:09 PM


All times are GMT -5. The time now is 11:03 AM.

Contest Stats

Xav ........ 1323.18
MeTh0Dz|Reb0rn ........ 1053.7
morefood2001 ........ 879.43
John ........ 877.37
marwex89 ........ 869.98
WingedPanther ........ 840.94
Brandon W ........ 750.07
chili5 ........ 310.39
Steve.L ........ 241.84
dcs ........ 216.02

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 82%

Ads