CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Java vs C++

  1. #1
    Join Date
    Apr 1999
    Posts
    19

    Java vs C++



    What are the disadvantage of java over c++, apart from performance?


    Thanks in advance.

    dev

  2. #2
    Join Date
    May 1999
    Posts
    93

    Re: Java vs C++



    You shouldn't really use Java for native applications. You will have trouble dealing

    with hardware and OS specific things. The garbage collection may kick in at the

    wrong time and the Java app may appear to hang for a while. I am sure there are

    many other drawbacks but then Java has its strengths too. Choose the language

    that best suits your need.

  3. #3

    Re: Java vs C++



    That didn't sound like you explained anything...

    Personally I think that C++ is "stronger" but then I'm only a freshmen in College and the Java class spent most of the year teaching html...

  4. #4
    Join Date
    Mar 1999
    Posts
    5

    Re: Java vs C++



    hi,

    by using java what U are doing if providing a new layer called as hardware

    abstraction layer which makes U compiled code practically platform independant

    change the HAL and U can run Ur code without recompilation


    Second thing in C++ is pointers java does not support pointer concept

    because of security reasons


    because java does not use the capabilities of the microprocessor for that nich speed

    it is inheritenly slow enough but c+= compilers compile code based on the micropro..

    so they make use of optimization and hence are fast


    - Abhisheik R Vishwakarma




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured