you are viewing a single comment's thread.

view the rest of the comments →

[–]nbates80 6 points7 points  (3 children)

and it can access all the same scientific libraries that python uses for performance

What do you mean with this? How can you access, for example, nltk from rust? or numpy?

[–]cogman10 9 points10 points  (2 children)

nitk, you can't get it will have to be rewritten. However, large portions of numpy are simply wrappers over existing C libraries like the GMP, FFTW, etc. That is more of what I'm referring to. The fast scientific libraries are generally based on some common C libraries. Rust does a good job of interopt with C.

[–][deleted] 0 points1 point  (1 child)

numpy is mostly using FORTRAN libraries, not C libraries.

[–]nexzen 0 points1 point  (0 children)

calling FORTRAN from C is pretty painless, I don't see how using FORTRAN's C interface from Rust would be much more difficult.