The fastest Statistical Programming Language is …Javascript?
21–30 of 41 posts
Re: The fastest Statistical Programming Language is …Javascript?
#22What about straight C??? There are many great stats libraries in C (e.g. Apophenia). C is not a hipster language but maybe (like polaroid filters in Instagram) it's time for it to make a "retro" comeback. C kicks ass for speed. Obviously.
Re: The fastest Statistical Programming Language is …Javascript?
#23Earlier quoted context omitted.
> no-one (sane) is going to rewrite all of those linear algebra libraries Is it because it would take a long time or because it's inherently hard?
It's easy enough to do a basic implementation, but getting good numerical stability and good performance is hard (and in Javascript, it's pretty much impossible with current implementations). See also the matrix multiplication benchmarks in the post: JS is 60x slower than Matlab, even though it's already using typed arrays. A naive triply nested for loop in C would probably perform similarly to the JS, which is to sa…
Re: The fastest Statistical Programming Language is …Javascript?
#24JavaScript is faster than MatLAB etc in these examples, but as mentioned already it's slower at matrix multiplication and I'm sure that's just one example.
Does JavaScript have tonnes of libs? Does it have type-checking? Does it have all those other things that I would be desperate for if I was performing important calculations? Can I distribute the computing easily? Etc, etc.
Let's stop comparing programming languages as if they're one tool to do one job. Different programming languages have different applications and are suited for different jobs.
Re: The fastest Statistical Programming Language is …Javascript?
#25Re: The fastest Statistical Programming Language is …Javascript?
#26Urrgh. This came through on my feed earlier today, and I left a comment on it. While javascript is fast (and can be used for many things), the real issue with using it for stats is the lack of libraries. More specifically, as far as I know it cannot interface with Fortran. That's a death knell for any statistical programming language, as it means no LAPACK, and no-one (sane) is going to rewrite all of those linear al…
Re: The fastest Statistical Programming Language is …Javascript?
#27Who the hell would use the relatively library less javascript to do analysis? Sorry, R, Matlab, Python, Syntax, Fortran have actual libraries for this stuff, JS, no.
Sure, you could achieve the same with a general purpose PL, but you would have to implement everything from scratch.
Re: The fastest Statistical Programming Language is …Javascript?
#28Who the hell would use the relatively library less javascript to do analysis? Sorry, R, Matlab, Python, Syntax, Fortran have actual libraries for this stuff, JS, no.
Re: The fastest Statistical Programming Language is …Javascript?
#29His table shows js is 40x slower on matrix multiplication.
Ergo, JavaScript isn't the fasted language for that matters, because matrix multiplication is too important.
Re: The fastest Statistical Programming Language is …Javascript?
#30Urrgh. This came through on my feed earlier today, and I left a comment on it. While javascript is fast (and can be used for many things), the real issue with using it for stats is the lack of libraries. More specifically, as far as I know it cannot interface with Fortran. That's a death knell for any statistical programming language, as it means no LAPACK, and no-one (sane) is going to rewrite all of those linear al…
I don't know much about javascript implementations. Is there no foreign-function interface available ? If you can interface with C you can interface with Fortran (with a little extra work).