Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mdboom
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
mdboom
7y ago
These are some good points. One small way in which Iodide advances this is that by having the editor being a single text editing widget (rather than multiple cells as you see in Jupyter and others), it should be easier to replace that widge
2.
▲
by
mdboom
7y ago
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
3.
▲
by
mdboom
8y ago
Actually, Numpy-using-code is closer to native speeds than pure Python is. The thing that seems to cause a greater gap between wasm and native speeds is lots of Python-level function calls, not the tight C loops that make up much of Numpy.
4.
▲
by
mdboom
8y ago
Bokeh could probably be done, but most of Bokeh's client/server complexity becomes unnecessary in this execution model. More recently, pyodide has grown full matplotlib support. See, for example, https://iodide.io/
5.
▲
by
mdboom
8y ago
Yes. It uses the C implementations of BLAS and LAPACK that ship in the Numpy source tree.
6.
▲
by
mdboom
8y ago
Yep. You can "import" python objects over to the Javascript side and start using them from there. It's not as pleasant as working with Numpy in Python, of course, due to lack of operator overloading, of course.
7.
▲
by
mdboom
8y ago
File a bug over at https://github.com/iodide-project/pyodide/ I'd love to get to the bottom of that.
8.
▲
by
mdboom
8y ago
The plan is to build something based on conda.