Live data from Hacker News

Pygfx

docs.pygfx.org

11–20 of 56 posts

Re: Pygfx

#12

pygfx/pygfx: https://github.com/pygfx/pygfx : > Pygfx (pronounced “py-graphics”) is built on wgpu, enabling superior performance and reliability compared to OpenGL-based solutions. pygfx/wgpu-py: https://github.com/pygfx/wgpu-py/ : > A Python implementation of WebGPU gfx-rs/wgpu: https://github.com/gfx-rs/wgpu : > wgpu is a cross-platform, safe, pure-rust graphics API. It runs natively on Vulkan, Metal, D3D12, and Op…

I was/am a bit confused: I think this is unrelated to the wgpu cross-API toolkit in rust, it just abbreviated WebGpu the same way?

Re: Pygfx

#14

pygfx/pygfx: https://github.com/pygfx/pygfx : > Pygfx (pronounced “py-graphics”) is built on wgpu, enabling superior performance and reliability compared to OpenGL-based solutions. pygfx/wgpu-py: https://github.com/pygfx/wgpu-py/ : > A Python implementation of WebGPU gfx-rs/wgpu: https://github.com/gfx-rs/wgpu : > wgpu is a cross-platform, safe, pure-rust graphics API. It runs natively on Vulkan, Metal, D3D12, and Op…

I was/am a bit confused: I think this is unrelated to the wgpu cross-API toolkit in rust, it just abbreviated WebGpu the same way?

Per the `wgpu-py` README:

> Technically speaking, wgpu-py is a wrapper for wgpu-native, exposing its functionality with a Pythonic API closely resembling the WebGPU spec.

`wgpu-native` is a wrapper with FFI/bindings for the Rust `wgpu` per their READMEs

Re: Pygfx

#15

pygfx/pygfx: https://github.com/pygfx/pygfx : > Pygfx (pronounced “py-graphics”) is built on wgpu, enabling superior performance and reliability compared to OpenGL-based solutions. pygfx/wgpu-py: https://github.com/pygfx/wgpu-py/ : > A Python implementation of WebGPU gfx-rs/wgpu: https://github.com/gfx-rs/wgpu : > wgpu is a cross-platform, safe, pure-rust graphics API. It runs natively on Vulkan, Metal, D3D12, and Op…

I was/am a bit confused: I think this is unrelated to the wgpu cross-API toolkit in rust, it just abbreviated WebGpu the same way?

Same, I had assumed they weren't independent.

/?PyPI wgpu: https://pypi.org/search/?q=wgpu

Looks like xgpu is where it's actually at.

xgpu: https://github.com/pyrym/xgpu :

> xgpu is an aggressively typed, red-squiggle-free Python binding of wgpu-native, autogenerated from the upstream C headers

wgpu-py has a conda-forge package: https://anaconda.org/conda-forge/wgpu-py

Re: Pygfx

#18
post #5

this looks similar to VisPy ( https://vispy.org/ ), are there any major differences?

From my experience with vispy, it is more limited than pygfx. I mean, you can always use gloo to get whatever you want but the "built ins" are much more limited than what pygfx seems to have. I really like vispy anyways, I think this seems like an evolution with some lessons learnt from vispy.
Post reply on HN