chaokunyang opened a new issue, #2227:
URL: https://github.com/apache/fury/issues/2227

   ### Feature Request
   
   The current Fury Go uses reflection to implement serialization and 
deserialization of structs, but reflection has performance limitations. In 
languages like Java, Fury accelerates execution performance by dynamically 
generating code at runtime. 
   
   However, in Golang, generating code at runtime requires generating assembly 
code, which involves high complexity in development and maintenance. In the 
industry, the primary approach is to generate code ahead of time during 
compilation, typically using tools like go generate to produce code, as in 
libraries like ffjson for JSON processing.
   
   This project aims to implement similar code generation capabilities for 
Fury's binary serialization protocol. By parsing structs at compile time and 
targeting Fury's cross-language binary protocol, the goal is to generate 
corresponding serialization and deserialization code to enhance the execution 
efficiency of the entire serialization process.
   
   ### Is your feature request related to a problem? Please describe
   
   _No response_
   
   ### Describe the solution you'd like
   
   Implement metadata parsers for Struct/List/Map.
   Implement code generators for Struct/List/Map.
   Extend the serializer Dispatcher to support dispatching to the generated 
serializers
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to