4 ms·
I'm also in that approach for the same reasons. Currently I have an app I'm cross-developing with separate iOS / Android codebase. the only 'shared-code' is Fir
by rock_artist 7y ago
I'm also in that approach for the same reasons. Currently I have an app I'm cross-developing with separate iOS / Android codebase. the only 'shared-code' is Firebase libs for each platform (which seems to be written in itself cpp and bind to Kotlin / Swift).
C++ itself is pretty portable.
There are actually frameworks (QT / JUCE) that allow true cross-platform builds.
They work, but you'll eventually end up having a lot of branches for specific platform.
Still if you just need basic algorithms (signal processing or anything expensive CPU based) C++ might be good enough to write simple callbacks with bindings.
Evil UX/UI:
-----------
Xamarin, Flutter, React Native -
It really depends on the app. but if the app needs to be in the "device" UX and the unique APIs provided by the platform. people can glorify the cross-platform all they want but,
You'll eventually end up with branches for each platform in the good case and bad performance in the worse case.