diplomat
wgpu
diplomat | wgpu | |
---|---|---|
6 | 195 | |
452 | 10,995 | |
3.1% | 3.2% | |
8.8 | 9.9 | |
3 days ago | 1 day ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
diplomat
-
ffizz: Build a Beautiful C API in Rust
The tooling for the first kind -- calling Rust from another language -- is a bit less developed, and tends to rely on code generation that doesn't necessarily produce a natural C API. cbindgen, uniffi, cxx, and Diplomat all take this course.
-
ICU4X 1.2: Now With Text Segmentation and More on Low-Resource Devices
I don't think that accurately describes what ICU4X does. It generates code directly in the language needed using Diplomat. Which currently supports JS/TS/Wasm, C, C++, and .NET, but we plan to support more (Dart is actively being worked on, there is a lot of interest in Java). Diplomat is designed to be relatively easy to write backends for: you have to write code that converts its internal IR to bindings code, so you mostly need to understand that internal IR and figure out how to idiomatically map it to other languages.
- 1Password releases Typeshare, the "ultimate tool for synchronizing your type definitions between Rust and other languages for seamless FFI"
-
Multi-language library support: Is it possible?
The ICU4X team is developing diplomat - https://github.com/rust-diplomat/diplomat/
-
Anyone interested in open-sourcing high-level memory-safe bindgen for Dart/Flutter <–> Rust?
I'm not that interested in a separate tool for this but it would be really cool to have a dart plugin as a part of Diplomat. Diplomat's not fully polished yet but it's totally okay to add new language backends to it. (Eventually I plan to restructure it so that it has a cleaner plugin interface, but for now "checked into tree" is fine for backends)
wgpu
-
GPU Compute in the Browser at the Speed of Native: WebGPU Marching Cubes
Oh look it's subgroup support landing last week: https://github.com/gfx-rs/wgpu/pull/5301
- 3D and 2D: Testing out my cross-platform graphics engine
- Warp Terminal is now available for Linux
- Linux version of Warp terminal is here
-
Building the DirectX shader compiler better than Microsoft?
And wgpu has been doing this for years. Things like descriptor indexing are not exposed to the web but used by Rust (mostly) engines on native.
https://wgpu.rs/
-
New Renderers for GTK
If they used https://wgpu.rs/ they would get directx and metal for free (:
-
Show HN: WebGPU Particles Simulation
IIRC it was delayed multiple times. I think the first intent to ship from chrome was before 100 but they kept pushing it off. Firefox still does not support it. There are projects like wgpu[0] that wrap provide a higher level API and I have used some projects using it with no issues. WFIW I didn't see any issue with OP's demo either.
[0] https://github.com/gfx-rs/wgpu
- Deno 1.39: The Return of WebGPU
-
How do I become a graphics programmer? – A guide from AMD Game Engineering team
wgpu, the Rust WebGPU implementation is the bee's knees. https://wgpu.rs/ You can use it beyond the web.
-
There is anything like wgpu.rs for Zig?
There is anything like wgpu.rs for Zig? wgpu.rs is an abstraction on top of Vulkan, Metal, DirectX, etc...
What are some alternatives?
uniffi-rs - a multi-language bindings generator for rust
vulkano - Safe and rich Rust wrapper around the Vulkan API
flutter_rust_bridge - Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
cbindgen - A project for generating C bindings from Rust code
glow - GL on Whatever: a set of bindings to run GL anywhere and avoid target-specific code
moat - mobile type (currently Swift, Kotlin) generation from Haskell types
rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧
airbax - Exception tracking from Elixir to Airbrake
bevy - A refreshingly simple data-driven game engine built in Rust
bifrost
bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.