borsh-rs
ron
borsh-rs | ron | |
---|---|---|
2 | 24 | |
268 | 3,128 | |
1.9% | 1.6% | |
8.4 | 7.6 | |
about 1 month ago | 21 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache 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.
borsh-rs
-
The fastest and most efficient way to learn Solana (for Solidity developers)
Obviously, the anchor framework exists for a reason, so get comfortable with it. But having written programs without it, you’ll be able to understand the motivation behind the syntactic sugar and “magic” that happens at various points. Remember how everything is a file? If you want to store variables statelessly, they all need to lay out the variables end-to-end in the account. Borsh serialization library handles this for you, but you need to be comfortable using it before delegating the hard work to magic attributes.
- Show HN: Binary Serialization with TypeScript
ron
-
XML is better than YAML
Whenever this kind of arguments come up, I am sad that RON (https://github.com/ron-rs/ron) is not better known. To me it feels like a cleaner and better JSON.
In any case, my little experience with it had made me hate YAML. Generally speaking, I have come to dislike any language with significant whitespace other than Haskell.
-
What config format do you prefer?
Part of the reason why I migrated away from RON in system76-scheduler is because I needed to rely on the 253-untagged-enums branch from https://github.com/MomoLangenstein/ron. Which still isn't resolved today: https://github.com/ron-rs/ron/pull/451.
-
Ron: Rusty Object Notation
Serde is strongly, strictly typed: you have to specify what type you want to decode to. It’s nothing like Python’s Pickle protocol.
See, for example, https://github.com/ron-rs/ron/blob/484fcab0686dfd18c7e29b6c1..., where it (in a type-inferency way) says “parse as Config”.
- JSON vs. XML with Douglas Crockford
- Ron – Rusty Object Notation
- They're rebuilding the Death Star of complexity
What are some alternatives?
borsh-ts - ⚡️fast TypeScript implementation of Borsh serialization format
toml.io - Source Code for toml.io
lucia - A flexible client API framework as well as a set of API collections
json5 - JSON5 — JSON for Humans
hardhat - Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
kdl - the kdl document language specifications
minimal-yaml - A minimalist, zero-copy parser for a strict subset of the Yaml specification.
yaml-reference-parser
typescript-json-schema - Generate json-schema from your Typescript sources
yamllint - A linter for YAML files.
Amethyst - Data-oriented and data-driven game engine written in Rust
miniquad - Cross platform rendering in Rust