forked from apache/fury
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(JavaScript): implement xlang protocol (apache#1487)
<!-- **Thanks for contributing to Fury.** **If this is your first time opening a PR on fury, you can refer to [CONTRIBUTING.md](https://github.com/apache/incubator-fury/blob/main/CONTRIBUTING.md).** Contribution Checklist - The **Apache Fury (incubating)** community has restrictions on the naming of pr titles. You can also find instructions in [CONTRIBUTING.md](https://github.com/apache/incubator-fury/blob/main/CONTRIBUTING.md). - Fury has a strong focus on performance. If the PR you submit will have an impact on performance, please benchmark it first and provide the benchmark result here. --> ## What does this PR do? 1. Remove unsigned types which are removed in xlang protocol. 2. Rename `long int double` to `int64 int32 float64` to ensure consistency with other languages 3. Implements the float16 writer and float16 reader. ## Related issues ## Does this PR introduce any user-facing change? The JavaScript implementation has not been released yet, so there are no user-facing changes. ## Benchmark There are no fluctuations in the benchmark. | (index) | serialize | deserialize | |----------|-----------|-------------| | fury | 116 | 118 | | protobuf | 25 | 33 | | json | 20 | 23 | --------- Co-authored-by: wangweipeng <weipeng>
1 parent
730c713
commit 417f064
Showing
30 changed files
with
447 additions
and
609 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.