I recall there has been some discussion about Brython lacking numpy support in the past, although I didn't look for the postings.
I just stumbled across https://hacks.mozilla.org/2014/10/introducing-simd-js/ which could be a building block for a numpy-compatible library for Brython, if and when someone gets motivated. I've no present need for numpy, but simd.js looks like interesting technology.
Glenn--
You received this message because you are subscribed to the Google Groups "brython" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brython+u...@googlegroups.com.
To post to this group, send email to bry...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brython/55D55566.7060000%40g.nevcal.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/brython/CAB-sx60i9A9dxNp8zTM36MY%3DW-tg8mYWZtYJExPn4e%3DjUbkUpw%40mail.gmail.com.
On 8/20/15, Billy Earney <billy....@gmail.com> wrote:I've always wondered if it would be best for us to create some type of wrapper/library/container gizmo for emscripten that would allow us to use the c/c++ libraries for things like numpy. In the long run, it could save us a lot of work and headaches.This seems to be a good idea but , IMO , to be developed in a separate repository in brython-dev organisation . [...]
--
You received this message because you are subscribed to the Google Groups "brython" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brython+u...@googlegroups.com.
To post to this group, send email to bry...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brython/55D61F34.5050906%40g.nevcal.com.
Hi, some thoughts about the topic:
-What would be the objective of the huge effort?Why wouild I like to do heavy calculation in the browser?In general, heavy computation needs heavy datasets.Heavy datasets from a server?Heavy datasets from my computer?All these computations in the browser for what?To obtain a final interactive figure?-Most of the times browsers are blocked after some time running a js script doing some heavy computation.
-If you just want to have interactivity for your analyses to better understanding of the results, why not jupyter/IPython notebooks? There you have best of both worlds server with a kernel in python/Julia/R/Haskell,..., and a client with js/brython/coffeescript/..., to interact with the calculations from the kernel.-If the IPython/Jupyter is enough you already have a brythonmagic to run brython there (https://github.com/kikocorreoso/brythonmagic). Once you have your nottebook you can share it with the world (interactive example not possible with the actual status of ipywidgets, http://nbviewer.ipython.org/github/kikocorreoso/brythonmagic/blob/master/notebooks/Most_popular_pypy_info.ipynb).
It is just that nowadays I don't see the benefit of a numpy in the browser. But maybe I'm wrong... ;-D