apache / fury

A blazingly fast multi-language serialization framework powered by JIT and zero-copy.
https://fury.apache.org/
Apache License 2.0
3.02k stars 223 forks source link

[Java] Add specialized serializers for Groovy #684

Open chaokunyang opened 1 year ago

azhsmesos commented 1 year ago

Hello! Recently I have read the configuration center in groovy and so on, so I have a certain understanding of groovy, can I try this issue, but before I ask what information is available to learn how to add serializers for other languages, thanks!

chaokunyang commented 1 year ago

Hi @azhsmesos, thank you for your willingness to contribute to Fury. Fury supports JVM classes serialization best if they don't custom serialization by JDK serialization method such as writeReplace/writeObject/readResolve/readObject/readObjectNoData/writeExternal/readExternal. The main work for optimizing groovy serialization are:

chaokunyang commented 1 year ago

For example, scala object is singleton, which defined writeReplace method, it return a scala.runtime.ModuleSerializationProxy for serialization. We should check whether groovy has similar behhaviour:

object Foo {
}

See more in #764

azhsmesos commented 1 year ago

Do we have a corresponding community similar to wechat group? I want to go in to facilitate communication.

chaokunyang commented 1 year ago

Yes, we do. You can follow our wechat offical acount https://github.com/alipay/fury#getting-involved for joinning the group