Earlier quoted context omitted.
You can do GPGPU stuff via WebGL, right?
WebGL doesn't have compute shaders. There are (gross) hacks that "emulate" gpu compute on top of stock shaders but they're limited and can't possibly compete with CUDA.
Pyodide: Bringing the scientific Python stack to the browser
41–50 of 120 posts
Re: Pyodide: Bringing the scientific Python stack to the browser
#42I want to believe so bad. Being able to do web development with Python instead of JavaScript has been something I've dreamed about forever.
I worked with a researcher a few years ago who used it to do somewhat complex frontend presentations.
But why? Just learn a little javascript. Its fun.
Re: Pyodide: Bringing the scientific Python stack to the browser
#43Would be curious to see if a version of Cython could be made to work with this. Much of my data analysis is me passing numpy arrays into C functions which Cython helps a lot with. So I would be looking for a version of Cython that would convert that to webassembly.
Re: Pyodide: Bringing the scientific Python stack to the browser
#44Would be curious to see if a version of Cython could be made to work with this. Much of my data analysis is me passing numpy arrays into C functions which Cython helps a lot with. So I would be looking for a version of Cython that would convert that to webassembly.
Cython works for ahead-of-time compilation. (Pandas requires it, for example). Making it work in the browser would also mean putting a C compiler there, which people have done. I have no idea how well that would all hold together, though.
Re: Pyodide: Bringing the scientific Python stack to the browser
#45I prefer the look of the JSMD format to the Jupyter notebook format and hope that is something that might get integrated into JupyterHub as well.
Question: is there some documentation for deploying your own Iodide server behind a firewall? The original Iodide post mentions this is possible.
Re: Pyodide: Bringing the scientific Python stack to the browser
#46Earlier quoted context omitted.
That would be an interesting stack if you could write desktop apps using Python but use the DOM/Browser stuff for the UI layer.
Yeah I often run into the need to develop basic UIs for data analysis for people with limited programming experience. Currently I have to settle for using Jupyter notebooks with embedded ipywidgets, but it's not still not very user-friendly. And the desktop app libraries like PyQt5 are overkill for what I need, and most of the visualization libraries I use are designed for jupyter notebooks/web e.g. Bokeh. If I could…
Re: Pyodide: Bringing the scientific Python stack to the browser
#47I want to believe so bad. Being able to do web development with Python instead of JavaScript has been something I've dreamed about forever.
There's Brython. https://brython.info/ I worked with a researcher a few years ago who used it to do somewhat complex frontend presentations. But why? Just learn a little javascript. Its fun.
Re: Pyodide: Bringing the scientific Python stack to the browser
#48I want to believe so bad. Being able to do web development with Python instead of JavaScript has been something I've dreamed about forever.
There's Brython. https://brython.info/ I worked with a researcher a few years ago who used it to do somewhat complex frontend presentations. But why? Just learn a little javascript. Its fun.
It’s learn webpack, learn parcel, learn react, learn vue, learn typescript, learn redux, learn npm, learn yarn etc etc.
If it was python, at least it wouldn’t change every three months.
Re: Pyodide: Bringing the scientific Python stack to the browser
#49Can this be used to create a desktop application using Electron?
That would be an interesting stack if you could write desktop apps using Python but use the DOM/Browser stuff for the UI layer.
https://github.com/smoqadam/PyFladesk
and this is the sample app:
Re: Pyodide: Bringing the scientific Python stack to the browser
#50I want to believe so bad. Being able to do web development with Python instead of JavaScript has been something I've dreamed about forever.