Hacker News new | ask | show | jobs
by tapete 545 days ago
I always avoided powershell, because it used to have a loading time that is longer than a second even on a modern system. But after your post I thought I give it a try.

The first thing you encounter is a .tar.gz file that does not extract into its own subdirectory. Instead it pollutes the current directory with 273 different files, which is just plain incompetent.

Then, the pwsh executable is not marked as executable, so you have to manually chmod +x on it which is just stupid.

Finally, pwsh has a loading time of 273ms for its 70 MB "bundle", which is okay I guess, but imagine running your scripts with that overhead. fish has 32ms on my system, and plain old bash 4ms.

1 comments

Yes, start up time can be up to second or more. I usually start a terminal on boot an keep it around.

I can’t save I’ve manually installed PowerShell ever so I cannot comment about that.

The time savings is when I need to write a script. ?{} is so much more powerful than grep since it takes code as the predicate instead of just a regular expression.

The never having to use “cut” to extract information is priceless. Just being able to use fields.