Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9120989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:45:23+00:00 2026-06-17T05:45:23+00:00

I would like to create some libraries in C++, these libraries will be able

  • 0

I would like to create some libraries in C++, these libraries will be able to model physical phenomena. I would like to build a cross-platform environment where these libraries are updated independent of the GUI, in my case a PC application and a iOS app would be the clients of such libraries.

In terms of performance, easiness to plug C++ code, etc., what would be your recommendation? to generate a C++ classes and call them from other classes with the .mm extension or to generate a framework in c++.

Would you recommend something different to C++ for cross-platform compatibility?

NB: I am not an experienced programmer but trying to get into a decent level.

Thanks,
Alejandro

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T05:45:25+00:00Added an answer on June 17, 2026 at 5:45 am

    In terms of performance, easiness to plug C++ code, etc., what would be your recommendation? to generate a C++ classes and call them from other classes with the .mm extension or to generate a framework in c++.

    It depends on the platforms you are aiming to support, but C++ is pretty well supported, so I think there should be no issues at all. C++ is also pretty low-level, so it will give you all the performance you need.

    When it comes to the concept of framework, though, you should beware. Usually, a framework gives you a set of classes which you reuse in several ways. One, possibly the most important way is by subclassing (i.e., you subclass and specify a missing method, or specialize a generic method). You could not really do this, like in: an Objective-C class deriving from a C++ class — this is not possible (unless you define some kind of wrapper or bridge).

    So you would have your C++ framework, that you can extend using C++, and use from other languages, e.g., Objective C.

    Would you recommend something different to C++ for cross-platform compatibility?

    Again, as above, but C++ is better than other options (Java, e.g., which is not supported on iOS, and less and less supported on MacOS, the major platforms using ObjC). Possibly only C could give you wider portability.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to create a caching system that will bypass some mechanisms in
I would like to create some kind of structure to reduce the number of
I would like to create some buttons with dynamic width using CSS sprites and
I would like to create some sort of function where you pass in a
I'm working from a JavaScript book and would like to create some menus using
I create some dynamic textbox's and a button in a placeholder and would like
I would like to create a file which stores some data that can be
I would like to create an outlook message with a subject and some attachments
I have authored some custom classes that I would like to create using XAML:
We have some Microfocus Cobol.Net applications. We would like to create a dependency map

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.