Re:Jeffrey Snower was originally demoted over PowerShell
by oaiey on Sunday May 08, 2022 @07:00AM
(#31302977)
On the topic of Powershell on Linux I think the story there could be different, however Powershell violates the core philosophy of Linux so hard (mit vs. GPL, pipe-and-filter vs loaded DLLs, ...) that Powershell will never be something integral and natural fitting there.
[ Parent
| on HN ]
Re:Jeffrey Snower was originally demoted over PowerShell
by sidpatil on Sunday May 08, 2022 @10:27AM
(#31304328)
> mit vs. GPL
By this measure, we shouldn't be using X or Wayland because they're MIT.
> pipe-and-filter vs loaded DLLs
At first I didn't understand what you were referring to, but I realized you were talking about cmdlets. In that regard, PowerShell is more like a scripting language than it is like a traditional Unix shell.
The more "Unix-like" approach would be to write thin command-line wrappers around the libraries you want to use. If I'm not mistaken, this is how projects like LAME and FFmpeg are implemented.
Re:Jeffrey Snower was originally demoted over PowerShell
by oaiey on Sunday May 08, 2022 @02:54PM
(#31306975)
Regards the licencing: you are right. I was a vit blinded by the core gnu tools.
Tiny wrappers do not work since .NET, while being very Performanz will never be C like tiny.
Re:Jeffrey Snower was originally demoted over PowerShell
by sidpatil on Sunday May 08, 2022 @03:45PM
(#31307499)
> Tiny wrappers do not work since .NET, while being very Performanz will never be C like tiny.
I meant tiny wrappers around non-.NET libraries, to approximate the functionality you get in PowerShell in a traditional UNIX shell.