954,074 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

real world uses of C++ and Java

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?

Squires
Junior Poster
125 posts since Jun 2004
Reputation Points: 93
Solved Threads: 1
 

whether you choose java or you choose c++ ... do it at your best ... be a master.

nanosani
Unauthenticated Liar
Team Colleague
1,830 posts since Jul 2004
Reputation Points: 45
Solved Threads: 56
 

Hi,

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.

Christian

kc0arf
Posting Virtuoso
Team Colleague
1,937 posts since Mar 2004
Reputation Points: 121
Solved Threads: 57
 

I think it has a lot more to do with who is in charge of the project technically. People have preferences and they tend to go with what they like.

Being good at both is a good way to go to AN job.

Chainsaw
Posting Pro in Training
436 posts since Jun 2004
Reputation Points: 36
Solved Threads: 11
 

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?

Squires
Junior Poster
125 posts since Jun 2004
Reputation Points: 93
Solved Threads: 1
 

still C++ and Java r popular out there.

anthmaina
Light Poster
39 posts since Sep 2004
Reputation Points: 11
Solved Threads: 0
 
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

smagee12
Newbie Poster
19 posts since Oct 2004
Reputation Points: 13
Solved Threads: 0
 
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?

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

if you send sum thing about c++ programming (how to use).

surojit das
Newbie Poster
1 post since Jun 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: