News for hackers. Stuff that matters.
Re:PowerShell 7.0 by JeffreySnover on Wednesday March 04, 2020 @10:57PM (#22490825)
Process creation on Windows has always been significantly slower than Unix. That is why PowerShell is skewed towards "built-ins" vs launched applications. The ramification of that is slower startup times.

Interesting note - it is also the reason why PowerShell was able to adopt the more natural Verb-Noun model for cmd naming. In Unix, this would produce a huge # of files OR and you couldn't do "VERB NOUN" because then you would have to multiplex on the VERB. Unix's "NOUN VERB" is the result.

BTW - VMS DCL stepped on all these rakes which is why it is have VERB/NOUN and half NOUN/VERB. A complete mess.

Jeffrey Snover [MSFT]

Re:PowerShell 7.0 by animalnewbie on Thursday March 05, 2020 @03:49AM (#22491989)
Would you consider a powershell server process to speed up startup?
Re:PowerShell 7.0 by SteveL-MSFT on Thursday March 05, 2020 @06:26PM (#22499509)
This is an idea we've discussed, but not something we're investing in right now. It could also solve the sudo/elevation problem for cmdlets. However a privileged service would also bring more security concerns.
Re:PowerShell 7.0 by animalnewbie on Friday March 06, 2020 @03:49AM (#22502001)
Hey Steve you're doing a great job with PS! Thank you for all the hard work you and your guys are doing. You are also exceptionally responsive on GitHub.