MemoryPack
incubator-fury
MemoryPack | incubator-fury | |
---|---|---|
5 | 15 | |
2,806 | 2,617 | |
3.2% | 2.0% | |
8.8 | 9.8 | |
25 days ago | 5 days ago | |
C# | Java | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MemoryPack
- .NET 9 will be putting BinaryFormatter out to pasture
-
Godot + MemoryPack
I just stumbled over the serializer MemoryPack, which looks incredible.
-
Fury: 170x faster than JDK, fast serialization powered by JIT and Zero-copy
Given it's a binary serialization framework, it should not be too difficult, because the domain is well-explored and numerous libraries exist in C# which address same goals that Fury does.
More popular/newer examples are https://github.com/Cysharp/MemoryPack (which is similar to Fury with its own spec, C#-code first schema), https://github.com/MessagePack-CSharp/MessagePack-CSharp or even gRPC / Protobuf tooling https://github.com/grpc/grpc-dotnet
-
Native AOT Overview
With Unity/IL2CPP stuff: For general-purpose serialization libraries like JSON, you sometimes need to provide hints to make sure types are included: https://github.com/jilleJr/Newtonsoft.Json-for-Unity/wiki/Fi...
For schema serialization on known types, there are codegen tools (i.e. moc for MessagePack): https://github.com/neuecc/MessagePack-CSharp
MessagePack is migrating to Rosalyn code generators, so basically invisible codegen. Cysharp's newer serialization library, MessagePack, already uses this: https://github.com/Cysharp/MemoryPack
- GitHub - Cysharp/MemoryPack: Zero encoding extreme performance binary serializer for C#.
incubator-fury
-
Rethinking string encoding: a 37.5% space efficient encoding than UTF-8 in Fury
For implemetation details, https://github.com/apache/incubator-fury/blob/main/java/fury... can be taken as an example
- Apache Fury – fast serialization framework – 0.5.0 released
- Fast Cloud Native Java Serialization:Fury JIT and GraalVM Native Image AOT
- Fury Serialization Framework 0.3.1 Released: Support Python 3.11&3.12
- Fury Serialization 0.3.1 Released: support Python 3.11&12
- Fury Serialization Framework 0.3.0 released
-
Fury Scala: Fast binary serialization for any Scala 2/3 objects
See https://github.com/alipay/fury/blob/main/docs/guide/scala_gu... for scala serialization user doc
- Fury – Fast multi-language serialization framework powered by JIT and Zero-copy
-
Fury: 170x faster than JDK, fast serialization powered by JIT and Zero-copy
Yes, Game is another scenario, it's very latency sensitive. Fury is very fast for such scenarios. Actually the java implememtation has been featured by some game developers. And there has always been a demand within the community for FURY to support C#: https://github.com/alipay/fury/issues/686 . I don't have experience for c#, so c# hasn't been support. We are still the community can join us for c# support.
- FLaNK Stack Weekly for 14 Aug 2023
What are some alternatives?
fury-benchmarks - Serialization Benchmarks for fury with other libraries
jdbc-connector-for-apache-kafka - Aiven's JDBC Sink and Source Connectors for Apache Kafka®
janino - Janino is a super-small, super-fast Java™ compiler.
grpc-dotnet - gRPC for .NET
bridge-info - Information about SourceGear Bridge, a .NET Native AOT binding generator
corert - This repo contains CoreRT, an experimental .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain.
FlatBuffers - FlatBuffers: Memory Efficient Serialization Library
jvm-serializers - Benchmark comparing serialization libraries on the JVM
qs - Quick serialization of R objects
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
feldera - Feldera Continuous Analytics Platform