https://lwn.net/Articles/777595/
LWN (Linux Weekly News) provides a written account of Benno Rice's talk. The former FreeBSD core developer gives some context around systemd and what FreeBSD should learn from it. He compares the affair to a Greek tragedy which contains much suffering followed by catharsis. His attitude toward systemd is generally not negative, but I won't cherry-pick any specific sections; you'll have to actually read the article for once.
(Score: 1, Insightful) by Anonymous Coward on Friday February 08 2019, @05:47PM (1 child)
Sure, but that way madness lies.
For instance, with -exec you're spawning a new process for every file found. That's woefully inefficient when many files are found. Were you to `find wherever | xargs grep search_string` you'd only invoke one grep process for every hundred or so files found (don't recall the default but it's configurable via xargs).
Then were you to pass -F to grep to disable the regex you'd squeeze slightly more performance out of the process. Or, conversely, waste slightly less electricity running it.
And all the machine time and electricity I've saved by dogmatically passing -F to my greps and using xargs where appropriate has probably been overshadowed by the time it took me to learn about those optimizations, type them out repeatedly (sometimes when unnecessary), and make posts like these were I to have just turned my computer off that much sooner instead.
(Score: 2) by MichaelDavidCrawford on Friday February 08 2019, @08:52PM
Were _all_ the distro- or package-supplied scripts to use stuff like xargs.
My whole point with _refactoring_ widely-used code is that huge energy savings would result from having that refactored code come from the original upstream sources, or at least from each of the distros.
Yes I Have No Bananas. [gofundme.com]