Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Im starting to despise java programming for the mac



Right on target Jason and Kustaa!

Recently I ported a number of audio quality assessment tools including charting and advanced math libraries from XP to OS X. The "porting" consisted of coping Eclipse projects from XP to Eclipse on OS X and running verification tests. I didn't have to change a single line of code.

I have been working with C/C++ for many, many years. While it is possible to write portable code in this language, the amount of work and knowledge about all quirks of various compilers, operating systems, platforms, processors etc required to successfully accomplish this for any non-trivial project is astonishing. Not to mention the code becoming almost unreadable due to use of all macros referring to macros etc in absurdum, all macros required for portability. In terms of work effort it is 10:1 or more as compared to Java.

Using Swing for GUI yields beautiful, native look-and-feel supporting most if not all native "special" features. You can see some screen dumps resulting from my OS X port in a report at
http://www.dkab.net/Realtek%20HDA%20report.pdf


Few native things that aren't possible to do in Java (yet) are easily done using a JNI library. This often is a very small and thin layer of C/C++ glue to the operating system in question and therefore easy to create and maintain.

Regards/Mikael

On Wednesday, August 27, 2008 10:28 AM, Kustaa Nyholm wrote:



I agree with Jason completely. I'm involved in several non trivial Java/Swing application projects and the need to test/debug everywhere is minimal. Mostly it just works.

What C / Perl gui toolkit would work accross Linux/Mac OS/Windows?
What GUI toolkit would even passably make the application look native
enough?

Swing is not perfect, but mostly good enough. And this is just GUI, how
about
file io, network io, endiandness issues, memory management etc etc....
both
at development and deployment level.

I think we should skip this trolling, I suspect this was sent just to
inflame people,
just ignore it.

br Kusti


Jason Proctor <email@hidden> 27.8.2008 10:50:42 >>>
troll.

my company deploys a non-trivial Java Swing application on Mac,
Windows, and Linux. i develop on Mac, and i don't even have to test
on Windows and Linux because experience has told me i know it's going
to work. the JDK is subject to the JCK, which ensures that anything
claiming to be Java has to pass a stringent test before it's allowed
to claim that it's JDK compliant.

suggesting that Perl or C is in any way platform independent is pure
bollocks.

do you have any actual experience to back up your claim? i suspect
not.



Don't you know the statement "Java, Compile once, Debug everywhere..."
?
The only reason you need java for mac is for old applets or to
support the college community.
No person (no sane person) is going to develop a complete program in
java.
If you want full platform independency then you should write your
programs in perl or C...


_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Im starting to despise java programming for the mac (From: "Kustaa Nyholm" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.