I am pretty proficient in C++ and Java. I know that most progrmas could be written in either language. My question for those of you who have been out there for a while, do companies tend to use one programming language for certain types of programs? For example, is C++ typically used for larger applications and Java used more for web based programs?
I tend to like working with Java more, but am not so interested in web development(seems a lot of Java jobs deal with using JSP and servlets). Do I need to choose the type of programming I want to do, then go with the language most widely used, or is it feasible to choose the language I want to work with and be able to get into the type of programming I want?
I cannot comment really on what the big development world uses, but I know I use C++ for accessing parallel ports / hardware in Linux, and use shell scripts to manage the file system.
I think a lot of your behind-the-scenes drivers are going to be C or C++ based. JAVA is interpreted, and that means slow down when running through the libraries.
Thanks for the replies. One more question, C#, how has that been doing in the busisness world? Is it becoming popular or is C++ and Java still the better way to go? Is it worth the time to learn it?
JAVA is interpreted, and that means slow down when running through the libraries.
Just to let you know, thats not true. Java is actually quicker than C++, since libraries are determined before its compiled. So once compiled, the library is carried with the program, unlike C, which has to determine after
Java is actually quicker than C++, since libraries are determined before its compiled. So once compiled, the library is carried with the program, unlike C, which has to determine after
almost correct. The real reason is that the bytecode compiler can create optimised code for every specific platform it may run on.
Java may LOAD slower than C++ (especially if you count JVM startup time) but once the program starts running there will not be a significant difference.
This is especially true for programs that spend most of their time waiting for user input.
What does it matter if your calculations take 10ms or 11ms if the application then has to wait a minute for the user?
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.