![]() It's a language that seems to come naturally to me even though I've never been great at Perl / Python. I love PowerShell for what it does, it's very efficient for me. Then there is speed, while powershell core is way faster than it’s predecessor, it can’t hold a candle to python.ĭon’t get me wrong powershell is my favorite shell and my preferred scripting language for ci/cd glue, yes powershell is better in every way than bash and zsh, but when writing anything more This is both frustrating and confounding, since powershell runs on dotnet, and can even dive into dotnet apis, why didn’t they give it async/await!!!! Yes python has the whole GIL stuff you have to work around, but it’s still better. There is some stuff you can do when creating a run space to share vars with the main thread, but the amount of boilerplate code needed to set it up, and the lack of thread safety precludes it from being useful. Yes, there are psjobs and runspaces but they have a massive amount of overhead in terms of both memory and execution time, not to mention the lack of any shared scope, functions/vars defined in the main thread are not accessible in psjobs. ![]() I have personally written everything from web services to desktop gui apps with powershell, but hardest part is when you start getting into concurrency. Speaking from experience, yes you can write just about any app in powershell, but you shouldn’t.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |