Thank you & small Python app demo #157
bluenote10
started this conversation in
Show and tell
Replies: 1 comment
-
|
Wow, this is really awesome! I'm really happy you were able to get something like this working and that you've been pleased with the performance too. Thank you for sharing! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I just wanted to take the opportunity to say thank you! I've been following your work/blog a little bit, which is always very interesting and inspiring. I also share your excitement regarding cushy 😉
In case you are interested: I've implemented some prototypical Python bindings, allowing to write tiny (fully type-safe!) Python apps like this:
Which produces something like this:
Peek.2024-06-06.22-52.mp4
The bindings aren't meant to be general purpose, but rather offering a domain specific interface for typical algorithmic experimentation I'm often faced with. In a sense, Desmos-like apps, but powered by Python allowing to visualize algorithmic ideas, or just arbitrary dynamic data exploration etc. Of course the feature set is far from complete / usable.
What's pretty cool: The rendering performance of PyO3 + cushy with reactive callbacks into Python is very promising. In the Python ecosystem there are a number of browser-based app frameworks that allow to write similar apps, but the frontend/backend communication always feels so slow. In comparison, the small cushy demo feels very snappy; a refreshing alternative to all the browser stuff!
Beta Was this translation helpful? Give feedback.
All reactions