Magicodes.IE
MessagePack for C# (.NET, .NET Core, Unity, Xamarin)
Our great sponsors
Magicodes.IE | MessagePack for C# (.NET, .NET Core, Unity, Xamarin) | |
---|---|---|
0 | 17 | |
1,871 | 4,680 | |
1.6% | - | |
8.2 | 5.9 | |
11 days ago | 12 days ago | |
C# | C# | |
MIT License | GNU General Public License v3.0 or later |
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.
Magicodes.IE
We haven't tracked posts mentioning Magicodes.IE yet.
Tracking mentions began in Dec 2020.
MessagePack for C# (.NET, .NET Core, Unity, Xamarin)
-
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
-
Does MessagePack-CSharp support OneOf type?
In the Road map of features #119 for MessagePack-CSharp, they checked the box for:
-
Dotnet API super slow?
Have a look at MessagePack for instance.
Try MessagePack for serialization. It will help to reduce the size of the message and the time of serialization.
- Need persistent data across runs of your Unity game? Don't use PlayerPrefs for your game state! Here's how you can easily store your arbitrary game state in files instead.
-
Practice resources for handling and optimizing large game data sets?
I mentioned JSON, but there are many formats that are much more efficient. I can mention FlatBuffers, MessagePack and ProtoBuf. These are the ones I've used myself, and personally I'm most comfortable with MessagePack and ProtoBuf. I don't think the performance would be an issue if you had to choose between these three, it's mostly the API that is different.
- any good binary serializers that are not assembly dependent
-
LIVE: Otimizando aplicações .NET com MessagePack.
Biblioteca Nuget para C#
-
Json locations
The solution is always use a data contract serializer. Json.NET can of course be configured as such. My favorite serializer is MessagePack.
-
Can't Get MessagePack Library Working
Looks like you need this https://github.com/neuecc/MessagePack-CSharp#create-own-custom-composite-resolver.
What are some alternatives?
Protobuf.NET - Protocol Buffers library for idiomatic .NET
Json.NET - Json.NET is a popular high-performance JSON framework for .NET
ZeroFormatter - Infinitely Fast Deserializer for .NET, .NET Core and Unity.
Protobuf - Protocol Buffers - Google's data interchange format
FlatSharp - Fast, idiomatic C# implementation of Flatbuffers
Msgpack-Cli - MessagePack implementation for Common Language Infrastructure / msgpack.org[C#]
ProtoBuf - C# code generator for reading and writing the protocol buffers format
Bois - Salar.Bois is a compact, fast and powerful binary serializer for .NET Framework. With Bois you can serialize your existing objects with almost no change.
Jil - Fast .NET JSON (De)Serializer, Built On Sigil
JsonSubTypes - Discriminated Json Subtypes Converter implementation for .NET
Utf8Json - Definitely Fastest and Zero Allocation JSON Serializer for C#(NET, .NET Core, Unity, Xamarin).
Ceras - Universal binary serializer for a wide variety of scenarios https://discord.gg/FGaCX4c