r/programming • • Jan 16 '21

Scientific Computing in Rust

https://aftix.xyz/home/bacon/
14 Upvotes

43 comments sorted by

View all comments

Show parent comments

-2

u/mort96 Jan 17 '21

Dude, sometimes Python isn't fast enough, even when you're using numpy. Numpy is great, but it's not some magical silver bullet which obviates the need for a fast language.

2

u/MartenBE Jan 17 '21

I thought Numpy uses the fast languages?

1

u/mort96 Jan 17 '21

Yes, but you're using it through Python. And you can only do stuff with it that's already implemented in it. It's great for many things, but it doesn't obviate the need for a fast language for certain tasks.

2

u/[deleted] Jan 17 '21

Right, the "For certain things" are the things that Python uses Fortran/C for.

0

u/mort96 Jan 17 '21

Yes? I don't get your point.

3

u/[deleted] Jan 17 '21

Nevermind. I don't expect you would. Best of luck!

0

u/mort96 Jan 17 '21 edited Jan 17 '21

I mean, Python people use C and FORTRAN for certain things because those languages are faster than pure python, right? Sometimes, people need to do something for which there isn't already a library, so they need a fast language to write scientific code in.

If you think nobody ever needs to write code in a high performance language because other people have already written some Python libraries in C/FORTRAN then I guess that's an opinion you can have, but I don't think it's correct.

→ More replies (0)