Replies: 4 comments 1 reply
-
Hello! Sorry for the delay :( The current binary serialization offered by the library rely on standard binary serialization offered by the .NET framework. As you may already know this implementation is not really safe in term of security and so Microsoft drop support with .NET 5. At first I wanted an implementation that will not be too intrusive in the code of the Core library in order to avoid changes as much as possible when we only deal with serialization feature. The best would be something that is fast, lightweight, that may provide backward compatibility if in the future structures evolve, and offer a wide compatibility/easy usage with what is commonly used. |
Beta Was this translation helpful? Give feedback.
-
Should Serialization be part of the core project? |
Beta Was this translation helpful? Give feedback.
-
Ideally I would say yes we can split serialization out of the core package. It's basically the idea I had when creating QuikGraph.Serialization. Keeping core structures and algorithms (Note that I also thought about QuikGraph.Algorithms but was unsure about that) in the core library and all exports to QuikGraph.Serialization or dedicated assembly like QuikGraph.Graphviz. For the binary serialization, the main point is to find an efficient, widely used or acceptable library that ideally allow to do serialization without being too intrusive in the core structures. |
Beta Was this translation helpful? Give feedback.
-
IMO, relying on web services for this is kind of a no-go, i didn't even realize that was the case! Might be an err on my side not reading it, but i can see this being a no-go for other people as well, esp if used in corporate env. |
Beta Was this translation helpful? Give feedback.
-
Hi Alex,
I was wondering how difficult it would be to implement a faster way to serialize / deserialize a graph? Was looking at using the package https://github.com/neuecc/MessagePack-CSharp.
Do you have any recommendations, tips or other points I should look for, if I would like to use this library for the serialization work?
The reason is: I'm working with a graph that has 100+K of nodes, and it takes sometimes a couple minutes to read a graph from a file.
Thanks for your help, Chris
Beta Was this translation helpful? Give feedback.
All reactions