Post AdICakdZe7M5WIqWRs by mjgardner@social.sdf.org
 (DIR) More posts by mjgardner@social.sdf.org
 (DIR) Post #AdHsOGpedYN2WTGgCW by charadon@mb.iotib.net
       2023-12-29T02:12:06Z
       
       0 likes, 0 repeats
       
       @johnny@gamethattune.club The 2 biggest things I like about it. Is:It's a stable language that doesn't decide to add and remove features every few months and thus breaks scripts with almost every upgrade. coughPythoncoughIt's faster than Bash by a long shot. As a matter of fact, the reason I worked on Perl so much today was because I was replacing a bash script with a perl script. It brought the execution time down from 10 seconds to less than 2 seconds. Which makes compiling and installing my program a lot faster. (If you're curious, it had to do with finding and bundling libraries, while also checking if the library was on a blacklist to not be included.)
       
 (DIR) Post #AdICakdZe7M5WIqWRs by mjgardner@social.sdf.org
       2023-12-29T05:59:47Z
       
       0 likes, 0 repeats
       
       @charadon @johnny Remember every non-builtin #bash script “command” is its own program and has to fork a new process. When you run a #Perl program, it forks the perl executable but then the whole language is there (unless you use it like some #SysAdmins with backticks or system() all over the place.
       
 (DIR) Post #AdJ8KMgtEokQ5kWXeC by charadon@mb.iotib.net
       2023-12-29T16:45:57Z
       
       0 likes, 0 repeats
       
       @mjgardner@social.sdf.org @johnny@gamethattune.club And on Windows, the constant forking is even worse for performance lolIn the time i've been using #Perl, I tend to only use backticks for one off shell one-liners, or to use a system tool like ldd.