r/javascript • u/dupontcyborg • Jun 09 '26
Making numpy-ts as fast as native
https://nico.codes/notes/numpyts-optimization/I've been working on numpy-ts since last fall, and began performance optimization in January. Lots of my assumptions / intuitions were wrong, and it turned out that memory ownership was a bit of a missing piece to reaching performance parity with native.
So I drafted this technical write-up with some of the lessons learned. Many/most might be obvious but would love to hear your thoughts!
Disclaimer: this project was built using some AI assistance. Read my AI disclosure for more info.
21
Upvotes
View all comments
Show parent comment
1
u/Educational-Lemon640 Jun 09 '26
Actually useful work sometimes fades into the background against the overwhelming avalanche of noise, clamor and garbage that the modern world spews out like smoke. I just wanted to do something to boost something I think is quite interesting and useful.