Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » Reasons to hate Java

This thread is locked; no one can reply to it. rss feed Print
 1   2   3 
Reasons to hate Java
Goalie Ca
Member #2,579
July 2002
avatar

About that stupid speed argument, let's just put it this way. Because of practical reasons java just isn't able to compete with c/c++ in all areas. It's language architecture obviously has some limits to it otherwise it'd be done by now. It doesn't matter what p = np is or all that other crud they teach us naive students :P

-------------
Bah weep granah weep nini bong!

spellcaster
Member #1,493
September 2001
avatar

well, as long as games like Titan Attacks are possible in java, it's fast enough for me ;)

--
There are no stupid questions, but there are a lot of inquisitive idiots.

HoHo
Member #4,534
April 2004
avatar

And if you have some parts of your code that need to run really fast you can always use JNI and code the fast part in basically any language you want.

__________
In theory, there is no difference between theory and practice. But, in practice, there is - Jan L.A. van de Snepscheut
MMORPG's...Many Men Online Role Playing Girls - Radagar
"Is Java REALLY slower? Does STL really bloat your exes? Find out with your friendly host, HoHo, and his benchmarking machine!" - Jakub Wasilewski

Marcello
Member #1,860
January 2002
avatar

Quote:

From an end-user perspective, I beg to differ. I mean it, I've never seen a Java-based GUI application that ran at something approaching a decent speed, on any computer I've ran them on.

Tried Eclipse?

Marcello

Chris Katko
Member #1,881
January 2002
avatar

Quote:

Each language has its purpose, however humble. Each language expresses the Yin and Yang of software. Each language has its place within the Tao.

I disagree with that. On a basic level, it makes sense. However, it doesn't take into account that some languages were never developed fully (or properly at all!). And it doesn't justify a particular language's downfalls unless that language intentionally chose to take that downfall for the sake of another feature.

-----sig:
“Programs should be written for people to read, and only incidentally for machines to execute.” - Structure and Interpretation of Computer Programs
"Political Correctness is fascism disguised as manners" --George Carlin

HoHo
Member #4,534
April 2004
avatar

Quote:

Tried Eclipse?

AFAIK, Eclipse doesn't use Java for GUI drawing, why else are there different versions for GTK2 and motif?
http://download.eclipse.org/eclipse/downloads/drops/S-3.2M6-200603312000/index.php

__________
In theory, there is no difference between theory and practice. But, in practice, there is - Jan L.A. van de Snepscheut
MMORPG's...Many Men Online Role Playing Girls - Radagar
"Is Java REALLY slower? Does STL really bloat your exes? Find out with your friendly host, HoHo, and his benchmarking machine!" - Jakub Wasilewski

Marcello
Member #1,860
January 2002
avatar

It uses SWT. It's an alternative to AWT and Swing. If you don't consider it Java, well, then this discussion is kind of moot.

Marcello

HoHo
Member #4,534
April 2004
avatar

heh, sorry about that. I've only used Swing so far and I don't know much about SWT. That shows using a combo of Java and JNI can make a huge difference.

I think I should take a closer look at SWT :)

__________
In theory, there is no difference between theory and practice. But, in practice, there is - Jan L.A. van de Snepscheut
MMORPG's...Many Men Online Role Playing Girls - Radagar
"Is Java REALLY slower? Does STL really bloat your exes? Find out with your friendly host, HoHo, and his benchmarking machine!" - Jakub Wasilewski

kentl
Member #2,905
November 2002

Quote:

heh, sorry about that. I've only used Swing so far and I don't know much about SWT. That shows using a combo of Java and JNI can make a huge difference.

Well it can when you use JNI to be able to do a native GUI. I don't think you will achieve much by using it to optimizing slow parts and port them from Java to C++.

Goalie Ca
Member #2,579
July 2002
avatar

While the widgets may be responsive in eclipse its a pretty hefty program nonetheless. Compared to kdevelop and especially vim its a beast.

-------------
Bah weep granah weep nini bong!

HoHo
Member #4,534
April 2004
avatar

Quote:

Compared to kdevelop and especially vim its a beast.

Can you compare them feature-wise also?
;D

__________
In theory, there is no difference between theory and practice. But, in practice, there is - Jan L.A. van de Snepscheut
MMORPG's...Many Men Online Role Playing Girls - Radagar
"Is Java REALLY slower? Does STL really bloat your exes? Find out with your friendly host, HoHo, and his benchmarking machine!" - Jakub Wasilewski

Fladimir da Gorf
Member #1,565
October 2001
avatar

Yeah, a text editor isn't fully featured if you can't play Breakout with it...

OpenLayer has reached a random SVN version number ;) | Online manual | Installation video!| MSVC projects now possible with cmake | Now alvailable as a Dev-C++ Devpack! (Thanks to Kotori)

Thomas Fjellstrom
Member #476
June 2000
avatar

Then everyone should stick with RHIDE and Setedit (the one I belive RHIDE uses).

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Goalie Ca
Member #2,579
July 2002
avatar

Quote:

Can you compare them feature-wise also?

Kdevelop most certainly. It's a fully featured IDE. Handles everything from C to Ruby. Built with QT toolkit of course.

Vim has almost all i need as far as text editing is concerned. Code collapse, syntax highlighting, indenting, regex find/replace, scripts, split windows (doubleplus good), and it even handles latex nicely. Normally I alt-tab into another window to build the project and run a nice debugger like kdbg.

Emacs is still much lighter than eclipse and is itself a whole operating system. It even comes with vim :P I can't be bothered with it though. Who needs to play tetris, manage files, and edit text in the same application :P

-------------
Bah weep granah weep nini bong!

Thomas Fjellstrom
Member #476
June 2000
avatar

I just use the Editor that KDevelop itself uses. Kate. For now its enough, till I manage to get Scintilla ported to qt 4.1.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

HoHo
Member #4,534
April 2004
avatar

Actually I use both, KDevelop and Eclipse, quite a lot. Some things I miss from KDevelop is good code competition and refactoring. A bit more flexible code formatter would also be nice.
And of course, CDT frontend of GDB is just so nice with all the CPU registers and everything :)

__________
In theory, there is no difference between theory and practice. But, in practice, there is - Jan L.A. van de Snepscheut
MMORPG's...Many Men Online Role Playing Girls - Radagar
"Is Java REALLY slower? Does STL really bloat your exes? Find out with your friendly host, HoHo, and his benchmarking machine!" - Jakub Wasilewski

Marcello
Member #1,860
January 2002
avatar

Quote:

Actually I use both, KDevelop and Eclipse, quite a lot. Some things I miss from KDevelop is good code competition and refactoring. A bit more flexible code formatter would also be nice.

If KDevelop has better refactory and (I assume you mean) code completion than Eclipse, then it must be amazing beyond belief. Eclipse is quite awesome. It's the first IDE I've ever used that I used again. Now I do all my coding in Eclipse since is so bloody awesome. As for code formatter, I'm not sure what you mean, you can use whatever convention you like (I imagine it can load others, too), although I personally stick by the Java one. I find BSD braces absolutely hideous and a waste of lines.

Marcello

HoHo
Member #4,534
April 2004
avatar

Quote:

If KDevelop has better refactory and (I assume you mean) code completion than Eclipse, then it must be amazing beyond belief.

I think my wording was a bit off. When I said "miss from KDevelop I meant I wished they were there in KDevelop.

That means I wish KDevelop had as good refactoring and code completion as Eclipse does. Same with code formatting.

Quote:

I find BSD braces absolutely hideous and a waste of lines.

I won't argue with that. 2x19" isn't nearly enough screen space to waste it like that :P

__________
In theory, there is no difference between theory and practice. But, in practice, there is - Jan L.A. van de Snepscheut
MMORPG's...Many Men Online Role Playing Girls - Radagar
"Is Java REALLY slower? Does STL really bloat your exes? Find out with your friendly host, HoHo, and his benchmarking machine!" - Jakub Wasilewski

Crazy Photon
Member #2,588
July 2002
avatar

Quote:

>Can you compare them feature-wise also?

Kdevelop most certainly. It's a fully featured IDE. Handles everything from C to Ruby.

Last time I checked, KDevelop didn't support the more advanced J2EE stuff (like JSP code completion taking custom tags into account, EJBs, Graphical Struts editing, etc.), so it also depends on what do you want to use it for. I'd use something else if I were to develop in C/C++ though...

-----
Resistance is NEVER futile...

Tobias Dammers
Member #2,604
August 2002
avatar

Quote:

I find BSD braces absolutely hideous and a waste of lines.
I won't argue with that. 2x19" isn't nearly enough screen space to waste it like that :P

Yes, but using BSD style braces consequently, one can rather quickly bash out thousands of lines of code.

---
Me make music: Triofobie
---
"We need Tobias and his awesome trombone, too." - Johan Halmén

 1   2   3 


Go to: