Java or C++ for cross-platform Cocoa/.NET?
Java or C++ for cross-platform Cocoa/.NET?
- Subject: Java or C++ for cross-platform Cocoa/.NET?
- From: David Feldman <email@hidden>
- Date: Mon, 7 Jun 2004 09:58:33 -0400
I've posted bit now regarding a cross-platform app I'm working on. It
will be Cocoa on the Mac and .NET on Windows. The Windows UI will be
written in C#. But I'm now realizing that I have two seemingly
reasonable choices for the platform-independent code: C++ (as
Managed-C++ compatible as possible) or Java (as J#-compatible as
possible).
Anyway, I'm not entirely sure what the benefits would be one way or the
other and was wondering if anyone else had thoughts on the matter. Both
Java and C++ are natively supported by Cocoa. Java seems tempting
because I'm guessing J# is closer to Java than Managed C++ is to
regular C++. On the other hand, C++ has a certain comfort factor, and
can be freely mixed with Objective-C.
A follow-up question as well: If I do go with Java over C++, does it
make sense to keep the Cocoa UI in Obj-C? What are the pros and cons
(aside from the fact that I'm comfortable in Obj-C)? What's the best
way to mix Java and Obj-C in a single Cocoa project?
Thanks,
--Dave
------------------------------------------------------------------------
--
David A. Feldman
User Interface Designer
http://InterfaceThis.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.