GrantRi's WebLog [MS]

Ramblings of a compiler geek

  • GrantRi's WebLog [MS]

    Source code control (RCS, VSS, etc.)

    • 34 Comments
    So as part of professional development, I assume everybody uses some form of source code control and revision tracking. This allows multiple developers to work together, and also a way of tracking changes. Sometimes they're also used as a way of 'branching...
  • GrantRi's WebLog [MS]

    Alignment

    • 6 Comments
    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...
  • GrantRi's WebLog [MS]

    Why can't I do XYZ in C#?

    • 7 Comments
    First off I'm not a language lawyer, or an expert. I am only sharing some of the impressions I've gotten from working with the real language designers. Eric Wilson asked why C# doesn't allow you to call static methods using instance pointers . My answer...
  • GrantRi's WebLog [MS]

    The problem with being second

    • 28 Comments
    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...
  • GrantRi's WebLog [MS]

    Not-so-new C# Compiler Features

    • 6 Comments
    So a while back somebody asked what new compiler features were coming out for Whidbey that weren't part of new language features. Well you've already heard about Edit and Continue . There's also the really cool Refactoring built into the IDE and built...
  • GrantRi's WebLog [MS]

    I've run out of ideas again

    • 9 Comments
    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...
  • GrantRi's WebLog [MS]

    More Q&A - C# Project settings

    • 2 Comments
    Question from Eric Wilson: Could you do a post on what the settings on the Advanced Tab in Visual Studio.Net for C# projects are for and when you should use them? My lame response: I've only occasionally had to deal with the project-system guys that more...
  • GrantRi's WebLog [MS]

    Some of my opinions on Generics

    • 5 Comments
    Disclaimer: These are all my opinions, so don't take them to mean anything more than the futile thoughts of an insignificant bystander who happened to be fortunate enough to listen to a few of the C# language design meetings and occasionally interact...
  • GrantRi's WebLog [MS]

    Replacing al.exe with csc.exe

    • 5 Comments
    I've seen a awful lot of comments lately about all the cool stuff that can be done with al.exe. I'd just like to point out that with very few exceptions csc.exe can do almost everything that al.exe can do. One of those exceptions deals with the /template...
  • GrantRi's WebLog [MS]

    More Q&A - Why No Generic Attributes?

    • 1 Comments
    Question from Wes Haggard: A while back I posted http://weblogs.asp.net/whaggard/archive/2004/10/12/241476.aspx about having a generic type inherit from Attribute. Do you know why this is prohibited in C#? My attempted response: I used to think it wasa...
  • GrantRi's WebLog [MS]

    Multi-file Assemblies: What and How

    • 5 Comments
    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...
  • GrantRi's WebLog [MS]

    More Info on Base Addresses

    • 2 Comments
    Another Microsoftie, Josh Williams follows my blogs and pointed out another case where a base address matters: NGEN. When you NGEN your assemblies, the new images are loaded at the same base address as the original binaries. As Josh pointed out to me...
  • GrantRi's WebLog [MS]

    Some Clarifications

    • 4 Comments
    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...
  • GrantRi's WebLog [MS]

    More on 64-vs-32

    • 5 Comments
    OK, this isn't a really meaty post, it's more of a collection of a few ideas that have been rattling around in my head for a while. I kept hoping they'd develop into something bigger, or I'd have time to research/investigate them more, but nothings happened...
  • GrantRi's WebLog [MS]

    Good post on running/writing/compiling managed binaries as 32-bit or 64-bit

    • 1 Comments
    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
  • GrantRi's WebLog [MS]

    Anonymous Methods, Part 2 of ?

    • 9 Comments
    A lot of people seem to have trouble grasping how anonymous methods affect the lifetimes of locals. SO hopefuly I can clarify that a little. Previous to anonymous methods, the lifetime and the visibility of a local were identical for all practical purposes...
  • GrantRi's WebLog [MS]

    Home Remodeling and Software Maintenance

    • 0 Comments
    I just finished signing the final paperwork to begin remodeling our home. Along with the paperwork came a fairly large budget. What strikes me as interesting is that it actually costs more to add on to a house than it does to build things from scratch...
  • GrantRi's WebLog [MS]

    64bit versus 32bit

    • 11 Comments
    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...
  • GrantRi's WebLog [MS]

    64-bit beta is official!

    Finally I have something to write about! There's a new section on MSDN that is definitely worth reading: 64-Bit .NET Framework (http://msdn.microsoft.com/netframework/programming/64bit/) Now you only need a new 64-bit machine and OS to try it out on....
  • GrantRi's WebLog [MS]

    ProjectProperties->Signing vs AssemblyInfo

    • 2 Comments
    Daniel Moth questioned the move from source attribute to project properties. Here's my insight on 2 of the reasons. First the disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights. The content of this posting contains...
  • GrantRi's WebLog [MS]

    Command-line Trivia

    • 13 Comments
    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...
  • GrantRi's WebLog [MS]

    Warning Levels

    • 0 Comments
    It's not documented very well, but the C# compiler actually has 4 levels of warnings. I like to think of them this way: Level 1 - These warnings are cases the compiler is 99.9% sure you did something wrong, but the code is syntactically and semantically...
  • GrantRi's WebLog [MS]

    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...
  • GrantRi's WebLog [MS]

    Resources, Managed, Native, and ALink

    • 4 Comments
    So most of you have figured out by now that making your application run with different languages can be very hard. The overall design is always the same: place all content that might change for different languages in some sort of runtime-selectable package...
  • GrantRi's WebLog [MS]

    Anonymous Methods, Part 1 of ?

    • 7 Comments
    Although I was involved in many of the language design meetings, I don't think I can claim much of the credit for the actual design of the feature in the language spec. There were a few technical gotchas that I discovered and proposed solutions to, and...
Page 1 of 3 (67 items) 123