News for hackers. Stuff that matters.
Re:Batsh – A language that compiles to Bash and Windows Batch by ygra on Tuesday September 02, 2014 @03:24AM (#8256178)
Care to give examples? I know that the language isn't fast, but afaik nearly all shells are interpreted. There have been performance problems with break/continue in earlier versions as they were implemented using exceptions internally. But that doesn't really qualify as "basic commands", I guess. Cmdlets should be not much slower than running the equivalent C# code yourself.
Re:Batsh – A language that compiles to Bash and Windows Batch by Maakuth on Tuesday September 02, 2014 @01:18PM (#8258840)
Hmm, I can't seem to reproduce many such issues with this machine, except Get-Help the first time I tried it. I think it could be that the cmdlets are only slow on the first run (enough to leave me with a bad experience), or the SSD on my PC masks the problem. It's good to know that it's not always super slow.
Re:Batsh – A language that compiles to Bash and Windows Batch by mtdewcmu on Tuesday September 02, 2014 @07:56PM (#8260831)
If it's slow on the first run, then it might be loading a large interpreter from disk. If so, MS might have let the interpreter get a bit ungainly -- you might argue.