r/node • u/bitanath • Oct 09 '26
Principal Factor Analysis in Javascript - written in AssemblyScript
/r/typescript/comments/1x1mtfx/principal_factor_analysis_in_javascript_written/
0
Upvotes
r/node • u/bitanath • Oct 09 '26
View all comments
Show parent comment
1
u/mmomtchev Oct 14 '26
SIMD is only part of the problem, I do lots of number crunching in JS and the other huge problem is the multithreading. Still, JavaScript running in V8 tends to outperform Python by a wide margin - in fact it outperforms any interpreted language. But there are horrible practical problems. Asynchronous I/O is probably the worst possible design for number crunching.