serde_v8
sapio
serde_v8 | sapio | |
---|---|---|
1 | 2 | |
29 | 245 | |
- | 2.0% | |
7.1 | 6.8 | |
over 2 years ago | 12 days ago | |
Rust | Rust | |
MIT License | Mozilla Public 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.
serde_v8
-
The Serde Rust Framework
Whilst not classical de/serialization I wrote serde_v8 (https://github.com/denoland/serde_v8), an expressive and ~maximally efficient bijection between v8 & rust.
It has powered Deno's op-layer since 1.9 (https://deno.com/blog/v1.9#faster-calls-into-rust-with-serde...) and has enabled significant improvements in opcall overhead (close to 100x) whilst also simplifying said op-layer.
sapio
-
The Serde Rust Framework
one thing that has kinda irked me about serde is that there's relatively limited support for bounding memory usage for types like a Vec at deserialize time without a lot of manual work.
It is doable (e.g. see SafePSBT deserializer here https://github.com/sapio-lang/sapio/blob/master/ctv_emulator...), just not particularly ergonomic.
-
Is Smart Contract development with C# possible?
Sapio: https://github.com/sapio-lang/sapio
What are some alternatives?
nanoserde - Serialisation library with zero dependencies
ComLightInterop - Cross-platform COM interop library for .NET Core 2.1 or newer
miniserde - Data structure serialization library with several opposite design goals from Serde
node-foundationdb - Modern Node.js FoundationDB bindings
pfr - std::tuple like methods for user defined types without any macro or boilerplate code
serde - Serialization framework for Rust
Rocket - A web framework for Rust.
manifold - Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.