pci_fetch
A library for querying connected PCI devices and a pci.ids parser. (by grtcdr)
mainspring
A CPU simulator framework built around, and to support the other tools under, the constraints of the first principles of computing project. (by ncatelli)
pci_fetch | mainspring | |
---|---|---|
2 | 1 | |
23 | 12 | |
- | - | |
0.9 | 6.4 | |
over 2 years ago | 3 months ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
pci_fetch
Posts with mentions or reviews of pci_fetch.
We have used some of these posts to build our list of alternatives
and similar projects.
mainspring
Posts with mentions or reviews of mainspring.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-24.
-
Interpreter in Rust
First off, awesome, interpreters and emulators are really fun projects. I've written a very similar project which might be useful for reference https://github.com/ncatelli/mainspring. As for parsing to your enum representation KerfuffleV2 gave a great example for nom. That being said, if you'd like to peek behind the curtain a bit for combinators and the principles behind nom, Bodil Stokke has a WONDERFUL tutorial on the topic https://bodil.lol/parser-combinators/ which will be directly applicable to what you are trying to do. Additionally, while targetted at using java, https://craftinginterpreters.com/ by Bob Nystrom is available for free online and covers the topic of writing really simple recursive decent parsers.
What are some alternatives?
When comparing pci_fetch and mainspring you can also consider the following projects:
WinRing0 - WinRing0 is a hardware access library for Windows.
madsim - Magical Deterministic Simulator for distributed systems in Rust.
steampipe-mod-aws-compliance - Run individual controls or full compliance benchmarks for CIS, PCI, NIST, HIPAA and more across all of your AWS accounts using Powerpipe and Steampipe.
visual-system-simulator - Framework for simulating deficiencies and other aspects of the human visual system
rust-hwid - Detect Hardware IDs from Rust
chumsky - Write expressive, high-performance parsers with ease.
abn6502 - Solving the global IC shortage by reusing old stuff!