3 ms·
It sounds like you want something a bit like WebGPU: https://gpuweb.github.io/gpuweb/ https://gpuweb.github.io/gpuweb/
by lhnz 5y ago
It sounds like you want something a bit like WebGPU: https://gpuweb.github.io/gpuweb/ https://gpuweb.github.io/gpuweb/
- SavantIdiot 5y agoClose, but I don't want to have to switch memory models, e.g. upload/download. What I want is the incredibly diverse numerical computing support and logical syntax of NumPY but in the same process & memory space. The W3C endeavor is something a little different. Thanks tho!!
- lhnz 5y agoI think you will be interested to read this article about the future of data programming in JavaScript (http://benschmidt.org/post/2020-01-15/2020-01-15-webgpu/ http://benschmidt.org/post/2020-01-15/2020-01-15-webgpu/). I do think that this kind of thing will be able to be built on top of WebGPU (I saw this experimental POC that did so recently: https://github.com/milhidaka/webgpu-blas https://github.com/milhidaka/webgpu-blas). The only issue is that since JavaScript doesn't support operator overloading even if a production-level library was created the code would be a little less readable.
- SavantIdiot 5y agoThis article nails it. While Python is such an elegant language for scientific research, it falls on its face when it comes to packaged applications (and as stated in my other posts, it's awkward async support compared to Node). I realllly hope scientific computing moves into NodeJS, or, Python gets better at asyncio and cross-platform packaging.