metal-rs
wgpu
metal-rs | wgpu | |
---|---|---|
5 | 195 | |
522 | 10,995 | |
1.7% | 3.2% | |
5.7 | 9.9 | |
4 days ago | 3 days ago | |
Rust | Rust | |
Apache License 2.0 | 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.
metal-rs
-
What's the best way to learn Metal?
I found working in rust with these bindings much easier https://github.com/gfx-rs/metal-rs
-
Unified memory on M1 macs
An alternative would be to use rust bindings for metal with gfx-rs/metal-rs. There is a metal compute example in the examples folder.
-
Low overhead C++ interface for Apple's Metal API
Thanks very much for this detailed information, it's very helpful. I've filed https://github.com/gfx-rs/metal-rs/issues/222 to track it in the Rust ecosystem side.
- Conditionally run some parts of build.rs
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?
MoltenVK - MoltenVK is a Vulkan Portability implementation. It layers a subset of the high-performance, industry-standard Vulkan graphics and compute API over Apple's Metal graphics framework, enabling Vulkan applications to run on macOS, iOS and tvOS.
vulkano - Safe and rich Rust wrapper around the Vulkan API
metal-cpp - Metal-cpp is a low-overhead C++ interface for Metal that helps developers add Metal functionality to graphics apps, games, and game engines that are written in C++.
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
objc4
glow - GL on Whatever: a set of bindings to run GL anywhere and avoid target-specific code
rust-bindgen - Automatically generates Rust FFI bindings to C (and some C++) libraries.
rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧
clspv - Clspv is a compiler for OpenCL C to Vulkan compute shaders
bevy - A refreshingly simple data-driven game engine built in Rust
bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
Rust-CUDA - Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.