Skip to content

Add Remade with Rust crates (allocator, DDS textures, image/audio/video codecs) - #690

Open
Ttimmahlax wants to merge 1 commit into
rust-gamedev:masterfrom
Ttimmahlax:add-remade-with-rust-crates
Open

Ttimmahlax wants to merge 1 commit into
rust-gamedev:masterfrom
Ttimmahlax:add-remade-with-rust-crates

Conversation

@Ttimmahlax

Copy link
Copy Markdown
Contributor

Adds crates from Remade with Rust that we think will help Rust game developers: a portable allocator, a DDS texture toolkit, image and audio codecs, and video/compression libraries for cutscenes and asset pipelines.

I'm with Remade with Rust / MATA, the authors. We're enthusiastic about Rust game development and are investing heavily in this stack. I'd be glad to talk about collaborating more closely on development and marketing: Tim.almond@mata.network.

A couple of results we can point to from the rusty_dds repo, rather than from unpublished game tests:

  • In the rusty_dds texture-streaming simulator, a paired process-CPU comparison (20 pairs, pack high192) found rusty_alloc worth 11.1–14.8% of total sim CPU on both the rusty_dds and DirectXTex stacks: Remade-With-Rust/rusty_dds@a214e6b
  • rusty_dds is pure Rust, so the same toolkit can run in a cook pipeline or a loader on Windows, macOS, and Linux, with a decode-only WASM path for the web, without a C++ DirectXTex dependency.
  • On a cook-time corpus that includes 16 UI textures from CRYTEK's GameSDK, plus ambientCG and USC-SIPI images, the encoder improved 89 of 102 cases versus rusty_dds 0.1.2 (largest gain +13.53 dB on BC7 crytif_startscreen). On the published 24-case ambientCG comparison it was ahead of DirectXTex on encode quality in 22 of 24 cases, and ahead on encode and decode speed in all 24: https://github.com/Remade-With-Rust/rusty_dds/blob/master/README.md

Entries use source = "crates" (same style as rusty-opus in #685) and are inserted alphabetically by name, ignoring case. rusty-opus is already listed and is unchanged.

  • rusty_alloc 2.6.0 — tools — pure-Rust mimalloc remake; one codebase for Linux, Windows, macOS, wasm, and no_std / bare-metal
  • rusty_dds 0.10.1 — tools — memory-safe DDS texture toolkit (container, BC1–BC7 / BC6H, GPU upload plans)
  • rusty_jpeg 0.4.10 — 2drendering — pure-Rust JPEG/MJPEG decode + encode; no_std + alloc
  • rusty_png 0.3.2 — 2drendering — pure-Rust PNG decode + encode
  • rusty_gif 0.1.2 — 2drendering — pure-Rust GIF decode + encode
  • rusty_image 0.1.2 — 2drendering — BMP, TGA, Radiance HDR, ICO/CUR, PNM/PAM, and QOI
  • rusty_flac 0.5.1 — audio — pure-Rust FLAC encode + decode
  • rusty_h264 0.17.3 — tools — pure-Rust H.264 encode + decode
  • rusty_h265 0.7.1 — tools — pure-Rust HEVC / H.265 decoder
  • rusty_av2d 0.3.0 — tools — pure-Rust AV2 video decoder
  • rusty_zstd 0.5.0 — tools — pure-Rust Zstandard compressor / decompressor (no_std + alloc, wasm32)
  • remade-ffmpeg 0.8.0 — tools — Remade FFmpeg engine facade (codecs and formats)

crates.io / repos:

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant