• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Java or C++ for cross-platform Cocoa/.NET?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Java or C++ for cross-platform Cocoa/.NET?
      • From: Marcel Weiher <email@hidden>
    • Re: Java or C++ for cross-platform Cocoa/.NET?
      • From: Chris Hanson <email@hidden>
    • Re: Java or C++ for cross-platform Cocoa/.NET?
      • From: Jonathan Dodds <email@hidden>
  • Prev by Date: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
  • Next by Date: Re: Multilanguage support
  • Previous by thread: Re: Windowless printing ?
  • Next by thread: Re: Java or C++ for cross-platform Cocoa/.NET?
  • Index(es):
    • Date
    • Thread