ootsoo Posted May 31, 2005 Share Posted May 31, 2005 hi all,A small thought interms of both "buisness" and "simplicity"... I wanna know which will strick the market with more like a bang...will it be C++ or Java!to make it simpler ...jist me the pros and cons of C/Cpp and Java! regards,Ootsoo Link to comment Share on other sites More sharing options...
ootsoo Posted May 31, 2005 Author Share Posted May 31, 2005 hello bossesssss,let me add some more views that made me post this question...I had a conversation with my friend [both of us are new entrants to this field ] under this topic of cpp or java! he is a management master and he views everything in buisness mode. so he told "cpp" projects are cheaper and also robust. There is no need to get the s/w or jdk bla bla for it..just do it.... but i felt "Java" is so advanced and simpler. Also felt that very cute applications can be done in seconds as there are classes for each and every thing..Apart from that i too admit that mastering "JAVA" needs a hectic "memory power" apart from "logical skills" of cpp.Please add a few more flavour for this boss... B) thanks and regards,Ootsoo Link to comment Share on other sites More sharing options...
dman Posted June 1, 2005 Share Posted June 1, 2005 Java:Pros-Portable - will run on any platform with JVMManaged - garbage collection cleans up dereferenced objects memorySimple - simple syntax + IDE tools make development much more rapidCons -Slow- All of that code management comes at a priceRequires JVM installed on machinedifficult to gain low-level access to hardwareC++:Pros-High Performance- no managed framework, direct access to API functions.Compiles to native code - no runtime requiredCons:Must be re-compiled for each platform it is to run on.More labor-intensive development than Java.So there is really no "Better" language, it depends on what kind of application you are developing and what platforms it needs to run on. Either way, both will be around for quite some time. Link to comment Share on other sites More sharing options...
ootsoo Posted June 1, 2005 Author Share Posted June 1, 2005 yo man...thats true...i accept it whole hearteldly...but one infor i got from this website.."http://www.research.att.com/~bs/applications.html"i think i saw this website in this forum only..... which stated JAVA , JVM and major components of it are developed using C++...that is cooll man...regards,Ootsoo Link to comment Share on other sites More sharing options...
dman Posted June 1, 2005 Share Posted June 1, 2005 yes, java vm is written in c or c++. the hallmark of a "true" programming is "can it be used to compile itself?" C++ yes, java, no. Link to comment Share on other sites More sharing options...
azagahl Posted June 19, 2005 Share Posted June 19, 2005 I wanna know which will strick the market with more like a bang...will it be C++ or Java!C++. Reasons:C++ is MUCH older than Java and does not show any signs of disappearing.C++ results in much more efficient programs. For today's movie-quality computer games, performance is probably the most important factor.Microsoft decided to innovate and create an "enhanced" (i.e. incompatible) version of Java VM to disrupt the creation platform-independent Java programs. Threats to not include their VM by default (and thereby busting many Java programs) and lawsuits over that have created a lot of uncertainty over the viability of using Java.Java VM's are plagued with security problems. As a result, Java hasn't lived up to its promise, IMHO.I recommend new students learn C++ before they try to learn Java, as C++ makes you think about the messy details like object lifetime and ownership - Java lets you get away with being less attentive. I think it's important to learn the hard way first.BTW, I am vary concerned about C#. Keywords are added to C++ very sparingly. In C#, literally dozens of extra keywords are dumped into the core language. Will C# apps using .NET Framework 2.0 will be able to function with plugins designed for .NET Framework 1.0? Also C# has no multiplatform support at all. And Microsoft pumps out brand new frameworks (MFC, OLE, ActiveX, ATL, .NET, etc..) every couple of years. Link to comment Share on other sites More sharing options...
Zxian Posted June 20, 2005 Share Posted June 20, 2005 I recommend new students learn C++ before they try to learn Java, as C++ makes you think about the messy details like object lifetime and ownership - Java lets you get away with being less attentive. I think it's important to learn the hard way first.<{POST_SNAPBACK}>I have to agree with this. The concept of proper memory management is completely lost to Java students, while one of the first things you learn about with C++ is pointers and dynamic memory (those **** seg faults and bus errors... ).Also in Java, the ability to pass by reference is completely lost... something that is very useful in programming. I know a friend of mine had written a program in C that she ultimately had to convert to Java... it went from a nice clean bunch of code to a clunky ugly comglomerate of classes that contained 2 data members and one method... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now