SlideShare ist ein Scribd-Unternehmen logo
1 von 2
Downloaden Sie, um offline zu lesen
What	environment	do	Microsoft	
developers	use,	I	wonder?	Linux?
Author: Andrey Karpov
Date: 27.11.2012
I'm joking about Linux, of course. Nevertheless, this question really interests me. I understand that systems
they work on in Microsoft are large and complex. I know very well that bugs may be detected by users only
some time later after release. But I don't understand how can one simply not notice obvious bugs in the
tools the developers themselves are meant to use regularly?
A few words about classic mistakes to start with. Everything's clear about them: developers may well miss
them because they are not the end users. A good example of this is an error in one of the Microsoft Visio
versions. It was the 2010 version, I suppose. When you started typing text in Russian into a Basic Flowchart
block, it was being typed back to front. I can understand it. Someone has mixed up things and decided that
words are written from right to left in the Russian language. Russian and Arabic are absolutely the same, or
very similar at least. There were no Russians among testers, and the error got into the release version. I can
understand this case.
But what happens in the Visual Studio environment cannot be explained by any rational reason. Don't they
use this environment at all? I suspect that they use complex build-systems to build their projects. But
doesn't anybody in the whole Microsoft corporation use the Visual Studio environment itself in their work?
If anybody does, why cannot they see obvious defects?
The search function in the Visual Studio 2010 environment has become a notorious story [1, 2, 3, ...]. Those
of you who used to work in Visual Studio 2010 at once understand what I mean. Hasn't anyone of the Visual
Studio developers ever pressed Ctrl+F in this environment?
With the release of Windows 8, programmers have got another bugdrome. I don't know in what programs it
will reveal itself. But I can tell you how it impacts PVS-Studio. In our area, it reveals itself at the connection
between Windows Defender and the Visual C++ compiler. My colleague has written a technical note about
that. But I want to explain its point in a simpler and more emotional way.
So, once upon a time there lived the Windows Defender system in Windows. In Windows 8, this system has
become a kind of a free antivirus. Everything's OK. But PVS-Studio now works several times slower.
How are these related? This relation is subtle and vague. The PVS-Studio analyzer launches the Visual C++
compiler (cl.exe) for the preprocessing purpose. Well, now preprocessing is executed only on one core if
Windows Defender is active. Miracles and magic!
The reader might say: "You must be creating processes incorrectly. Check Affinity Mask.". No, it's alright
with that. The problem is with the association between Windows Defender and Visual C++.
At the same time, there is some mechanism made of plasticine and paper inside Windows Defender. It
makes Visual Studio pretend to work correctly. All the processor cores are being used in parallel
compilation. But once you specify the switches /P and /c in the settings, everything goes wrong. You press
F7 in Visual Studio, and all the CL.EXE processes are run on one core. It's a funny thing watching all the
processes huddle together on one core in an 8-core processor, eating off their small 12% of CPU load. All
the rest 7 cores are drinking tea meanwhile.
Once you turn Windows Defender off, everything starts working well. I'm sure other apps will soon suffer
from Windows Defender too.
Let's go back to PVS-Studio. It needs to launch CL.EXE for that very purpose of file preprocessing. As a result,
this all is done on one core. A sad thing. At the same time, even forced specification of Affinity Mask can't
help it in any way: Windows Defender holds the system tight in its claws.
And again I want to ask that question! Why, do the Microsoft programmers turn Windows Defender off
when working? Hasn't anybody ever noticed anything strange? Or doesn't anybody use Visual Studio at
all?
On the one hand, it all would seem trifles and programmers' usual stern routine. We have seen much
strange in complex systems before. But I'm still upset with this situation. We don't know how to fix that
slowdown without turning Windows Defender off. The Internet is keeping silent so far.
The main reason for it all must be the fact that developers use a different environment than the one they
offer to users. One more question. If guys in Microsoft really turn Windows Defender off, do we need this
useful system ourselves?
This is my appeal to developers. Not only those from Microsoft, but all the developers. Use the applications
you develop! Otherwise users feel very well that you don't trust your own system. This distrust crawls out of
every crack. And it forms a negative attitude to your product.

Weitere Àhnliche Inhalte

KĂŒrzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

KĂŒrzlich hochgeladen (20)

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Empfohlen

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
 

Empfohlen (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

What environment do Microsoft developers use, I wonder? Linux?

  • 1. What environment do Microsoft developers use, I wonder? Linux? Author: Andrey Karpov Date: 27.11.2012 I'm joking about Linux, of course. Nevertheless, this question really interests me. I understand that systems they work on in Microsoft are large and complex. I know very well that bugs may be detected by users only some time later after release. But I don't understand how can one simply not notice obvious bugs in the tools the developers themselves are meant to use regularly? A few words about classic mistakes to start with. Everything's clear about them: developers may well miss them because they are not the end users. A good example of this is an error in one of the Microsoft Visio versions. It was the 2010 version, I suppose. When you started typing text in Russian into a Basic Flowchart block, it was being typed back to front. I can understand it. Someone has mixed up things and decided that words are written from right to left in the Russian language. Russian and Arabic are absolutely the same, or very similar at least. There were no Russians among testers, and the error got into the release version. I can understand this case. But what happens in the Visual Studio environment cannot be explained by any rational reason. Don't they use this environment at all? I suspect that they use complex build-systems to build their projects. But doesn't anybody in the whole Microsoft corporation use the Visual Studio environment itself in their work? If anybody does, why cannot they see obvious defects? The search function in the Visual Studio 2010 environment has become a notorious story [1, 2, 3, ...]. Those of you who used to work in Visual Studio 2010 at once understand what I mean. Hasn't anyone of the Visual Studio developers ever pressed Ctrl+F in this environment? With the release of Windows 8, programmers have got another bugdrome. I don't know in what programs it will reveal itself. But I can tell you how it impacts PVS-Studio. In our area, it reveals itself at the connection between Windows Defender and the Visual C++ compiler. My colleague has written a technical note about that. But I want to explain its point in a simpler and more emotional way. So, once upon a time there lived the Windows Defender system in Windows. In Windows 8, this system has become a kind of a free antivirus. Everything's OK. But PVS-Studio now works several times slower. How are these related? This relation is subtle and vague. The PVS-Studio analyzer launches the Visual C++ compiler (cl.exe) for the preprocessing purpose. Well, now preprocessing is executed only on one core if Windows Defender is active. Miracles and magic! The reader might say: "You must be creating processes incorrectly. Check Affinity Mask.". No, it's alright with that. The problem is with the association between Windows Defender and Visual C++.
  • 2. At the same time, there is some mechanism made of plasticine and paper inside Windows Defender. It makes Visual Studio pretend to work correctly. All the processor cores are being used in parallel compilation. But once you specify the switches /P and /c in the settings, everything goes wrong. You press F7 in Visual Studio, and all the CL.EXE processes are run on one core. It's a funny thing watching all the processes huddle together on one core in an 8-core processor, eating off their small 12% of CPU load. All the rest 7 cores are drinking tea meanwhile. Once you turn Windows Defender off, everything starts working well. I'm sure other apps will soon suffer from Windows Defender too. Let's go back to PVS-Studio. It needs to launch CL.EXE for that very purpose of file preprocessing. As a result, this all is done on one core. A sad thing. At the same time, even forced specification of Affinity Mask can't help it in any way: Windows Defender holds the system tight in its claws. And again I want to ask that question! Why, do the Microsoft programmers turn Windows Defender off when working? Hasn't anybody ever noticed anything strange? Or doesn't anybody use Visual Studio at all? On the one hand, it all would seem trifles and programmers' usual stern routine. We have seen much strange in complex systems before. But I'm still upset with this situation. We don't know how to fix that slowdown without turning Windows Defender off. The Internet is keeping silent so far. The main reason for it all must be the fact that developers use a different environment than the one they offer to users. One more question. If guys in Microsoft really turn Windows Defender off, do we need this useful system ourselves? This is my appeal to developers. Not only those from Microsoft, but all the developers. Use the applications you develop! Otherwise users feel very well that you don't trust your own system. This distrust crawls out of every crack. And it forms a negative attitude to your product.