Port some Swift code to C++ I have an iOS application written in Swift. Now, I am trying to build a shared library for both iOS and Android. I am thinking of writing it using C++ so I can port some of the code written in Swift and then convert it into C++ such as the Networking and other business logic. 

However, the iOS app uses Realm DB and many of the classes are Realm objects, I am afraid that this is going to affect the porting of the storage layer.

Is it possible to move storage logic of Realm written in Swift into C++?