• 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
Re: Cocoa from C++ (dont want to mix it)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa from C++ (dont want to mix it)


  • Subject: Re: Cocoa from C++ (dont want to mix it)
  • From: John Stiles <email@hidden>
  • Date: Thu, 14 Apr 2005 15:39:53 -0700

Or do what I do, and use Objective-C for the basic GUI layer and C++ for everything else.
In my case, I'm really comfortable with C++ paradigms and need to use them for all the rest of my work, so I've managed to square away all the Objective-C stuff into a few Mac-specific files. Everything works great, and the program logic can use C++.
I don't think any company which was serious about entering the Mac market would shy away from developing their app just over Objective-C; you can write a full-fledged Cocoa app with a very small amount of Objective-C if you want. It's really up to you whether you want to convert all those std::vectors to NSArrays or not... it'll compile and run either way ;)



On Apr 14, 2005, at 3:20 PM, Glen Simmons wrote:

If your goal is to convince us of the superiority of C++, I think you're wasting your time. I think most people reading this list would quite disagree, but even if we were convinced, so what? We read this list because we program in Cocoa. To do so, we must either use Objective C or Java, not C++. If you're so offended by Objective C, might I suggest you use a C++ framework and not Cocoa? And can we get back to actual Cocoa programming topics?

Glen Simmons

On 14 Apr, 2005, at 4:43 PM, Lemings, Eric B wrote:


Read the whole thing, top to bottom. Just one question. Why does he totally ignore the subject of generic programming, type computing, template metaprogramming, concept checking, traits, policies, and all of the other compile-time features of C++ which could be viewed as a form of weak typing? The STL even uses the notion of concepts: anything that meets the requirements for a particular concept can be used in a sequence, algorithm, iterator, view, whatever.

Eric.

-----Original Message-----
From: Lars Sonchocky-Helldorf
[mailto:email@hidden]
Sent: Thursday, April 14, 2005 1:59 PM
To: Lemings, Eric B
Cc: email@hidden
Subject: Re: Cocoa from C++ (dont want to mix it)



Am Mittwoch, 13.04.05 um 23:09 Uhr schrieb Lemings, Eric B:

Now the case for incorrect linkage. Would you rather have an link
error
occur at compile-time while you're developing the application or at
run-time perhaps after your application is in the field or has already
shipped?

see: http://www.mindview.net/WebLog/log-0025

Lars
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Cocoa from C++ (dont want to mix it)
      • From: Ondra Cada <email@hidden>
References: 
 >RE: Cocoa from C++ (dont want to mix it) (From: "Lemings, Eric B" <email@hidden>)
 >Re: Cocoa from C++ (dont want to mix it) (From: Glen Simmons <email@hidden>)

  • Prev by Date: Newbie Question: Building an application for multiple machines
  • Next by Date: RE: Cocoa from C++ (dont want to mix it)
  • Previous by thread: Re: Cocoa from C++ (dont want to mix it)
  • Next by thread: Re: Cocoa from C++ (dont want to mix it)
  • Index(es):
    • Date
    • Thread