sapio
serde_v8
sapio | serde_v8 | |
---|---|---|
2 | 1 | |
245 | 29 | |
2.0% | - | |
6.8 | 7.1 | |
11 days ago | over 2 years ago | |
Rust | Rust | |
Mozilla Public License 2.0 | MIT License |
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.
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
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.
What are some alternatives?
ComLightInterop - Cross-platform COM interop library for .NET Core 2.1 or newer
nanoserde - Serialisation library with zero dependencies
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
manifold - Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.
Rocket - A web framework for Rust.