vswhere
pygfx
vswhere | pygfx | |
---|---|---|
5 | 3 | |
899 | 357 | |
0.7% | 2.6% | |
4.5 | 8.8 | |
1 day ago | 3 days ago | |
C++ | Python | |
MIT License | BSD 2-clause "Simplified" License |
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.
vswhere
-
how does this work?
But often maintainers also upload Releases with builds of their software, e.g. like here: https://github.com/microsoft/vswhere/releases
-
Extending Python with Rust
Finding where & how to use an installed VS instance (or selecting one) in automated tooling is solved by the criminally unknown, MIT licensed, MS supported, redistributable, vswhere tool: https://github.com/microsoft/vswhere
-
microsoft_craziness.h (2018)
/ // This file was about 400 lines before we started adding these comments. // You might think that's way too much code to do something as simple // as finding a few library and executable paths. I agree. However, // Microsoft's own solution to this problem, called "vswhere", is a // mere EIGHT THOUSAND LINE PROGRAM, spread across 70 files, // that they posted to github unironically. // // I am not making this up: https://github.com/Microsoft/vswhere
- Microsoft_craziness.h
pygfx
-
Emerging Rust GUI libraries in a WASM world
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
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
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?
fastplotlib - Next-gen fast plotting library running on WGPU using the pygfx rendering engine
SHA256-WebGPU - Implementation of sha256 in WGSL
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
numexpr - Fast numerical array expression evaluator for Python, NumPy, Pandas, PyTables and more
graphics_wgpu
tundra - Tundra is a code build system that tries to be accurate and fast for incremental builds
builder - Simple build system for Visual C++
three.py - Python 3D library based on three.js and Modern OpenGL
sol2 - Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native