Foo - Java Sucks

Bikeforums.net is a forum about nothing but bikes. Our community can help you find information about hard-to-find and localized information like bicycle tours, specialties like where in your area to have your recumbent bike serviced, or what are the best bicycle tires and seats for the activities you use your bike for.




View Full Version : Java Sucks


RubenX
11-07-09, 08:45 PM
Right from the first release it had more bugs than a Microsoft operating system and it was slow as hell. All Java fanboys I've met keep talking about how easy it is and how much functionality comes already build into the language. But when the stuff breaks they still say "oh yeah, it's a bug in java that will be fixed on the next release".

I used to hate C++ just as much, back when I was a C# fanboy. And I also hated C# when I was a BASIC fanboy. But still, IMHO, Java Sucks HARD and I'll never join the Java Fanboism.


StupidlyBrave
11-07-09, 08:50 PM
http://s3.images.com/huge.40.204958.JPG

?? ??

FR4NCH1SE
11-07-09, 08:51 PM
Java Programming sucks, not really but Its giving me a headache.


RubenX
11-07-09, 09:30 PM
And you know what? Is not just java. It's the whole SUN who sucks. Their racks suck, their servers suck (too friggin big), their logo sucks, solaris sucks... with the exception of open office (and even that is questionable) all their stuff sucks.

MrCrassic
11-07-09, 10:13 PM
Right from the first release it had more bugs than a Microsoft operating system and it was slow as hell. All Java fanboys I've met keep talking about how easy it is and how much functionality comes already build into the language. But when the stuff breaks they still say "oh yeah, it's a bug in java that will be fixed on the next release".

I used to hate C++ just as much, back when I was a C# fanboy. And I also hated C# when I was a BASIC fanboy. But still, IMHO, Java Sucks HARD and I'll never join the Java Fanboism.

Java has its issues, but it isn't that bad. Back when it was really popular, it was A LOT easier to use than C++. Even though C# and the .NET langauges are around, Java is the only one (that's mainstream) that really provides a portable and clean OO framework.

It's virtual machine design does make things slower (and programs more memory-intensive), but the fact that you can code something on Linux that's GUARANTEED to work exactly on Windows is invaluable. I think that one of the biggest reasons why companies are moving over to the .NETs is because most systems run on Windows anyway, and .NET is super compatible with the Windows SDK and its various APIs.

C++ has a truckload of bugs, and it's super easy to cause a disastrous memory leak if you're not careful. Multi-threaded programming is a dance with the devil without a third party API like Boost, whereas Java has native support for it...

Nonetheless, it's all about getting the right tool for the job. All of the mainstream languages have purposes somewhere.

RubenX
11-07-09, 11:00 PM
.... C++ has a truckload of bugs, ....

compiler?

I sense deep javafanboism with this one... :D

mustang1
11-08-09, 01:15 AM
I know two types of programmers: one bunch have worked with C/C++, the other bunch have only worked with high level languages. The C guys always say the work they done with C helped them create better high level code coz they know what's going on under-the-hood. The high-level guys always deny this and say computers are powerful enough that all the manual resource management of low level languages doesn't matter any more.

Go figure.

bmt074
11-08-09, 08:21 AM
I agree- I could never get into Java. In terms of web apps I've never run into anything I can't do with AJAX that I would need to resort to Java to do. It's amazing that anyone uses Java on the web any more.

Your users have to have Java installed on their system and Java apps tend to be pretty slow to load and initialize.

You see it less and less these days however with AJAX (and other similar technologies) around.


Right from the first release it had more bugs than a Microsoft operating system and it was slow as hell. All Java fanboys I've met keep talking about how easy it is and how much functionality comes already build into the language. But when the stuff breaks they still say "oh yeah, it's a bug in java that will be fixed on the next release".

I used to hate C++ just as much, back when I was a C# fanboy. And I also hated C# when I was a BASIC fanboy. But still, IMHO, Java Sucks HARD and I'll never join the Java Fanboism.

StupidlyBrave
11-08-09, 12:47 PM
Your users have to have Java installed on their system and Java apps tend to be pretty slow to load and initialize.

You see it less and less these days however with AJAX (and other similar technologies) around.

This is actually quite incorrect. Java has moved to places it works (server side) and away from places it didn't (browsers).

MrCrassic
11-08-09, 01:10 PM
I agree- I could never get into Java. In terms of web apps I've never run into anything I can't do with AJAX that I would need to resort to Java to do. It's amazing that anyone uses Java on the web any more.

Your users have to have Java installed on their system and Java apps tend to be pretty slow to load and initialize.

You see it less and less these days however with AJAX (and other similar technologies) around.

Incorrect; computers are fast enough to run the JVM at almost native speed (except for critical number crunching, whose respective programs are always coded at the lowest or most efficient languages necessary). I do, however, agree that newer platforms, such as AJAX (Javascript/DHTML) and .NET, have mostly overtaken Java's utility on the web.


I know two types of programmers: one bunch have worked with C/C++, the other bunch have only worked with high level languages. The C guys always say the work they done with C helped them create better high level code coz they know what's going on under-the-hood. The high-level guys always deny this and say computers are powerful enough that all the manual resource management of low level languages doesn't matter any more.

Go figure.

I highly agree with this. I've been coding with C for a few months now, and everything I've done with it (especially pointer arithmetic and memory management) has helped me gain incredible knowledge in how higher level languages work. People who start off on a high level language with the STL won't realize how easy they have it with strings. (If you wanted to grow or shrink a c-string in C, you had to use malloc(), realloc(), free(), calloc() and such, while being careful over [a] how much memory you expand the c-string space to, [b] making sure that the memory being expanded to is clear and [c] that you're managing memory *properly*.) Hell, converting stuff being binary and decimal is easier in C++ than C, but C provides the insight needed to understand the many ways it can be done. More importantly, C kind of forces the programmer to work on the computer's level, since one finds him or herself having to modify individual *bits* and even inserting assembly calls for better fine-tuning or performance.

I *love* C...for low level stuff. :)


compiler?

I sense deep javafanboism with this one... :D

Incorrect; I haven't developed with Java for at least a year. At the moment, I'm coding my school projects in C, and my work projects in VBScript.

bmt074
11-08-09, 01:48 PM
This is actually quite incorrect. Java has moved to places it works (server side) and away from places it didn't (browsers).

Yes I was only thinking of the client-side of the world when I made that statement. Good point in that it is used as a server-side language as well.

KingTermite
11-08-09, 02:41 PM
Right from the first release it had more bugs than a Microsoft operating system and it was slow as hell. All Java fanboys I've met keep talking about how easy it is and how much functionality comes already build into the language. But when the stuff breaks they still say "oh yeah, it's a bug in java that will be fixed on the next release".

I used to hate C++ just as much, back when I was a C# fanboy. And I also hated C# when I was a BASIC fanboy. But still, IMHO, Java Sucks HARD and I'll never join the Java Fanboism.
Sounds to me like you need to pick one and stop all the hate. All have their uses. The right tool for the right job.

Personally, I like C# a lot, but have worked mostly in C/C++ for 15 or so years.

RUOkie
11-08-09, 06:10 PM
Hey man, I LOVE coffee, whether it is mocha Java, Sumatran, Columbian...

iamlucky13
11-08-09, 10:29 PM
The high-level guys always deny this and say computers are powerful enough that all the manual resource management of low level languages doesn't matter any more.

Those are the guys who make life miserable for users. Just because a full-size pickup can tow 12,000 pounds doesn't mean it's remotely sensible to drag that weight around all the time, especially if most of the weight is trash.

I'm not saying Java is that bad, but the runtime environment is pretty heavy, and just-in-time compiling means long load times. I'm sure it's great for servers, but it's not very fun on desktops.

KingTermite
11-09-09, 09:11 AM
Those are the guys who make life miserable for users. Just because a full-size pickup can tow 12,000 pounds doesn't mean it's remotely sensible to drag that weight around all the time, especially if most of the weight is trash.

I'm not saying Java is that bad, but the runtime environment is pretty heavy, and just-in-time compiling means long load times. I'm sure it's great for servers, but it's not very fun on desktops.

+1000000000000

Java is a nice language to code in, IMO, but when I created a simple window with a text box and a button it took 80 megabytes of memory when running. Something is WRONG with that.

mlts22
11-09-09, 03:25 PM
Don't forget that if a bunch of code runs in one VM, it may break in another. I had that bite me where something ran perfectly under OS X, but running the code under Windows or Linux, it just would not display properly.

My trick with Java that worked a few years back before MS canned J#: Compile Java programs as .NET apps. Then, ironically, they worked and worked well.

This isn't to say Java is bad. However, Sun missed the mark by not being able to deliver on video and other things which would have gotten Java back on webpages.

MrCrassic
11-10-09, 10:09 AM
And you know what? Is not just java. It's the whole SUN who sucks. Their racks suck, their servers suck (too friggin big), their logo sucks, solaris sucks... with the exception of open office (and even that is questionable) all their stuff sucks.

Uhh...SPARC is actually one of the best CPUs for numerical processing out there. Solaris is kind of weak, but their servers were actually quite nice, and still are for certain purposes.

OpenOffice is okay, but not good in the face of Microsoft Office.

trsidn
11-10-09, 10:14 AM
dang, I miss Fortran....

ModoVincere
11-10-09, 10:31 AM
dang, I miss Fortran....

Who wants to shoot first?

mustang1
11-10-09, 10:44 AM
Those are the guys who make life miserable for users. Just because a full-size pickup can tow 12,000 pounds doesn't mean it's remotely sensible to drag that weight around all the time, especially if most of the weight is trash.

I'm not saying Java is that bad, but the runtime environment is pretty heavy, and just-in-time compiling means long load times. I'm sure it's great for servers, but it's not very fun on desktops.

Yup. They keep talking of the rest of the app running a lot quicker though. Also JIT is good when you want your program itself to generate new code. Wrt long load times, does Java have a pre-compile option?

KingTermite
11-10-09, 10:47 AM
Who wants to shoot first?

Cocking the 12-gauge right now!!!!

Fortran was the first language I ever had to play with.....killed me in the "Engineering Tools" class we had to learn it in (partly because teacher sucked). When I finished and understood it, I wondered it makes logical sense....how could they make the language itself easier to work in. Next semester I took Ada. I SAW how much easier it could be. Then I thought Ada made sense...how could they make it easier to work in. Then I took C.

mustang1
11-10-09, 11:14 AM
I highly agree with this. I've been coding with C for a few months now, and everything I've done with it (especially pointer arithmetic and memory management) has helped me gain incredible knowledge in how higher level languages work. People who start off on a high level language with the STL won't realize how easy they have it with strings. (If you wanted to grow or shrink a c-string in C, you had to use malloc(), realloc(), free(), calloc() and such, while being careful over [a] how much memory you expand the c-string space to, [b] making sure that the memory being expanded to is clear and [c] that you're managing memory *properly*.) Hell, converting stuff being binary and decimal is easier in C++ than C, but C provides the insight needed to understand the many ways it can be done. More importantly, C kind of forces the programmer to work on the computer's level, since one finds him or herself having to modify individual *bits* and even inserting assembly calls for better fine-tuning or performance.

I *love* C...for low level stuff. :)

Can this be done in C# using unsafe code where you can do your own memory management? Or is it not as abstract in C# as in C?

habals
11-10-09, 11:23 AM
I do research on Java virtual machine and similar managed runtime. If you are sick of Sun's HotSpot JVM, use IBM J9 or Oracle JRockit. IBM J9 has more recent technologies and usually faster in multicore processors. When using Sun's HotSpot, don't forget to use -server option unless you are programming GUI apps. I think -server should be the default instead of -client.

HardyWeinberg
11-10-09, 11:25 AM
I saw that the last java update told me it's going to update itself from now on. Hopefully that means I can stop telling it that I don't want that freaking yahoo toolbar.

habals
11-10-09, 11:31 AM
The high-level guys always deny this and say computers are powerful enough that all the manual resource management of low level languages doesn't matter any more.


It was true when processors become faster every year.
Nowadays, single-processor speed does not improve, and just the number of cores increase.
Most JVMs are not scalable yet, so it sucks on multicores.
I'd suggest mix C & Java and connect them with Java Native Interface (JNI).
For low-level controlling and for performance critical part, you can write in C.
Java is much more productive in writing & refactoring codes, and much more reliable than C.

However, Java can be faster (in steady-state) than C because of run-time optimization.
C compiler assumes lots of things, while JVM collects statistics and apply it for the optimization.
That is why server applications are mostly developed in Java.

habals
11-10-09, 11:34 AM
does Java have a pre-compile option?

IBM J9 has pre-compilation options.
(technically called ahead-of-time compilation as opposed to just-in-time compilation)
However, you should note that initial performance is better with AOT,
but JIT shows much better steady state performance.

mlts22
11-10-09, 12:36 PM
Uhh...SPARC is actually one of the best CPUs for numerical processing out there. Solaris is kind of weak, but their servers were actually quite nice, and still are for certain purposes.

OpenOffice is okay, but not good in the face of Microsoft Office.

You can say that again. OOo is decent and better than nothing, but when I've used it, I've had formatting issues forcing me to tweak (or even just copy the text out, paste it in a new document and reformat from scratch) any Word documents imported or exported.

I hope Oracle doesn't kill the SPARC line. (I also hope Intel keeps going with the Itanium line for similar reasons.) I really don't want to see the whole world on the x86 platform. Really, I don't. x86 is good enough, but it would be nice to have machines that run on architectures designed from scratch, as opposed to stuff designed in the 1970s getting wrappers after wrappers slung around it. Register design comes to mind... 128 registers to play with on an Itanium chip makes low level programming a lot easier in a number of regards.

Solaris, as in the OS is decent. There are 1-2 features on it that make it (an average UNIX, IMHO) stellar. ZFS and partitioning comes to mind. ZFS is such a jump forward from anything else in the industry that I know people who run Solaris just to have a commercially supported ZFS box as a file server.