Re:Microsoft's Quiet Success Story: Windows 7
by iamelgringo on Wednesday April 07, 2010 @04:32AM
(#1246780)
They are actually starting to build powershell into a lot more of their core apps. You can really do a lot of cool things with powershell. It's just an ugly looking language, IMO, so I tend to use iPython as my scripting language. It's really nice to be able to drop in to PowerShell if you need it, though.
I run Win 7 at home, on all my boxes, and I'm running Win3K on EC2 as a server. I can remote in from my phone, as well as my netbook without any problems. My deployment is automated and scripted. I'm going to switch to Server 2008 soon, so I can get a remote shell if I need it.
It also has shitty performance. 32-bit emacs on my windows machine at work can't open a 300 MB text file for analysis. Turns out that 32-bit emacs uses a 28-bit pointer (256 MB file size limit, 64-bit emacs handles up to 1 million TB). So, I tried splitting the file. Here's my result:
On my home machine using linux / bash / cat | head+tail: about 4 seconds
On my (slower) work machine using cygwin: about 10 seconds
Using powershell: writes about 100-200k / sec (so about 25-30 minute if it ran to completion), but it chokes around 64MB. I know, you can write a bunch of .net code in powersheel and get non-terrible performance. That's not the point; idiomatic code should not be unusable.
Re:Microsoft's Quiet Success Story: Windows 7
by psranga on Wednesday April 07, 2010 @12:27PM
(#1247688)
Yep, agreed. My major complaint with Cygwin is the lack of a decent package manager. 'sudo apt-get install' on ubuntu is addictive.
Re:Microsoft's Quiet Success Story: Windows 7
by sliverstorm on Wednesday April 07, 2010 @02:16PM
(#1247980)
Same here. Plus awkward integration with the actual filesystem (/ should be C:), and I've always hated cmd.exe as compared to virtually any linux xterm
You can install Cygwin into C:\ actually, which makes / == C:\. I find that does make it feel much better integrated with Windows. And there are several alternatives to the default console: mintty and rxvt if you don't want to run an X server, and xterm and rxvt-unicode if you do.
Re:Microsoft's Quiet Success Story: Windows 7
by sliverstorm on Thursday April 08, 2010 @04:01AM
(#1249408)
Thank you! That's fantastic advice. Still not perfect, but much better!
I like the shell for anything nitty-gritty, and cygwin doesn't quite cut it. I figure if they would build a Windows UI on a *nix core- essentially the same feat as OS9 -> OSX- so long as it was at least decent, I'd probably willingly pay full retail and never stray, at least for desktops/laptops.