News for hackers. Stuff that matters.
Re:Vectorious: BLAS-accelerated linear algebra for TypeScript by pjmlp on Saturday June 03, 2023 @05:22AM (#36175042)
Just like Python, but at least has a JIT on the box.
Re:Vectorious: BLAS-accelerated linear algebra for TypeScript by huac on Saturday June 03, 2023 @09:08AM (#36176385)
Arguably better async primitives too. Python's main advantage at this point feels like a stronger ecosystem of packages calling into native code (eg numpy et al mostly call optimized C routines). If Typescript adds more of those libraries (like this one), then I could see it gaining a lot of adoption.
Re:Vectorious: BLAS-accelerated linear algebra for TypeScript by sroussey on Saturday June 03, 2023 @01:24PM (#36178579)
I think Bun (which has typescript embedded but written in zig) would be a great place to experiment.

I could see it adding some tensor types that drop into zig code that uses webgpu bindings. And add some operator overloading so you could just add t1 + t2 etc.