Live data from Hacker News

The fastest Statistical Programming Language is …Javascript?

r-bloggers.com

1–10 of 41 posts

Re: The fastest Statistical Programming Language is …Javascript?

#3
Urrgh. 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 algebra libraries. So regardless of how fast it is, its not going to make it as a stats language.

That being said, it does make it easier to develop statistically aware web-apps (a particular interest of mine), so that's definitely good.

Re: The fastest Statistical Programming Language is …Javascript?

#7

His 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.

or there is no dedicated library for matrix multiplication compared to the other languages..

Re: The fastest Statistical Programming Language is …Javascript?

#8

Urrgh. 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…

It does mean that there might be mileage in a native tool wrapping LAPACK et al in v8.

Re: The fastest Statistical Programming Language is …Javascript?

#9

His 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.

Except that the matrix multiplication benchmark uses pure javascript (see the source here: https://github.com/JuliaLang/julia/blob/master/test/perf/per...). I wonder how JS would do with bindings to LAPACK.

And then there is a bias in those benchmarks, see for example the ones for quicksort: in Python they only time the duration of the sort itself, whereas (at least in Julia and JS) they time both the creation of the random array and the time needed to sort it.

Re: The fastest Statistical Programming Language is …Javascript?

#10

Urrgh. 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…

What about using https://github.com/rbranson/node-ffi + clapack?

Not that I know what I'm talking about, I've never used Fortran.

Post reply on HN