hello-rust-sdl2-wasm
github.com · Open source · Quiet
Minimal Rust app using SDL2 that also builds to WebAssembly
- Learning & reference
- Open source
- Rust
- Day-7 check
- Day-30 check
- rust
- sdl2
- webassembly
- rust sdl2 example
- rust webassembly game
- sdl2 wasm
- minimal rust game
- rust wasm example
- Stars
- 104
- Forks
- 2
- Open issues
- 1
- Last commit
- Found
- 2 years ago
GitHub figures as of . They are context, not a ranking.
This example repository shows a Rust program that uses SDL2 for input and can run locally or compile to WebAssembly for the browser. The author wrote it because older examples were out of date and verbose. It suits developers learning how to bring SDL2 code to the web.
Repository description on GitHub: “A Rust repo which uses SDL2 for user interaction, and which can be run locally or compiled to WASM and run on the web”
What it does
- Minimal Rust program that uses SDL2 for input
- Builds to WebAssembly to run in a browser
- Runs locally as a desktop binary
Good for
- Learn how to bring an SDL2 Rust program to the web
- Build a minimal Rust game that runs on desktop and in a browser
Suits: Rust developers learning SDL2 and WebAssembly.
Worth knowing: Setup instructions are written only for macOS and Ubuntu
What you can try
Read the README on GitHub and install from source.
Install
brew install sdl2Taken from the project’s README. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw hello-rust-sdl2-wasm on , when awwsmm posted it to Show HN. GitHub listed no published releases for awwsmm/hello-rust-sdl2-wasm when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 82 points, 38 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 82 points, 38 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: awwsmm/hello-rust-sdl2-wasm
- Found: awwsmm posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was hello-rust-sdl2-wasm released?
- No dated release record is available. Kip found it on Show HN on 15 Jan 2024.
- Is hello-rust-sdl2-wasm open source?
- Its source is public on GitHub at awwsmm/hello-rust-sdl2-wasm; check the repository for licence terms.
- What does hello-rust-sdl2-wasm run on?
- macOS, Linux, Web.
- Is hello-rust-sdl2-wasm free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is hello-rust-sdl2-wasm still maintained?
- It has had no commit or release for over a year as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | awwsmm/hello-rust-sdl2-wasm REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-39001572. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.