SDL2 vs Winit/Pixels/CPAL/etc. Is going "native" really worth it?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/rust_gamedev

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SaaSHub - Software Alternatives and Reviews
  • rust-sdl2

    SDL2 bindings for Rust

    nope. https://github.com/Rust-SDL2/rust-sdl2/issues/884 emscripten target won't work yet either.

  • macroquad

    Cross-platform game engine in Rust.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • ggez

    Rust library to create a Good Game Easily

  • rust

    Empowering everyone to build reliable and efficient software.

    regarding the Sdl2 on wasm thingy, I think c binding crates in rust can't compile because of a wasm abi mismatch at the moment. once C compilers decide on wasm's multi-return ABI, rust can proceed to match that. until then, rust can just wait :( https://github.com/rust-lang/rust/issues/83788 for reference.

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