rustnn implements W3C WebNN for Firefox in Rust
Developer Tarek Ziade built rustnn, a Rust implementation (with Python bindings) of the W3C WebNN specification aimed at Firefox, using Claude Code to accelerate development across the spec's roughly 95 operators, according to a December 17, 2025 blog post. The project is now an active GitHub org repository with 18 stars, a v0.5.12 release (May 2026), 89% operator coverage, CoreML and ONNX backends, and more than 1,350 WPT conformance tests passing. Browser-native ML APIs like WebNN lower deployment friction for client-side inference, and an independent, backend-agnostic implementation broadens where browser ML can run beyond Chromium, though Ziade says matching Chromium's own maturity will likely still take months.
An independent, test-covered WebNN implementation outside a browser engine is a useful signal for ML practitioners: it validates that the W3C spec is genuinely implementable by a broader community, not just tied to Chromium's codebase, and gives Firefox a credible path toward browser-native ML inference.
What happened
Developer Tarek Ziade published a blog post on December 17, 2025 describing rustnn, a Rust implementation (with a Python binding called PyWebNN) of the W3C WebNN specification, built after attending TPAC and aimed at helping Firefox catch up with Chromium's existing WebNN support. Ziade enumerated 95 operators needed for spec coverage and used Claude Code to generate large parts of the implementation, validating each operator against W3C Web Platform Test (WPT) conformance tests and against CoreML and ONNX Runtime executors. As of the project's current GitHub repository (now under the rustnn GitHub organization, migrated from Ziade's personal account), the project has reached 85 of approximately 95 WebNN operations (89% spec coverage), 100% shape-inference and Python API coverage, complete ONNX and CoreML backend parity, more than 1,350 passing WPT conformance tests, 18 GitHub stars, and a latest v0.5.12 release from May 4, 2026.
Technical context
The architecture separates a platform-independent WebNN graph representation from backend-specific conversion, mirroring Chromium's own design: a converter turns the WebNN graph into ONNX or CoreML graphs, and separate executors run those graphs on the corresponding runtime, with an in-progress TensorRT executor for NVIDIA GPUs on Windows. Ziade credits three factors for the pace of implementation: a clear, well-written WebNN specification, comprehensive WPT conformance tests, and Chromium's existing implementation as a reference for corner cases. He also built an early, insecure proof-of-concept patch that adds the WebNN JavaScript API directly into Firefox's content process, exercising the Rust-to-C++ binding path (via cbindgen) and WebIDL interface work that a production integration would need; Firefox engineer Paul Adenot's separate work extending the Firefox AI Runtime for WebSpeech is expected to provide the process architecture WebNN would eventually use.
For practitioners
For teams building or evaluating browser-side ML inference, rustnn is evidence that WebNN can be implemented as a portable, backend-agnostic library rather than code deeply tied to one browser engine, which matters for anyone wanting client-side inference options beyond Chrome. The project is explicitly marked experimental and not for production use.
What to watch
Continued WPT conformance results and operator-coverage progress toward full parity with Chromium, published performance benchmarks against Chromium's implementation, and any signal that Mozilla is evaluating the code for upstream integration into Firefox via the Bugzilla tracking bug Ziade opened for the proof-of-concept patch.
Key Points
- 1Tarek Ziade built rustnn, a Rust and Python implementation of the W3C WebNN spec for Firefox, using Claude Code to accelerate the work.
- 2The project now covers 89% of WebNN operations with ONNX and CoreML backends and over 1,350 passing WPT conformance tests, per its GitHub repo.
- 3An independent, backend-agnostic WebNN implementation validates the spec beyond Chromium and gives Firefox a concrete path toward browser-native ML inference.
Scoring Rationale
A real, actively maintained open-source project (GitHub org repo, versioned releases, 1,350+ passing conformance tests, 89% spec coverage) implementing the W3C WebNN API in Rust for Firefox. Technically credible and developer-relevant for browser-side ML inference, with confirmed traction since the original December 2025 post, but still a niche-audience developer tool rather than an industry-shaking release.
Sources
Primary source and supporting public references used for this report.
Practice interview problems based on real data
1,625 SQL & Python problems across 15 industry datasets — the exact type of data you work with.
Try 250 free problems


