Sign in
David Notario's WebLog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
No tags have been created or used yet.
Archive
Archives
January 2006
(2)
August 2005
(2)
July 2005
(1)
June 2005
(1)
April 2005
(1)
February 2005
(2)
November 2004
(1)
October 2004
(3)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
David Notario's WebLog
Gotchas with Reverse Pinvoke (unmanaged to managed code callbacks)
Posted
over 7 years ago
by
davidnotario
6
Comments
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...
David Notario's WebLog
New job!
Posted
over 7 years ago
by
davidnotario
2
Comments
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...
David Notario's WebLog
Does the JIT take advantage of my CPU?
Posted
over 8 years ago
by
davidnotario
14
Comments
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...
David Notario's WebLog
CLR and floating point: Some answers to common questions
Posted
over 8 years ago
by
davidnotario
7
Comments
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...
David Notario's WebLog
Lazy init singleton
Posted
over 8 years ago
by
davidnotario
7
Comments
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...
David Notario's WebLog
Interested in working in the CLR?
Posted
over 8 years ago
by
davidnotario
3
Comments
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...
David Notario's WebLog
What is mscorsvw.exe and why is it eating up my CPU? What is this new CLR Optimization Service?
Posted
over 8 years ago
by
davidnotario
35
Comments
Short version: mscorsvw.exe is precompiling .NET assemblies in the background. Once it's done, it will go away. Typically, after you install the .NET Redist, it will be done with the high priority assemblies in 5 to 10 minutes and then will wait until...
David Notario's WebLog
JIT compiler and type constructors (.cctors)
Posted
over 8 years ago
by
davidnotario
9
Comments
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...
David Notario's WebLog
The world is a better place if you generate verifiable IL
Posted
over 8 years ago
by
davidnotario
14
Comments
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...
David Notario's WebLog
Jit Optimizations: Inlining (II)
Posted
over 9 years ago
by
davidnotario
25
Comments
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...
David Notario's WebLog
Jit Optimizations: Inlining (I)
Posted
over 9 years ago
by
davidnotario
9
Comments
Inlining is an optimization that can happen when you have calls. The optimization consists in substituting the call for the code of the callee. What do you gain from doing this? - Speed: Reduce the overhead of the call. To get to the actual instructions...
David Notario's WebLog
The CLR x86 JIT, an overview
Posted
over 9 years ago
by
davidnotario
16
Comments
I'll be doing a series of articles on how the x86 CLR JIT compiler works and the different optimizations it does for you. Whenever a method is about to be executed for the first time, the VM realizes it doesn't have native code for it, and invokes the...
David Notario's WebLog
Introduction
Posted
over 9 years ago
by
davidnotario
3
Comments
Hi, my name's David Notario. I'm a developer in the x86 JIT compiler team in the CLR, although we've been doing a lot of other stuff there lately. A bit about myself: I was born and raised in the sunny Canary Islands, in Spain, went to university in Madrid...
Page 1 of 1 (13 items)