webgpu-blas VS pygfx

Compare webgpu-blas vs pygfx and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
webgpu-blas pygfx
3 3
97 352
- 4.0%
4.8 8.8
3 months ago 4 days ago
TypeScript Python
MIT License BSD 2-clause "Simplified" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

webgpu-blas

Posts with mentions or reviews of webgpu-blas. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-06.
  • Chrome Ships WebGPU
    17 projects | news.ycombinator.com | 6 Apr 2023
    Looks like no -- there appears to be no tensor core or similar support and this SGEMM (fp32 matrix multiply) benchmark gets awful results (my laptop gets 330gflops on this when it should be capable of 13000 gflops).

    https://github.com/milhidaka/webgpu-blas

  • Modern JavaScript:Everything you missed over the last 10 years(ECMAScript 2020)
    8 projects | news.ycombinator.com | 15 May 2021
    I think you will be interested to read this article about the future of data programming in JavaScript (http://benschmidt.org/post/2020-01-15/2020-01-15-webgpu/).

    I do think that this kind of thing will be able to be built on top of WebGPU (I saw this experimental POC that did so recently: https://github.com/milhidaka/webgpu-blas). The only issue is that since JavaScript doesn't support operator overloading, the code might be a little less readable.

  • JavaScript for Data Science
    3 projects | news.ycombinator.com | 25 Apr 2021

pygfx

Posts with mentions or reviews of pygfx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-26.
  • Emerging Rust GUI libraries in a WASM world
    11 projects | news.ycombinator.com | 26 Apr 2023
    https://github.com/kushalkolar/fastplotlib

    Alternatively, try pygfx for ThreeJS graphics in Python leveraging wgpu. It works great in Notebooks through notebook-rfb. https://github.com/pygfx/pygfx

    If you're adventurous, figure out how to make pygfx work with webgpu via wasm

  • Chrome Ships WebGPU
    17 projects | news.ycombinator.com | 6 Apr 2023
    FYI you can already use webgpu directly in python, see https://github.com/pygfx/wgpu-py for webgpu wrappers and https://github.com/pygfx/pygfx for a more high level graphics library
  • Extending Python with Rust
    12 projects | news.ycombinator.com | 27 Dec 2022
    Rather than using matplotlib, you could try either pygfx (https://github.com/pygfx/pygfx) or fastplotlib (https://github.com/kushalkolar/fastplotlib) to make higher performance graphics using Python.

    However, it won't solve your problem of Python not being fast enough doing the calculations.

What are some alternatives?

When comparing webgpu-blas and pygfx you can also consider the following projects:

numjs - Like NumPy, in JavaScript

SHA256-WebGPU - Implementation of sha256 in WGSL

Material UI - Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.

numexpr - Fast numerical array expression evaluator for Python, NumPy, Pandas, PyTables and more

graphics_wgpu

wgpu-mm

vswhere - Locate Visual Studio 2017 and newer installations

next-auth - Authentication for the Web.

fastplotlib - Next-gen fast plotting library running on WGPU using the pygfx rendering engine

icpts - TypeScript implementation of iterative closest point (ICP) for point cloud registration

three.py - Python 3D library based on three.js and Modern OpenGL