Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEA] Implement a good serialization approach for transfering host data between Java and JNI #2199

Open
ttnghia opened this issue Jul 2, 2024 · 0 comments

Comments

@ttnghia
Copy link
Collaborator

ttnghia commented Jul 2, 2024

Currently, we don't have a good way to transfer host data between Java and JNI. As such, most of the time we have to manually do reflection to get access to the Java object in JNI code. That is very inefficient and not suitable for transferring large amounts of objects.

We should have a better way for data transfer between Java and JNI. Maybe leveraging protocol buffer, or implementing our propriety data serializer/deserializer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants