Cross platform or Native?

RingCentral / Eng
ChotaBheem

Go to company page RingCentral Eng

PRE
Yahoo
ChotaBheem
Oct 2, 2018 7 Comments

I have seen recently a lot of companies eg. Slack have started using/developing third party c++ libraries for cross platform development like iOS and Android. So the UI or front end development is done natively but the business logic/data parsing etc is done in C++ which can then be used across platforms. What is your take on this? Would you develop whole application natively or not?

Pros/Cons of both?????

TC: 300k

comments

Want to comment? LOG IN or SIGN UP
TOP 7 Comments
  • Apple
    Datebayo

    Go to company page Apple

    Datebayo
    Native. React Native/Flutter just adds a layer of complexity especially if you care deeply about UX
    Oct 3, 2018 3
    • Apple
      Datebayo

      Go to company page Apple

      Datebayo
      If you need to write platform specific code when u use react native for example, the project becomes more way complex.
      Oct 3, 2018
    • New
      aLuu55

      Go to company page New

      aLuu55
      That’s true, but it’s still less complex than having completely separate iOS and Android apps.

      And I say this as a native iOS developer who dies a little bit inside whenever someone decides to build an app in RN/Cordova instead of using Swift/ObjC
      Oct 3, 2018
  • New
    aLuu55

    Go to company page New

    aLuu55
    In terms of mobile development, most companies doing a cross platform mobile app will write business logic in JavaScript (for react native, Cordova, etc) or Dart (Flutter).

    Very few companies put shared logic in C++ libs. Mostly only the bigger companies like Facebook or Slack.

    The reason is that C++ can be tricky and more people know JS. In addition, most apps don’t need high performance in their shared business logic (most the high performance needs are in UI which is platform specific)

    That said, if a company can afford it, putting cross platform logic in a C/C++ lib can definitely help you eek out a bit more performance.
    Oct 2, 2018 0
  • Google
    slop

    Go to company page Google

    slop
    React Native is a pretty good option. Flutter as well. I think it's a solid choice.
    Oct 2, 2018 0
  • New

    New

    I’m neither, and I read this post... am I going to Blind hell?
    Oct 2, 2018 0