Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blog post idea: Rust dependency spotlight #134

Open
Herschel opened this issue Mar 27, 2023 · 4 comments
Open

Blog post idea: Rust dependency spotlight #134

Herschel opened this issue Mar 27, 2023 · 4 comments

Comments

@Herschel
Copy link
Member

A big part of Ruffle's success is from a perfect-storm of other crates from the Rust community. We could do a spotlight on some of our big dependencies that were key for us getting off the ground.

  • wasm-bindgen: Made Wasm a first-class citizen in Rust
  • wgpu: Portable GPU abstraction and gave us a head start for WebGPU on web
    • naga: Transpile AGAL shaders, allowing Stage3D to function
  • winit: Desktop app
  • cpal: Desktop audio
  • sample: Audio, resampling
  • gc-arena: GC
  • lyon: Allowed us easy tessellation of shapes for the wgpu/WebGL backends
  • symphonia: MP3 parsing
  • who else?
@Lord-McSweeney
Copy link
Contributor

What about quick-xml?

@torokati44
Copy link
Member

torokati44 commented Mar 27, 2023

Two of our video decoders are from NihAV: https://nihav.org/ (https://codecs.multimedia.cx/)

They are both fast, have no external dependencies, their code is clean (few unwraps), and the developer is knowledgeable (an FFmpeg contributor), responsive, and was kind enough to relicense these parts of his code for us.

@torokati44
Copy link
Member

torokati44 commented Mar 27, 2023

wasm-opt (Binaryen) is also nice.

@danielhjacobs
Copy link
Collaborator

egui now that the Desktop app has a UI using it.

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

No branches or pull requests

4 participants