Hacker News new | ask | show | jobs
by eduardoleao052 819 days ago
I am currently studying Typescript and other JavaScript libraries to improve the library’s performance. So adding GPU support is in sight in the future.
1 comments

You might already be familiar, but a GPU.js backend can provide some speedups via good old WebGL -- no need for WebGPU just yet!

[0]: https://github.com/gpujs/gpu.js/

FWIW also taichi is quite popular in python and seems has some javascript related implementation (I haven't used it though), taichi.js [0]

[0] https://github.com/AmesingFlank/taichi.js

Cool! Will take a look
Thanks for the tip! I’ll definitely take a look. Adding GPU support is my next step!
Not a problem, I've benchmarked some GPU backed js libraries here:

[0]: https://observablehq.com/@dleeftink/ultimate-compute-show-do...

Thank you! That’s going to help out a lot!