| | |
C++ Vs Java
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
because there's no need to. It's plenty fast enough as it is, and the way it's coded now a lot of the codebase is platform independent (meaning it compiles equally well for all platforms Sun supports), reducing lead time and investment drastically.
If written in assembly (or worse, Visual Basic) they'd have to rewrite the entire thing for each hardware and operating system platform supported, which by now has reached quite a number (Sun supporting both 32 and 64 bit versions of Windows, Solaris, and Linux, for a total of something like 10 different distributions).
If written in assembly (or worse, Visual Basic) they'd have to rewrite the entire thing for each hardware and operating system platform supported, which by now has reached quite a number (Sun supporting both 32 and 64 bit versions of Windows, Solaris, and Linux, for a total of something like 10 different distributions).
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Yeah, I first noticed that "java" executable is written in C/C++ when I had some hotspot error and it wrote down a core file, whose pstack showed calls from main()->createVM()... So it's C at least if not C++.
You can execute "file java" on unix to see this. Also if you have some tools to list out names in a file like nm, or c++filt...
Anyway, that is no scale to say that C/C++ is better than Java.
For the original question, I would say that decide the industry (telecome, services, product-based, web-services...) you wanna go to, and pick based on that. If you donno which industry then just leave C/C++ and Core Java all 3 of them, shouldn't take you long to learn the languages. It will surely take some time to actually be good at programming in ANY 3 of them. Coz write code and write good are different things.
Abt java, given that apart from core java you have a 100 other things you can learn e.g. J2EE itself is a Pandora's box.
A personal note: every time I have interviewed a candidate for a job in my projects, I have looked for language/theoretical knowledge and good attitude in freshers (just outa collage) and programming knowledge in candidates with prior experience.
You can execute "file java" on unix to see this. Also if you have some tools to list out names in a file like nm, or c++filt...
Anyway, that is no scale to say that C/C++ is better than Java.
For the original question, I would say that decide the industry (telecome, services, product-based, web-services...) you wanna go to, and pick based on that. If you donno which industry then just leave C/C++ and Core Java all 3 of them, shouldn't take you long to learn the languages. It will surely take some time to actually be good at programming in ANY 3 of them. Coz write code and write good are different things.

Abt java, given that apart from core java you have a 100 other things you can learn e.g. J2EE itself is a Pandora's box.
A personal note: every time I have interviewed a candidate for a job in my projects, I have looked for language/theoretical knowledge and good attitude in freshers (just outa collage) and programming knowledge in candidates with prior experience.
Are you Agile.. ?
•
•
•
•
If written in assembly (or worse, Visual Basic) they'd have to rewrite the entire thing for each hardware and operating system platform supported...
By not writing it in assembly they don't save on that front. I presume, it's just that it's easier to do it in C/C++ than in asm.
Are you Agile.. ?
![]() |
Similar Threads
- Java 3D Environment (Java)
- Java 3D (Java)
- Java Expert (Needed) (Java)
- Java Chat Reboots (Java)
Other Threads in the C++ Forum
- Previous Thread: exit code error
- Next Thread: josephus problem...
| Thread Tools | Search this Thread |
api application array arrays based beginner binary c++ c/c++ calculator char char* class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp iamthwee ifstream input int java lib library linkedlist linker list loop looping loops map math matrix memory newbie news number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg simple sorting string strings studio temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets






