statemap
gameboy
statemap | gameboy | |
---|---|---|
1 | 3 | |
229 | 53 | |
0.4% | - | |
0.0 | 0.0 | |
about 4 years 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.
statemap
-
Show HN: Rust-starter, a boilerplate to build Rust CLI applications
Or you can use getopts if that's your thing (it's also a library so limited gain over clap/structop, probably smaller & faster to compile though) e.g. that's what Brian Cantrill does[0] because they're an old fogey[1] :D
[0] https://github.com/joyent/statemap/blob/rust/src/main.rs#L95
[1] https://github.com/joyent/statemap/pull/41
gameboy
- DMG-01 Emulator in Rust
-
Battery Free Gameboy
Looks like they used an existing emulator and this was mostly a hardware and memory integrity test. I’d love to see this approached from the perspective of “how clever can we get with the emulator itself to save power?”
When I wrote mine, something I ran into was realizing that often the CPU and PPU are just doing the same thing over and over and over. If only I could cache all that work.
For example, you don’t modify the previous frame. You have to draw the entire frame every time, writing sprites from OAM memory every time. Sometimes games do clever stuff here for effects, but a lot of the time you’re just drawing the same stuff. Like Tetris is almost completely a routine of drawing almost entirely the same graphics every time. Most of the cycles and OAM writes are just juggling sprites to draw the same layout every time.
I documented the heck out of the PPU because it gave me the second most grief (sound being the worst by far) if you are curious: https://github.com/ablakey/gameboy/blob/master/src/guest/sys...
-
Show HN: Rust-starter, a boilerplate to build Rust CLI applications
As long as you're not doing any complex argument handling, it's dead simple:
https://github.com/ablakey/gameboy/blob/master/src/main.rs#L...
What are some alternatives?
actix-todo - Todo list API made in rust + actix-web + tokio-postgres