3 ms·
how's flutter's interop with java/kotlin/swift/etc? Would I be able to use existing libraries from those lang.s?
by devdoomari 9y ago
how's flutter's interop with java/kotlin/swift/etc? Would I be able to use existing libraries from those lang.s?
- afsina 9y agohttps://flutter.io/faq/#can-i-interop-with-my-mobile-platforms-default-programming-language https://flutter.io/faq/#can-i-interop-with-my-mobile-platfor...
- devdoomari 9y agohm... is it something like IPC? By 'message passing', would it be ok to use a java image-processing/video-processing library?
- Hixie 9y ago(I'm on the Flutter team.) IPC is "inter-process communication". This message passing is same-process. We haven't yet proved that it's sufficiently performant for extremely latency-sensitive work, and we currently copy the bytes for the messages when switching so it's not very suitable for high-bandwidth work like video where you're sharing the bytes between Dart and Java.
- on_and_off 9y agoAFAIK : not at all :( On Android, Flutter uses its own C++ runtime totally separate from the Android framework.