lzaeh commented on issue #2423:
URL: https://github.com/apache/fory/issues/2423#issuecomment-3101462620

   Personally, I wouldn’t recommend using the Go implementation for anything 
beyond what’s already covered in the test files — whether it's for Go itself or 
cross-language usage — because the current Go version is still not very mature.
   
   In the version you were using before, there were some subtle issues when 
serializing and deserializing structs across languages. Some of those problems 
have been fixed in the current version, but there are still known bugs when it 
comes to arrays and slices — especially when you try to serialize or 
deserialize them on their own across languages. Within Go itself, 
array/slice-related issues are less common, but still something to be mindful 
of.
   
   Also, when deserializing, I strongly recommend using the exact, correct 
types instead of falling back on interface{}. While the test files use 
interface{} for convenience, after some discussions we realized that in some 
cases it's actually important to use the precise type to receive the data 
correctly. That’s something I didn’t handle well earlier, and I plan to improve 
this part going forward.


-- 
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