fury icon indicating copy to clipboard operation
fury copied to clipboard

[Java] JIT support for custom data object xlang serialization

Open chaokunyang opened this issue 2 years ago • 10 comments

Is your feature request related to a problem? Please describe.

Fury optimizes pojo serialization by jit for pure java mode, see https://github.com/apache/incubator-fury/blob/main/java/fury-core/src/main/java/org/apache/fury/builder/ObjectCodecBuilder.java

But for xlang serializaiton, fury still use interpreter mode, see https://github.com/apache/incubator-fury/blob/main/java/fury-core/src/main/java/org/apache/fury/serializer/StructSerializer.java , we shoudl do similar optimization for xlang

Describe the solution you'd like

Add jit support for xlang serialization in java.

chaokunyang avatar Aug 09 '23 13:08 chaokunyang

Hello, I would like to start with this issues and participate in the project.

zhengkezhou1 avatar Jan 10 '24 11:01 zhengkezhou1

Hi @zzzk1 ,

Thank you for your interest in contributing to the project! To get started, you can take org.apache.fury.builder.ObjectCodecBuilder as an example for how to generate code in fury java. Please let me know if you need more information.

Looking forward to your contributions!

chaokunyang avatar Jan 10 '24 12:01 chaokunyang

hello,I am new in there,This issue does not seem to be resolved,I will try it,please assign me,thanks~

heliang666s avatar Apr 16 '24 00:04 heliang666s

hello,I am new in there,This issue does not seem to be resolved,I will try it,please assign me,thanks~

Great!

chaokunyang avatar Apr 16 '24 02:04 chaokunyang

I have no idea now,Could you offer me with more details about the resolution?@chaokunyang

heliang666s avatar Apr 16 '24 14:04 heliang666s

I have no idea now,Could you offer me with more details about the resolution?@chaokunyang

If you have no idea how to solve it, why are you asking for the issue to be assigned to you....

StevenCurran avatar Apr 20 '24 19:04 StevenCurran

hello, I see that the linked class has been removed. Has this issue been resolved?

miracle485 avatar Apr 27 '24 11:04 miracle485

Nope, this issue is still not resolved. It should be more clear that how to implement this feature than before, since our xlang serialization protocol has been formulized: https://fury.apache.org/docs/specification/fury_xlang_serialization_spec/

chaokunyang avatar Apr 27 '24 12:04 chaokunyang

I have no idea now,Could you offer me with more details about the resolution?@chaokunyang

Hi @heliang666s , are you still working on this? The protocol details can be found in https://fury.apache.org/docs/specification/fury_xlang_serialization_spec/

chaokunyang avatar Apr 27 '24 12:04 chaokunyang

ok,I will solve it.@chaokunyang

heliang666s avatar May 08 '24 12:05 heliang666s