locked
line of code RRS feed

  • Question

  • hi.. i would like to compare .net and java.. but i cant find the latest comparison on both . can u pls help..
    in terms of the line of code.. execution time.. and other benefits.

    thanks
    Tuesday, May 27, 2008 2:34 AM

Answers

  • Hi Alain,

     

    this is a recent, independent report on Java and .NET: http://adtmag.com/article.aspx?id=22795

     

    It's difficult to answer the question in the way you ask (lines of code, execution time, etc) as it will depend on the application you need to do and the availability of an ad hoc API that makes your job easier

     

    Both platforms are pretty similar in terms of evolution

     

    About execution time, there were some studies comparing both but they weren't free of controversy when no accusations from the presumably looser part

     

    I dare to say that the main strength of .NET platform is developer productivity (thanks mostly to Visual Studio IDE) while Java strength is in its wide industry support

     

    Probably most remarkable weakness of .NET is the fact that is single-vendor / single-platform (there's a Linux version called Mono Project sponsored by Novel and timidly by Microsoft itself but it goes clearly behind the MS version). Main weakness of the Java platform is its complexity, that motivated a plethora of parallels, community projects like Spring and others, what made easier the life of developers already "in", but overwhelming the life of newcomers, as there is and endless list of frameworks, APIs, platforms, etc, to consider for a decent application

     

    .NET is more widely used than Java based on analyst reports: 60% vs. 50%, with an evident overlap of companies applying both. There were more cases of companies applying Java that later incorporated .NET than vice versa

    Friday, June 27, 2008 12:19 AM

All replies

  • Alain,

     

    this is an architect forum, so it is unlikely that you will get an answer in here, perhaps try to .NET forums, as there are bound to be developers in there who can tell you a lot more detail than most of us could do in this forum.

     

    Good luck,

     

    Martin Platt.

     

    Tuesday, May 27, 2008 7:05 AM
  • Alain,

         I found this link http://www.25hoursaday.com/CsharpVsJava.html to be useful on .net vs java comparison.

    Thanks,

    Gaja

    Friday, May 30, 2008 9:35 PM
  • Hi Alain,

     

    this is a recent, independent report on Java and .NET: http://adtmag.com/article.aspx?id=22795

     

    It's difficult to answer the question in the way you ask (lines of code, execution time, etc) as it will depend on the application you need to do and the availability of an ad hoc API that makes your job easier

     

    Both platforms are pretty similar in terms of evolution

     

    About execution time, there were some studies comparing both but they weren't free of controversy when no accusations from the presumably looser part

     

    I dare to say that the main strength of .NET platform is developer productivity (thanks mostly to Visual Studio IDE) while Java strength is in its wide industry support

     

    Probably most remarkable weakness of .NET is the fact that is single-vendor / single-platform (there's a Linux version called Mono Project sponsored by Novel and timidly by Microsoft itself but it goes clearly behind the MS version). Main weakness of the Java platform is its complexity, that motivated a plethora of parallels, community projects like Spring and others, what made easier the life of developers already "in", but overwhelming the life of newcomers, as there is and endless list of frameworks, APIs, platforms, etc, to consider for a decent application

     

    .NET is more widely used than Java based on analyst reports: 60% vs. 50%, with an evident overlap of companies applying both. There were more cases of companies applying Java that later incorporated .NET than vice versa

    Friday, June 27, 2008 12:19 AM