• 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: cross-platform audio software dev
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cross-platform audio software dev


  • Subject: Re: cross-platform audio software dev
  • From: Marc Vaillant <email@hidden>
  • Date: Fri, 26 Dec 2008 21:32:12 -0500
  • Mail-followup-to: Hamish Allan <email@hidden>, John Michael Zorko <email@hidden>, email@hidden

On Fri, Dec 26, 2008 at 08:32:02PM +0000, Hamish Allan wrote:
> On Fri, Dec 26, 2008 at 4:50 AM, John Michael Zorko <email@hidden> wrote:
>
> > If you want to do
> > cross-platform development, it's best to keep as much of the code in a
> > platform-agnostic language (like C / C++) as possible, and only use ObjC
> > (Mac) / C# (Windows) when you need to
>
> Why would you ever choose C++ for this purpose? Certainly it's less
> natural in Objective-C to couple to a C++ backend than to a C one, and
> I'm willing to bet the same is true of C#.

In what way is it less natural?  I think that John has the right idea
here. One can likely write cleaner, more maintainable interfaces (not to
mention core implmentation) for their code in C++ than C that can easily
be bridged to objc via objc++.  More natural? I don't know, but
certainly better programming practice.

Why keep someone from using C++ simply because it will be bridged to
objc in one port of the application?  If you have some aversion to
objc++, then your high level API can be C around your C++ if you really
want.

Do you program in C++?

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: cross-platform audio software dev
      • From: "Hamish Allan" <email@hidden>
References: 
 >cross-platform audio software dev (From: Maissam Barkeshli <email@hidden>)
 >Re: cross-platform audio software dev (From: John Michael Zorko <email@hidden>)
 >Re: cross-platform audio software dev (From: "Hamish Allan" <email@hidden>)

  • Prev by Date: Re: cross-platform audio software dev
  • Next by Date: Re: cross-platform audio software dev
  • Previous by thread: Re: cross-platform audio software dev
  • Next by thread: Re: cross-platform audio software dev
  • Index(es):
    • Date
    • Thread