News for hackers. Stuff that matters.
Re:Python Tools for Visual Studio by loudmax on Tuesday July 02, 2013 @12:20PM (#5978867)
MSFT porting VS to Mac and Linux would give developers even more options.
Re:Python Tools for Visual Studio by devcpp on Tuesday July 02, 2013 @12:50PM (#5979113)
...which would be detrimental to Microsoft. Limiting our options to theirs is precisely their goal by giving us a great IDE that only works on Windows.

They're never gonna go it. They stand to win nothing from that.

Re:Python Tools for Visual Studio by sosuke on Tuesday July 02, 2013 @01:41PM (#5979467)
I dunno, I might just be cost prohibitive to port, and likely wouldn't run as well.
Re:Python Tools for Visual Studio by redblacktree on Tuesday July 02, 2013 @02:42PM (#5979896)
Even on a modern, high-powered laptop, Visual Studio still runs slowly for me. Some actions inexplicably cause the UI to hang for a few seconds. I really appreciate how OSX seems to prioritize UI responsiveness, which doesn't seem to be the case in Windows.
Re:Python Tools for Visual Studio by ryanmolden on Tuesday July 02, 2013 @03:11PM (#5980077)
Do you have specific examples? This is an area of interest for me. VS architecturally has a lot of things tied to the UI thread due to COM STA requirements (well, that and the fact that historically people created their STA objects on the UI thread, thus tying them to the UI thread).

Another possible cause can be extensions. Not that VS doesn't have its own problems of 'doing too much work on the UI thread', but there are TONS of callback points that third parties can hook into, and lots of times people do very ill-advised things on the UI thread, leading to poor responsiveness.

We monitor it actively (via PerfWatson[0], you should install it if you want your perf problems brought to the attention of Microsoft, it should have low overhead at runtime, only kicking in when the UI thread is already unresponsive), but of course with a product as large and complex as VS, and with said product being extensible, inevitably customers run into stuff we never see internally, so we rely on getting repros/data from them to understand what is going wrong.

[0] http://visualstudiogallery.msdn.microsoft.com/fa85b17d-3df2-...

Re:Python Tools for Visual Studio by redblacktree on Tuesday July 02, 2013 @03:41PM (#5980241)
I don't have a specific example at the moment, except that it's often unresponsive during builds. (I guess this should be expected? Other work I do is in interpreted languages, so there is no "build" step)

Thanks for the link. I'm happy to add it.

Re:Python Tools for Visual Studio by ryanmolden on Tuesday July 02, 2013 @05:01PM (#5980715)
Well, I wouldn't say it should be expected during builds. In the past the build architecture was somewhat questionable, i.e. they ran builds synchronously on the UI thread, which works fine if your build takes like 50 ms :) I don't work on the project build team but I believe most languages now build off the UI thread, and any that have long sequences of activities they are doing on the UI thread should still be pumping to prevent UI lockup. That said, running your own pump in an app as complex as VS is...not something to be undertaken lightly, so it is possible their pumps are not correct or their 'in between pump' tasks are taking far longer than they thought/expected. If you can repro it even without repro steps I can give you some instructions on getting a perf trace I could take a look at, they generally point to the culprit pretty clearly.
Re:Python Tools for Visual Studio by int_19h on Tuesday July 02, 2013 @05:22PM (#5980824)
Which version of VS, and what language? If you're using VS 2010 or earlier, then both C# and VB were running the build (MSBuild and compilers both) on UI thread, so responsiveness was as bad as you'd expect it to be with such architecture. From VS 2012 onwards, VB builds on a background thread, and C# builds out-of-process (which also makes it scale on multi-core systems).
Re:Python Tools for Visual Studio by voltagex_ on Tuesday July 02, 2013 @07:36PM (#5981427)
I definitely notice the performance improvements in VS2012. I wonder how many people reporting performance issues are also running ReSharper. JetBrains do great work, but ReSharper (<=v7) is very resource-heavy.
Re:Python Tools for Visual Studio by sultezdukes on Tuesday July 02, 2013 @11:15PM (#5982247)
Resharper can definitely bog things down, especially in big Razor pages.

But as you and the parent pointed out, I've also seen huge improvements in build times with VS2012.

And with VS2013 we finally get edit-n-continue on x64.

Re:Python Tools for Visual Studio by numo16 on Tuesday July 02, 2013 @03:06PM (#5980050)
I find that a little odd, as my mid-2008 macbook seems to run VS2012 pretty smoothly even through parallels. I have to wonder what else you might be running simultaneously.
Re:Python Tools for Visual Studio by jf22 on Tuesday July 02, 2013 @02:59PM (#5979997)
Yeah, just like Office for Mac, they'd never do that.

/sarcasm

Re:Python Tools for Visual Studio by ufmace on Tuesday July 02, 2013 @05:44PM (#5980944)
Making Office on the Mac earns them money through direct sales and helps maintain the monopoly of Office and its file formats at the cost of slightly less incentive to choose Windows over Mac.

Making VS on Mac would earn them no money directly and would only encourage the creation of more Mac apps. At best, it might increase the takeup of .NET/Mono on Mac, which might mean more .NET apps, but no money since .NET runtime is free. I'm not seeing the incentive.