In light of next week's rumored arrival of Intel Macs, I'm
wondering about about the future of SWT on the Mac. As I
understand it, SWT uses a lot of JNI and the Carbon framework.
Everything I've heard about porting to Intel says Cocoa is a must.
wrong.
As Andre said.
I believe the reason why many people are saying that Carbon is
problematic is Metrowerks. Many Carbon programs were developed with
CodeWarrior, which means that Carbon programmers are much more likely
to report problems that Cocoa programmers. Cocoa folk can usually
upgrade to a recent build of XCode, recompile, and be ready to roll.
Carbon folks may have to switch to XCode first, and that can be a pain.
Underneath it all, Apple is using GCC. Thus, you can, I believe,
even get make working happily enough.
Does this mean SWT will be using emulated code behind the scenes
on Intel Macs?
no.
Extending what Andre said, SWT _cannot_ use emulated code, because
Java and Rosetta do not mix - Java is always native, and so your JNI
libs need to be. This is a pain for companies like The Math Works
who have to get Matlab working right. It is a good thing for users
in the end, as it means that TMW cannot skate on emulation - they
have to get it working.
Andre, of course, is way ahead of the game, and has been for months.
Will it even run?
yes, I'm using it for most Eclipse development for 4 months.
I've attached a universal binary of SWT to this Eclipse bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=98889
Just drop it into the plugin folder of Eclipse 3.2M4 and Eclipse
will run on PPC and Intel.
Right on! I am using Eclipse for Perl work, and I was not looking
forward to going back to just BBEdit.
Scott
_______________________________________________
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