Subscribe: David Notario's WebLog
http://blogs.msdn.com/davidnotario/Rss.aspx
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
aspx jobid  clr  code  compiler  cpu  jit compiler  jit  managed code  microsoft  mscorsvw exe  msdn microsoft  point  singleton  time 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: David Notario's WebLog

David Notario's WebLog





Last Build Date: Fri, 13 Jan 2006 04:36:00 +0000

 



Gotchas with Reverse Pinvoke (unmanaged to managed code callbacks)

Fri, 13 Jan 2006 04:36:00 +0000

One of the first things I had to do when I started working in Outlook Web Access (will call it OWA from now on) was integrating an unmanaged component that another group at Microsoft wrote. After spending some time with it, I decided the best way to bring it in would be writing a very...



New job!

Fri, 13 Jan 2006 02:42:00 +0000

Another long time without posting anything. This time due to changing groups!!! Once we had wrapped Whidbey up, I spent some time thinking about what I would like to do next. One of the good things about Microsoft is that it is a huge company, you can work in a ton of software areas here, from...



Does the JIT take advantage of my CPU?

Mon, 15 Aug 2005 14:36:00 +0000

  Short answer is yes. One of the advantages of generating native code at runtime is that we know what processor you are running on and we can tune the code accordingly. Why would we do that for x86? Every generation of x86 processors has its own personality. Their personality comes usually in 2 ways:...



CLR and floating point: Some answers to common questions

Mon, 08 Aug 2005 14:50:00 +0000

Some very common questions I get from customers regarding floating point are:   -          I get different results when compiling with optimizations vs without optimizations! -          My == checks are failing when the expressions are the same!   The answer for this question is most of the time ‘This is by design’, but it does...



Lazy init singleton

Tue, 19 Jul 2005 22:05:00 +0000

I’ve seen some confusion in some MS internal mailing lists about when singletons are instantiated for the pattern described in:   http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/singletondespatt.asp     // .NET Singleton sealed class Singleton {     private Singleton() {}     public static readonly Singleton Instance = new Singleton(); }   The confusion comes from trying to understand when the...



Interested in working in the CLR?

Wed, 15 Jun 2005 11:15:00 +0000

Would you like to join the CLR's development team?  We have 2 job openings for the Rotor project, the shared source CLR that brings managed code to BSD, Mac and Windows. You can find more about Rotor here: http://msdn.microsoft.com/msdnmag/issues/02/07/SharedSourceCLI/ For additional information on the positions or submitting your resume, check out the following URLs http://members.microsoft.com/careers/search/details.aspx?JobID=be2065d1-0943-4ebf-9560-ada9673a6cd6 http://members.microsoft.com/careers/search/details.aspx?JobID=b02cafac-c95a-46e1-b110-e3faef0c1db2...



What is mscorsvw.exe and why is it eating up my CPU? What is this new CLR Optimization Service?

Wed, 27 Apr 2005 23:36:00 +0000

[Update – 8/2013]  Please refer to our more recent post: Wondering why mscorsvw.exe has high CPU usage? You can speed it up. The content below is now out-of-date, applying to early versions of the .NET Framework running on Windows XP.    Short version: mscorsvw.exe is precompiling .NET assemblies in the background. Once it's done, it will...



JIT compiler and type constructors (.cctors)

Tue, 08 Feb 2005 22:37:00 +0000

I get this question a lot ‘When do class constructors (.cctor) get run’ My answer is usually: ‘It depends’ From Partition 1 of the ECMA spec (http://msdn.microsoft.com/netframework/programming/clr/default.aspx) The semantics of when, and what triggers execution of such type initialization methods, is as follows: 1.             A type may have a type-initializer method, or not. 2.              A...



The world is a better place if you generate verifiable IL

Fri, 04 Feb 2005 22:34:00 +0000

If you are writing a compiler that targets IL or just emitting IL, you may find this an interesting read:   The JIT compiler will always try to generate code, even if the IL is bad. From the JIT’s point of view, IL code falls in 3 categories:   1)       Verifiable IL. Most of the...



Jit Optimizations: Inlining (II)

Mon, 01 Nov 2004 02:31:00 +0000

In a JIT compiler, inlining can become an expensive optimization (compile time wise): it can involve loading other classes or assemblies, doing security checks, etc... What's worse, even after doing all this expensive work, you may find out that the candidate for inlining wasn't really worth it, so you just have to throw away work...