I want to develop an app in Android and iOS.
So I guess sharing the backend logic written in C++ would save some development time.
However the app I'm trying to develop heavily relies on Network and Databases.
From what I found here it's best to write the Network part separately (i.e. using Java for Android and Obj-C/Swift for iOS).
Now the only thing left is parsing the data received from the network and carrying out necessary database transactions.
Plus, as we know there's an overhead when calling a native(C++) function from the app.
So my question is, "is writing that database part in C++, worth the overhead" ?
Edit : added link to a SO answer saying it's better to keep network logic platform specific
Edit2 : Also I recently found out about j2objc, which powers Google Inbox. As I'm just starting out, it is an alternative. What's you say ?