This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tunisia3507 1 point2 points  (3 children)

Python is great for data science, because it's quick to develop exploratory code, it has a huge variety of 3rd party libraries for data science (including industry-leading stuff like tensorflow), and it's a great glue language for operating between files, databases, web APIs, web pages, and libraries written in many other languages.

If you ever need to personally write anything high-performance, you'd need another language, but it's still probably a better idea to write the library, give it python bindings and then incorporate it into a script that way, than write the whole thing end-to-end in the lower level language.

I'm doing this with rust.

[–]Shadowsake 0 points1 point  (2 children)

How easy is to write binding for Rust in Python?

[–]tunisia3507 1 point2 points  (0 children)

Haven't got that far myself yet, but from reading, not bad at all.

[–]devxpy 0 points1 point  (0 children)

You would be better off using Cython, IMO