Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rust] Support convert utf16 encoded string to utf8 string #1547

Open
chaokunyang opened this issue Apr 19, 2024 · 0 comments
Open

[Rust] Support convert utf16 encoded string to utf8 string #1547

chaokunyang opened this issue Apr 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@chaokunyang
Copy link
Collaborator

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

Currently Fury xlang serialization use utf8 for string encoding, which is not performance efficient in many languages.

We introduced utf16 in https://fury.apache.org/docs/specification/fury_xlang_serialization_spec#string . But rust native string doesn't support utf16, it's is utf-8 encoded.

We should support to transcode utf16 encoded string to utf8 string in fury rust deserialization.

Describe the solution you'd like

Implement utf16 to utf8 convertion in fury rust. The implementation should use SIMD to provide faster speed.

Additional context

#1413

@chaokunyang chaokunyang added the enhancement New feature or request label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant