News for hackers. Stuff that matters.
Re:Async Rust Is A Bad Language by Turskarama on Friday September 08, 2023 @10:30PM (#37441634)
It doesn't really matter, there doesn't exist a problem space where both Rust and Python are reasonable choices.

Case in point, I once wrote a program to take a 360 degree image and rotate it so that the horizon followed the horizontal line along the middle, and it faced north. I wrote it in python first and running it on a 2k image took on the order of 5 minutes. I rewrote it in rust and it took on the order of 200ms.

Could I iterate in Python faster? Yes, but the end result was useless.

Re:Async Rust Is A Bad Language by throw10920 on Friday September 08, 2023 @10:35PM (#37441667)
> there doesn't exist a problem space where both Rust and Python are reasonable choices

This thread, and many other threads about Rust, are filled with people arguing the exact opposite - that Rust is a good, productive language for high-level application development. I agree with you, there's relatively little overlap - that's what I'm arguing for!

Re:Async Rust Is A Bad Language by kprotty on Saturday September 09, 2023 @12:32PM (#37447197)
Both qualify for writing tiny web servers, cli/byte-manipulation scripts, server automation jobs, in-house GUI applications, and other small stuff. Could technically argue that these are a "relatively little overlap" depending on what you do though..