A minimal working Rust / SDL2 / WASM browser game

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • emscripten

    Emscripten: An LLVM-to-WebAssembly Compiler

  • Only half true. Emscripten implements the SDL 1.2 (and also SDL_mixer 1.2) API in Javascript here: https://github.com/emscripten-core/emscripten/blob/main/src/.... On the other hand SDL 2 (and SDL_mixer 2) are proper ports (which you linked to).

    So there's quite a size penalty to using SDL 2 rather than SDL 1.2.

  • hello-rust-sdl2-wasm

    A Rust repo which uses SDL2 for user interaction, and which can be run locally or compiled to WASM and run on the web

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • symbiants

    Ant Colony Sim + Daily Mental Health Exercises

  • https://github.com/MeoMix/symbiants Here's my open source game written in Rust and compiled to WASM if you want more reading material :) It uses Bevy not SDL2, though.

  • bevy

    A refreshingly simple data-driven game engine built in Rust

  • pixels

    A tiny hardware-accelerated pixel frame buffer. 🦀

  • https://github.com/parasyte/pixels

    That gives you a simple software framebuffer, and it builds as a native app or for the web.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts