I have an iOS app where the user interface is written fast, but all the hard work is done using the cross-platform C ++ library. I am linking to the C ++ kernel from swift using the ObjC wrapper.
I wanted to parallelize the work that happens in the C ++ library using the stream primitives that C ++ provides.
But part of the data is transferred to the C ++ library from the fast part of the application from within the block in the send queue.
My question is: will those flows that I create in the C ++ library be separate from the work queue in swift? As I understand it, it will be so. This is true?
Are there any open source projects that do something similar, or any errors you see with this approach.
The C ++ library is a requirement, and I cannot make it fast.
source share