• 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
Recommendations for cross platform library/framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Recommendations for cross platform library/framework


  • Subject: Recommendations for cross platform library/framework
  • From: Pier Bover via Cocoa-dev <email@hidden>
  • Date: Mon, 26 Aug 2019 18:41:52 -0500

Hi all

In a couple of months I'll be starting a macOS Swift 5 project and if
possible I'd like to separate as the business networking logic so that it
can be reused in a Windows app in the future.

Ideally I'd want to statically link the library but I've also considered
using dynamic libraries, or even include binaries in my app and execute
them via Process().

I've considered a multitude of corssplatform options (JVM, QT, Xamarin,
etc) but quite frankly I'd rather maintain one codebase per platform than
use one of those which could introduce more problems than they solve.

I'd prefer avoiding C++ if possible. My first choice would have been using
Go which can compile to .so shared objects but Xcode cannot use those
without some bridge written in C. I've read Rust can compile to a dylib for
Xcode.

Has anyone any recommendations or tips to share?

Thanks in advance.

Pier
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Recommendations for cross platform library/framework
      • From: Pier Bover via Cocoa-dev <email@hidden>
    • Re: Recommendations for cross platform library/framework
      • From: Jens Alfke via Cocoa-dev <email@hidden>
  • Prev by Date: Re: Cocoa-dev Digest, Vol 16, Issue 72
  • Next by Date: Re: Cocoa-dev Digest, Vol 16, Issue 72
  • Previous by thread: Re: Cocoa-dev Digest, Vol 16, Issue 72
  • Next by thread: Re: Recommendations for cross platform library/framework
  • Index(es):
    • Date
    • Thread