4 ms·
I believe you'd need to port Python to WebAssembly to make much use of pandas - unaware of any projects attempting the former. The grid is just a plugin for th
by texodus 9y ago
I believe you'd need to port Python to WebAssembly to make much use of pandas - unaware of any projects attempting the former.
The grid is just a plugin for the excellent [Hypergrid](https://github.com/openfin/fin-hypergrid https://github.com/openfin/fin-hypergrid), which is editable, but you'd need to manually push those edits back to the engine for now.
- zimablue 9y agowhich answers my other question, so it's canvas?
- texodus 9y agoThe frontend is actually pure JS/HTML - the WebAssembly part is just the data engine, and runs in a WebWorker for CPU isolation. Hypergrid is a canvas-based renderer, yes.
- Laaas 9y agoNuitka can compile Python to LLVM IR, which can be compiled into WASM, I think.
- fulafel 9y agoAs historical background: Python was one of the early emscripten asm.js experiments: https://github.com/kripken/emscripten/tree/master/tests/python https://github.com/kripken/emscripten/tree/master/tests/pyth...
- trevyn 9y agoWebAssembly code can talk to the rest of your JS (and therefore asm.js) code, right? So PyPy.js runs Python in the browser via asm.js: http://pypyjs.org/ http://pypyjs.org/ https://github.com/pypyjs/pypyjs https://github.com/pypyjs/pypyjs Livebook uses PyPy.js to make a Jupyter-like notebook that runs entirely in the browser, and includes pandas: https://livebook.inkandswitch.com https://livebook.inkandswitch.com https://github.com/inkandswitch/livebook https://github.com/inkandswitch/livebook And random plug for Observable in case you haven't seen it, a Jupyter-like Javascript environment, completely in the browser: https://observablehq.com https://observablehq.com