News for hackers. Stuff that matters.
Re:Rust for the small things? but what about Python? by pizza234 on Monday September 09, 2024 @11:38AM (#41489611)
> If I share somebody a python script, they can still execute it as a program as long as a shebang is set.

I'm not familiar with Python, but I presume its similar to Ruby, where besides trivial scripts, this is false - as soon as there are libraries required, you need to find a way to handle them, which in some cases may include handling multiple envs (I write and distributes such scripts).

Compiling for multiple environments in a controlled environment is by far much more convenient than debugging scripts failing on end users' systems.

Re:Rust for the small things? but what about Python? by pid-1 on Monday September 09, 2024 @11:57AM (#41489838)
IMO it's far worse than Ruby. Since Python is meant to be a glue language, scripts can have every type of esoteric dependency, including binaries, os libs, java programs, etc...
Re:Rust for the small things? but what about Python? by Levitating on Tuesday September 10, 2024 @05:11AM (#41498805)
Ruby isn't any different