sapio
node-foundationdb
sapio | node-foundationdb | |
---|---|---|
2 | 1 | |
245 | 112 | |
2.0% | - | |
6.8 | 1.5 | |
11 days ago | 5 days ago | |
Rust | TypeScript | |
Mozilla Public License 2.0 | 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.
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
node-foundationdb
-
The Serde Rust Framework
Thats fantastic.
I maintain the nodejs bindings for foundationdb. Foundationdb refuses to publish a wire protocol, so the bindings are implemented as native code wrapped by n_api. The code is a rat's nest of calls to methods like `napi_get_value_string_utf8` to parse javascript objects into C. (Eg [1]). As well as being difficult to read and write, I'm sure there's weird bugs lurking somewhere in all that boilerplate code.
I'd much prefer all that code to just be in rust. That looks way easier to use than all the goopy serialization nonsense I'm doing now. (Though I'd want a serde_napi variant instead of going straight to v8).
[1] https://github.com/josephg/node-foundationdb/blob/master/src...
What are some alternatives?
ComLightInterop - Cross-platform COM interop library for .NET Core 2.1 or newer
nanoserde - Serialisation library with zero dependencies
manifold - Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.
pfr - std::tuple like methods for user defined types without any macro or boilerplate code
serde_v8 - Moved to https://github.com/denoland/deno
create-rust-app - Set up a modern rust+react web app by running one command.
miniserde - Data structure serialization library with several opposite design goals from Serde
Rocket - A web framework for Rust.