Ryan Graham wrote: > Based on you questions and responses, I'd suggest you pick the one > that you are the most familiar with. Mistakes can be made in any > language, no matter how "safe" it is.
I've seen a few people dig their own grave with Java, but that's always been because they haven't got a clue how to effectively leverage Object-Oriented design principles. From personal experience with both languages, you'll be better off with Java, which is less prone to mistakes than C++ is. > Regarding performance, I've seen professionally tuned Java out perform C. There's some guy who wrote a bunch of benchmarks that show Java being 2x to 16x faster than C++. I think the tests are full of crap though. > On the topic of ease of development, a lot of major libraries have > Java and C++ libraries. All the major DB's have C++ bindings and JDBC > drivers. XML, same. For GUI stuff, Qt can be used in either language. > > Java wins for portability, but not by much. If you write your C++ Yeah by much. C++'s standard libraries aren't even completely uniform across different platforms. I've run into subtle discrepancies that really ticked me off at times. > properly, it can be compiled without change on multiple platforms. Qt > is a popular example of a cross-platform C++ library. Heck, even C has > a truck load of cross-platform toolkits available. I've tried writing GUIs in C. The easiest way is using GTK+ and Glade, which literally lets you save GUI instances like NeXT Step does. Otherwise the handwritten C GUIs are complete crap. Cryptic, confusing, and wholly unhealthy. > In my experience, the human factor is going to be the main decider in > your results, so pick the one that you collectively have the most > experience with. True, if you're already seasoned C++ pros then you should probably stick with it. But if you've got a neutral impetus, I'd really suggest going with Java. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [EMAIL PROTECTED] For more options, visit our group at http://groups.google.com/group/linuxusersgroup -~----------~----~----~----~------~----~------~--~---
