parse-rosetta-rs
s2prot
parse-rosetta-rs | s2prot | |
---|---|---|
10 | 3 | |
76 | 51 | |
- | - | |
7.7 | 4.8 | |
8 days ago | about 1 month ago | |
Python | Go | |
MIT License | 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.
parse-rosetta-rs
-
nom > regex
Comparing performance of parser libraries
-
Show HN: Rust nom parsing Starcraft2 Replays into Arrow for Polars data analysis
For a very rough comparison of parsers, see https://github.com/rosetta-rs/parse-rosetta-rs
-
[RELEASE] Yap 0.9: A light-weight dependency free parser combinator style library
Since this takes a unique approach, would you be interested in adding it to parse-rosetta-rs? Its a repo to help users do a comparative analysis of parser crates, providing some very crude stats to help get them started and allowing them to compare what the APIs look like.
-
Announcing lets_expect - Clean tests in Rust.
The reason I assume its unrelated to combine is that for the json implementation, a previous version of combine built in about the same time as nom
- Practical Parsing in Rust with nom
-
GitHub - epage/parse-benchmarks-rs
I'm tempted to collect all of these benchmark repos into a github org to make them easier to find. So far I know of parser, md, argparse, and template languages.
s2prot
-
Show HN: Rust nom parsing Starcraft2 Replays into Arrow for Polars data analysis
SC2 replays are MPQ files, which is a proprietary format created and used by Blizzard. It's an archive that may contain multiple files stored with different compression and optionally encrypted. I wrote a lib to parse MPQ files that embodies SC2Replays: https://github.com/icza/mpq. I also wrote an SC2 replay parser that is more or less a port of the official s2protocol: https://github.com/icza/s2prot
-
Rust 2024 the Year of Everywhere?
vm = virtual machine/memory?
I'm porting this Python library to Rust: https://github.com/Blizzard/s2protocol.
For the shitty, first pass prototype code I've written so far I've seen a ~30-40x speedup compared to the Python implementation and a ~2x speedup compared to a Go implementation by someone else: https://github.com/icza/s2prot.
That is why I chose Rust over a GC language like Go. It's a lot faster out of the box, even without me having a strong understanding of memory operations.
- Could humans theoretically read the code of a SC-replay?
What are some alternatives?
template-benchmarks-rs - Collected benchmarks for templating crates written in Rust
Tims-PackageServer - Lightweight Package Server for WoltLab Community Framework
rust_serialization_benchmark - Benchmarks for rust serialization frameworks
nom - Rust parser combinator framework
chumsky - Write expressive, high-performance parsers with ease.
s2protocol-rs - Starcraft 2 Protocol Replay Reader
lets_expect - Clean tests in Rust
pdx-tools - View maps, graphs, and tables of your save and compete in a casual, evergreen leaderboard of EU4 achievement speed runs. Upload and share your save with the world.
zephyrus-sc2-parser - A parser for .SC2Replay files
nomicon - The Dark Arts of Advanced and Unsafe Rust Programming
rust-parser