News for hackers. Stuff that matters.
Re:Make your programs run faster by better using the data ca... by winstonewert on Saturday June 24, 2023 @12:16AM (#36455513)
I used to do this sort of thing in Python. But then I realized that if I wrote my code in something like C++, I had fast code without running through all these hoops. Then I learned Rust which has many of advantages of Python in terms of higher-level niceties. Today, its just way easier to write some Rust code for a simulation then go through all the hoops to make Python code fast enough.
Re:Make your programs run faster by better using the data ca... by Ygg2 on Saturday June 24, 2023 @03:01AM (#36456295)
As the adage goes, to write fast Python first learn to code in C (or Rust if you prefer that).