You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a C++ native library I used for my Android app and it's able to provide data in Cap'n Proto. Naturally I want to utilize the ability to speed up the data exchanging, especially get data from C++ to Java/Kotlin, because common JNI object converting is really slow (ranges in ~40,000 µs to ~120,000 µs). So is there anyway to properly deal with this, like some Gradle plugins or any else example?
The text was updated successfully, but these errors were encountered:
Yes, you should be able to compile your .capnp schemas with capnpc-java and then use the capnproto-java runtime library. The Addressbook example shows one way to set up a pom.xml to achieve this:
There is a C++ native library I used for my Android app and it's able to provide data in Cap'n Proto. Naturally I want to utilize the ability to speed up the data exchanging, especially get data from C++ to Java/Kotlin, because common JNI object converting is really slow (ranges in ~40,000 µs to ~120,000 µs). So is there anyway to properly deal with this, like some Gradle plugins or any else example?
The text was updated successfully, but these errors were encountered: