ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm with Tink on this one. Java is an extreme memory hog, the simplest of programs chew up hundreds of megs of memory. Don't get me wrong, I program in Java just about every day because it's quick and there are lots of supporting libraries out there, but I think it's asinine at how much hardware the most basic programs need to run.
But here is my other gripe about Java.
I've seen far too many programmer wannabes cross my path knowing Java over C/C++. Java is easy to learn and just about any idiot can start typing and produce a screen with some data on it. When the complex project arrives is when you can detect the marketing major turned programmer because he took programming in Java 101 in college. About 4 out of every 5 C/C++ guys I've interviewed who claimed to know C/C++ know it well, that ratio is about 1 to 5 for the Java side. Agree with me or not, but it takes a special 'type' of person to be a programmer and C weeded out most that didn't fit. Java does not.
Few years ago, in our centre, we had programmers who spent lot of time on IBM mainframes, COBOL etc and when new architectures evolved, refused to learn new stuff and found solace in finding problems in new stuff. Some choice statements were "Fortran is better than UNIX", " COBOL is better than Oracle" etc.
We were just about 30-35 yr olds, who jumped at the oppertunity to dump COBOL Fortran stuff, and we had done projects in C, C++ in college anyway. It simply polarized the environment in our centre!
Great thing is, a decade on, they still miss their old stuff! and they still dont like modern stuff!
This thread reminds me so much of that polarization.
Oh by the way, I didnt know you could do SO MUCH on an IBM mainframe. Why are we wasting zillions on IBM P-series, Linux clusters, Sun Fires and SGI Onyx. Why isnt NASA doing all their stuff on IBM mainframes? Or have they stopped being so mission critical?
Oh by the way, I didnt know you could do SO MUCH on an IBM mainframe. Why are we wasting zillions on IBM P-series, Linux clusters, Sun Fires and SGI Onyx. Why isnt NASA doing all their stuff on IBM mainframes? Or have they stopped being so mission critical?
NASA has the ability to change their systems without the risk of millions of dollars. Many corporations still run on 30 year old mainframes. Visa in my town of montreal is running on anchient mainframes, with a fresh new interface through a mini IIRC, but they're still using the old frames.
Sure, I agree with that. Why should anyone change hardware/software if it is nor economically viable? Same rule applies elsewhere, why should someone learn xyz language because it runs faster/portable/ or fancy.
Cheaper ardware runs for ur purpose.. That doesnt mean that all other platforms including UNIX running Oracle is not mission critical, as Mr Moderator had said. I have seen a radiologist who loads his digital CT scans into his laptop and visualizes the brain of the patient in 3D so that he can take more scans if needed. This is mission critical for him, and saves lives if a small clot is missed by the original CT. $ transactions are not mission critical BY ANY STANDARD. Also the "millions of transactions" he talks about are taking place in RDBMS. It has nothing to do with the frontend.
By the way we are in Oil industry, and we are talking about teraflops, and jobs run for several weeks. The software is written in C++, java, TCL/TK, Corba and I dont know what else. Any software worth its salt will have more than 1 language somewhere or other.
Also, we have written same code in java, c and perl and run it on sample data. 12 mins, 10 mins and 11 mins was the respective times.
Also ask any moderate C programmer without big maths backgroud to write a program to find if a given point is in a polygon or not.( It was required to find if the wells proposed were being targeted in areas under license for us or not.. Not for school home work). Some of our guys took 1 month to find proper algorithm on the net and some more time to implement it. In java, it was a 1 line function call. Thats why java is popular. It has something for all domain people.
I programmed in C, C++, java, perl, Oracle and what not, mostly for fun, though I am a System Admin. Everything has its place under the sun. Its silly grownups arguing like this in a public forum.
if its not for that word "exactly" in op's thread title , i would like to say that java can also be use for simple fun ... probably will end up with some little non-competing self-admirations and satisfactions ... it is nothing special actually ... a lot of things are included with the "stalk" installation , dont need to search for external "extensions" ...
but if with that word "exactly" included , guess that this thread is about "big iron talking" , very scary ... ^_^
Sure, I agree with that. Why should anyone change hardware/software if it is nor economically viable? Same rule applies elsewhere, why should someone learn xyz language because it runs faster/portable/ or fancy.
Cheaper ardware runs for ur purpose.. That doesnt mean that all other platforms including UNIX running Oracle is not mission critical, as Mr Moderator had said. I have seen a radiologist who loads his digital CT scans into his laptop and visualizes the brain of the patient in 3D so that he can take more scans if needed. This is mission critical for him, and saves lives if a small clot is missed by the original CT. $ transactions are not mission critical BY ANY STANDARD. Also the "millions of transactions" he talks about are taking place in RDBMS. It has nothing to do with the frontend.
By the way we are in Oil industry, and we are talking about teraflops, and jobs run for several weeks. The software is written in C++, java, TCL/TK, Corba and I dont know what else. Any software worth its salt will have more than 1 language somewhere or other.
Thats my experiance aswell that big projects have several languages in it. In the end its just binaries and calculations.
Quote:
Originally Posted by ppanyam
Also, we have written same code in java, c and perl and run it on sample data. 12 mins, 10 mins and 11 mins was the respective times.
Intressting.
Quote:
Originally Posted by ppanyam
Also ask any moderate C programmer without big maths backgroud to write a program to find if a given point is in a polygon or not.( It was required to find if the wells proposed were being targeted in areas under license for us or not.. Not for school home work). Some of our guys took 1 month to find proper algorithm on the net and some more time to implement it. In java, it was a 1 line function call. Thats why java is popular. It has something for all domain people.
dont forget pointers....
Quote:
Originally Posted by ppanyam
I programmed in C, C++, java, perl, Oracle and what not, mostly for fun, though I am a System Admin. Everything has its place under the sun. Its silly grownups arguing like this in a public forum.
Originally Posted by ppanyam Also, we have written same code in java, c and perl and run it on sample data. 12 mins, 10 mins and 11 mins was the respective times.
Intressting.
It actually means very little not knowing the data or the algorithm
used.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.