GrantRi's WebLog [MS]

Ramblings of a compiler geek

Browse by Tags

Tagged Content List
  • Blog Post: Remodel Marches On

    Well, my house is half torn apart and the new parts are about half-built. There's not much to talk about here at work, as we're busy finishing off the last few bugs and getting everything up to snuff. The question in my mind is which will finish first, my house or Whidbey... --Grant
  • Blog Post: I've run out of ideas again

    In case you haven't noticed, I've run out of ideas to write about. I'm sure there's still a few things I know that I haven't explained, btu I can't remember them... If you've been dying to know something about the C# compiler, ALink, CLR file formats, 64-bit JITs, please ask,a nd I'll see what I can...
  • Blog Post: Good post on running/writing/compiling managed binaries as 32-bit or 64-bit

    How the OS Loader will force .Net v1.0/1.1 executables to run under WOW64 on a 64-Bit Machine (http://blogs.msdn.com/joshwil/archive/2004/10/15/243019.aspx) In General I think all of Josh's recent posts are worth a read. --Grant
  • Blog Post: Some Clarifications

    In my previous post The problem with being second , it seems like there was a lot of confusion. I'm going to attempt to clarify some of that. The heart of that post was meant to point out that people/developers don't always how close or far they are from a spec, until somebody else tries to implement...
  • Blog Post: 64bit versus 32bit

    Please don't start a flame war over this. It is meant as more of a Dilbert-style post with just the slightest bit of real technical content. 64-bit machines are twice as fast as 32-bit machines because they have more bits. Believe it or not there are still some people inside and outside Microsoft that...
  • Blog Post: The problem with being second

    First, hats off to the Mono team . I think they've done a great job at writing some great software, but also at proving that evil MS really does know how to produce a truly common language runtime that can be properly standardized and ported to other platforms and languages. Now for the meat of my blog...
  • Blog Post: Shameless Plug

    Personally I think the MS marketing team really did rop the ball. They we're so busy promoting .NET that when VC 7.0 (aka 2002) and VC 7.1 (2003) shipped they forgot to mention all the tons of cool purely-native improvements in the product. Well now in Whidbey (8.0 Beta 1 is availible for download )...
  • Blog Post: Trade-offs

    It seems like a lot of the time we (as software developers) are forced to make trade-offs. Choosing between 2 algorithms that solve the same problem, but with different characteristics. Sometimes it's an easy choice: option #1 is O(1) and option #2 is O(n^3). Sometimes we're forced to compare apples...
  • Blog Post: Why doesn't the C# compiler accept /resource:*.resources?

    Well, here I am finally getting back to this. In my previous post on resources, I glossed over one issue. Not all managed resources are exactly what they seem. Specifically at the metadata/compiler level, there is a table that simply points to the resource and gives it a name. This is very similar...
  • Blog Post: Alignment

    I've seen this come up in conversations a few times so I thought others might be interested in it too. First off, I think since the large majority of us use x86-based processors we forget that one day in our CS or EE class where they talked about alignment. So technically this should just be a refresher...
  • Blog Post: Command-line Trivia

    So many people have wondered why the C# compiler isn't smarter about some of it's command-line arguments. Here's a summary of the type of questions I hope to answer in this post: Why doesn't the C# compiler accept /reference:*.dll? Why doesn't the C# compiler accept /addmodule:*.*? Why doesn...
  • Blog Post: Multi-file Assemblies: What and How

    I intentionally left out the 'why' because only you as developer on your own product can decide why a given programming feature should or shouldn't be used. First the easy part: What Multi-file assemblies are simply assemblies that consist of more than one file. That begs the question of what is...
  • Blog Post: Exception Handling (Part 2 of 2)

    Sorry it took so long to get to part 2. First up is the unwind info (I think it's the .XDATA, but don't quote me). Basically there is a set of opcode sequences that are allowed in the prologue and epilogue, and there is some info in the describes what is happening in the prologue. The OS can read...
  • Blog Post: Exception Handling (Part 1 of 2)

    Anybody that done any programming on .NET has probably used some EH at least once or twice. It all seems pretty natural and straight forward. Well, I'm glad we can fool so many of you into thinking it's easy. What follows is a gross-over-simplification of EH, but still useful if you know nothing about...
  • Blog Post: Am I really this popular?

    I've noticed a lot of my links come from searches (primarily google). Is that because I'm actually answering a lot of releavant information that people want to know? Is it possibly because I happen to use all the magic keywords so that google pushes me to the top of its list? --Grant
  • Blog Post: NIH Syndrome

    NIH = Not Invented Here So here at Microsoft we have a lot of really smart people. Unfortunately that seems to lead to a lot of NIH syndrome. That really wouldn't be so bad if we had a broad enough definition of 'here'. For me as an individual developer on my spare time, I'll reuse just about any...
  • Blog Post: TGIF

    Well, I've been working on my new team for 4 weeks now. I've learned a lot about their process. I'm getting better at running tests and figuring out failures. I'm getting more familiar with the source base. I've learned little bits about optimizations (mostly the language used to describe them, and the...
  • Blog Post: 2 for 2 (Checkins, Tests, and Bugs)

    So despite the misreably long time it takes to run checkin tests, I've still managed get 2 checkins through. The downside is that both of those checkins resulted in bugs. On the plus side one of those bugs technically wasn't caused by me, but was merely exposed by me. The other interesting point was...
  • Blog Post: Disabling Optimizations

    OK, so like 20 years ago (yes, I'm exaggerating a little) it was quite common to run across compiler bugs, where you needed to disable some optimization locally or globally to get your program to work correctly. I think that's mostly gone now, but there are still the occasional cases. Now days the most...
  • Blog Post: I've been pampered!

    So I'm getting ready to do my very first checkin. It's a nice trivial change to some of the debug-only dumping routines. I kicked off the checkin tests and asked how long they would take. Now some other bigger checkins have been going through 'Extended Testing' and they were talking how many days it...
  • Blog Post: Day 3

    Well after 2 days, I've setup 2 new machines (one for email and one for development/building/debugging), built the runtime, installed it, and stepped through some code in the debugger. Can I just say that our new debugger and remote debugging components have gotten significantly better. For the longest...
  • Blog Post: What do you want to hear about

    I'm a developer on the C# compiler. I've been with the team since before we shipped 7.0. I worked on some of the XML doc comment stuff, fixing up the sources so they could cross-compile for rotor, ia64 and amd64, and also now in Whidbey I am responsible for most of the implementation (and bugs) for anonymous...
Page 1 of 1 (22 items)