Comments (8)
Hi @chaokunyang , Have you started implementing this feature? If it hasn't been implemented yet, I can take over and implement this.
from incubator-fury.
@LiangliangSui I haven't, feel free to take over it
from incubator-fury.
Okay, I will do this.
from incubator-fury.
@chaokunyang We currently use UTF8 for cross-language serialization, and only Java(not cross-language) uses Latin/UTF16.
public void writeString(MemoryBuffer buffer, String value) {
if (isJava) {
writeJavaString(buffer, value);
} else {
writeUTF8String(buffer, value);
}
}
Will we use UTF16 as the default cross-language String encoding in the future?
I see that the cross-language currently designed in fury_xlang_serialization_spec still uses UTF8 as the default.
from incubator-fury.
Depends on the language and the string. For golang, since the string is utf-8 encoded already. Fury go will encode data as utf8 string by a copy. But java/javascript/python may encode string as latin1 or utf16 and send to furygo. So we need to support utf16 too. And if the peer language, we may configure furygo use latin1/utf16 by default too.
from incubator-fury.
But java/javascript/python may encode string as latin1 or utf16 and send to furygo.
Latin1/UTF16 is only used in Language.JAVA
and will not be sent to furygo.
from incubator-fury.
Okay, I got it.
from incubator-fury.
In the future, java/javascript/python may all encode string as latin1/utf16
and send to furygo.
from incubator-fury.
Related Issues (20)
- [Java] Support userContext for user custom global data HOT 2
- [Upgrade to Fury 0.5] class org.apache.fury.serializer.UnexistedClassSerializers$UnexistedSkipClass cannot be cast to class HOT 1
- No type mapping from class java.lang.String to class java.lang.String
- [All] Clear serialization language flag HOT 4
- Upgrade dubbo-serialization-fury fury-core dependency to 0.5.0 HOT 2
- In asyncCompilation to true, under the condition of it. The "it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap" serialization failure HOT 2
- [Java|Go] Check string is ascii before using meta string encoding HOT 6
- feat(java): Enumerating new values, deserializing without any new enumerations, resulting in the array being out of bounds and unable to parse properly
- [Java] Serialization error for java inner class HOT 1
- JSONObject Enum key searializer fail java.lang.ClassCastException: HOT 2
- Multi Thread Serialize/Deserialize benchmark issue 多线程下序列化性能异常
- [java] FuryPooledObjectFactory#classLoaderFuryPooledCache remove softValues HOT 10
- NullPointerException when serializing a custom type HOT 11
- Concerning license in the javadoc jar HOT 2
- it's a bit troublesome to install on apple systems. error: externally-managed-environment...... HOT 2
- [java] jit code of collection with abstract class deserialize error HOT 4
- Enum equality does not work across serialization-deserialization HOT 5
- Mac install using “conda install -c conda-forge pyarrow” command is completed, how to set pyarrow of environment variables?
- [Doc] Use a script to update documentation when code is modified
- [Rust] Please publish fury for rust to crates.io
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incubator-fury.