|
||||||
| General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Quote:
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();
|
|
|||||
|
By power I mean getting the most work done with the least amount of code.
![]() |
|
|||
|
Quote:
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();
|
|
|||||
|
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. |
| Sponsored Links |
|
|
|
|||||
|
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! |
|
|||
|
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();
|
|
|||||
|
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 |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |
| 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 |
Goal: 100,000 Posts
Complete: 82%