webnn
wgpu
webnn | wgpu | |
---|---|---|
6 | 197 | |
316 | 11,109 | |
1.9% | 3.8% | |
9.3 | 9.9 | |
6 days ago | about 4 hours ago | |
Bikeshed | 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.
webnn
- Py2wasm – A Python to WASM Compiler
-
Ask HN: What's the idea behind the WebNN API?
The WebNN API will make it possible to run AI models in the browser: https://www.w3.org/TR/webnn/
The idea of having AI in browsers (see the "Application Use Cases") seems cool, but on the other hand, the idea of downloading & storing large models for each website/webapp seems terrible.
It seems to me that it would make more sense to have models built into browsers, and to have a web API that provides standardized ways to interact with the underlying models of each browser. From what I have understood from the WebNN spec, though, despite listing out all of the cool use-cases, the API doesn't seem intended to provide higher level functionality than loading, running & performing operations on a model.
Is my understanding of the API right, or is there something else that uses it to make these use-cases available in browsers?
- Deno 1.39: The Return of WebGPU
- W3C Candidate Recommendation Draft: Web Neural Network API
- WebNN: Web Neural Network API
wgpu
-
Zed Decoded: Linux When? – Zed Blog
Wgpu seems very very well loved & supported, is one of the most successful comings together of the graphics world in ages. I'd love to hear some actual critique of it, hear what people think are shortcomings, because it feels to an outsider like this is the fantasy land, that we're living in the better place now. https://github.com/gfx-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.
What are some alternatives?
vulkano - Safe and rich Rust wrapper around the Vulkan API
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
glow - GL on Whatever: a set of bindings to run GL anywhere and avoid target-specific code
rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU 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.
glium - Safe OpenGL wrapper for the Rust language.
gfx - [maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
Silk.NET - The high-speed OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, WebGPU, and DirectX bindings library your mother warned you about.
cef - Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
winit - Window handling library in pure Rust