Welcome to MSDN Blogs Sign in | Join | Help

July 2004 - Posts

TechEd Whiteboard with Anders

At TechEd 2004, Anders did a whiteboard talk . Recommended. (From Dan )
Posted by ericgu | 2 Comments
Filed under: ,

C# 3.0? You haven't even shipped 2.0 yet?

One of my readers commented (and I'm paraphrasing here): Why are you asking me about features for the next version of C#, when the 2.0 version hasn't even shipped yet? A fair question. One of the problems that we have in the tools division is the long
Posted by ericgu | 21 Comments

Memories of Youth

I remember the hot summer days of my youth. Our backyard patio had ants. I had a 5” magnifying glass. You can guess the rest. I've always had a soft spot for the power of focused sunlight, though I never took it as far as the creators of Melt Man
Posted by ericgu | 2 Comments

using - It's not just for memory management

When we designed the using statement waaaay back in the first version of C#, we decided to call it using because we thought it had other purposes outside of the usual use: using (StreamWriter writer = File.CreateText(”blah.txt”)) { ... } Today
Posted by ericgu | 14 Comments
Filed under: ,

Anders Hejlsberg - Programming data in C# 3.0 #

Dan pointed me to a new video on Channel9 about some of the things we're talking about for C# 3.0
Posted by ericgu | 6 Comments
Filed under: ,

Stevens Pass Summit Lakes (Grace Lake)

Last Sunday, we went on a short hike to the summit lakes at Stevens Pass Ski Area. It was the first hike for us this season, and the first one with canine company. The real trail starts at the top of the Brooks lift (roughly centered in the photo). But
Posted by ericgu | 0 Comments

Not sure what to make of this...

Go http://www.ilovebees.com/ . Wait for it. then, perhaps go here and here . I really don't know what - if anything - this is. But whatever it is, it's interesting...
Posted by ericgu | 3 Comments

JetBrains ReSharper 1.0 now available

JetBrains (of IntelliJ fame) has shipped V1.0 of ReSharper
Posted by ericgu | 5 Comments
Filed under: ,

What have Microsoft blogs meant to you?

I'm doing a few slides on blogging for a meeting that the C# team is having this Friday, and I need some good customer quotes to put on the slide. So, if you have comments about the C# team bloggers , please leave me a comment.
Posted by ericgu | 20 Comments
Filed under:

Managed Minidumps

Scott talks about Managed Minidumps It's a debugging thing...
Posted by ericgu | 2 Comments
Filed under:

Answer: What is the lifetime of local instances?

Answer to this poser I wasn't sure the answer to this question was observable, so I wrote a short program: using System; class Early { ~Early() { Console.WriteLine("Early Cleaned Up"); } } class Test { public static void Main() { Early e = new Early();
Posted by ericgu | 15 Comments
Filed under:

Poser: What is the lifetime of local instances?

A reader wote me to ask a question about variable lifetimes. Consider the following code: class Mutex { public Mutex(string name) { hMutex = Kernel32.CreateMutex(null,false,name); Kernel32.WaitForSingleObject(hMutex,0); } ~Mutex() { Kernel32.ReleaseMutex(hMutex);
Posted by ericgu | 2 Comments
Filed under: ,

Why language features die, and language extensibility

Rick Byers wrote (some time ago): Thanks for the awesome post Eric. I'd be interested in hearing more detail about the sorts of things that cause features to be rejected. Is it common to reject a feature that you think would be valuable only because of
Posted by ericgu | 5 Comments
Filed under: ,

Future language features & scenarios

We're starting to think about the release after Whidbey in the C# compiler team. I know that it seems strange that we have just shipped the Whidbey beta, and we're already talking about what comes next, but we're fairly close to being “shut down”
Posted by ericgu | 114 Comments
Filed under: ,

Rescheduled C# Chat on TechEd topics

Our original chat got cancelled (don't ask...), and we've rescheduled it for this Thursday
Posted by ericgu | 1 Comments
Filed under:

Killing comment spam

Is there a .TEXT utility to let me kill all comments that have a specific URL in them? I've been getting hit with comment spam recently...
Posted by ericgu | 8 Comments

Why a manned space program?

One of the questions about in the comments to my post on Apollo question asked “Why do we have a manned space program? That's a fair question, but before I answer it, there are two things I want to talk about. The first is to give credit where credit
Posted by ericgu | 7 Comments

35 years ago today...

35 years ago, two men came within 20 seconds of dying 250,000 miles away. Hours after averting tragedy, a very young Eric Gunnerson got to stay up late to watch Neil Armstrong walk on the moon. I was 5. I've always been a bit of a space nut, and my memory
Posted by ericgu | 15 Comments

Naming generic type parameters...

There's been quite a discussion going on on the MSDN feedback site over the naming of generic type parameters. If you look at the definition of the generic collections classes, you'll see things like: List<T> Dictionary<K, V> What's up with
Posted by ericgu | 28 Comments
Filed under:

Alfred is worried...

Those of you who read my holiday letter post from last year may remember that Alfred is my Roomba. That is, if you haven't blotted the experience of reading the post out of your mind. See, I warned you, and what did you do - you went back and looked at
Posted by ericgu | 9 Comments

Google is my personal search engine

Google gives high weight to blogs. In fact, google gives too much weight to blogs. Too often I've gone to research something that I only know a little about (say, training for a century ) and found that my post is on the first page of results. Want to
Posted by ericgu | 5 Comments

Fixed statement and null input...

I'd like some input on a change we're considering for Whidbey. Consider the following wrapper class: unsafe class Wrapper { public void ManagedFunc(byte[] data) { fixed (byte* pData = data) { UnmanagedFunc(pData); } } void UnmanagedFunc(byte* pData) }
Posted by ericgu | 17 Comments
Filed under: ,

Microsoft & Java communities...

TheServerSide.Com has a post up that references what Don Box and I wrote, and there are some comments that you might find interesting. And not just because of the nice things that Rolf said about me. I agree with Cameron when he says: The difference in
Posted by ericgu | 2 Comments

Decreased performance when compiling with no options...

One of the things that we've done in Whidbey is add some extra IL instructions to improve the debugging experience. This allows you to (for example) set a break on a closing brace. Because /o- is the default setting, this means that performance if you
Posted by ericgu | 12 Comments

Le Tour

This week starts part of my favorite part of the summer, “Le Tour de France”. The tour is likely the hardest athletic challenge in the world. Last year, Armstrong covered 2100 miles at an average speed of just under 26 MPH, including 7 days
Posted by ericgu | 11 Comments
Filed under:

Century Training

A few people have asked me what training I did for my century ride. I'm currently riding 4 days a week (well, I took 10 days off at JavaOne and on vacation). Monday/Wednesday/Friday, I do a 15 mile ride which takes about an hour. It has some up and down
Posted by ericgu | 7 Comments
Filed under:

JavaOne 2004: Final Thoughts

JavaOne 2004 FinalThoughts Before you read my summary, I encourage you to read the daily posts I wrote. The comments on those posts can be very illuminating as well. Day 1 Day 2 Day 3 Day 4 Summary: Community The biggest different between conferences
Posted by ericgu | 14 Comments

Beta1 Suggestions and bug reports

For a long time, sending a bug or suggestion to Microsoft has been a bit of a challenge. For the .NET Beta, we've introduced the MSDN Feedback Center . I will ask you to bear with us, as we're just getting up to speed on this. You may get answers that
Posted by ericgu | 6 Comments

JavaOne: Day 4

JavaOne Day Four This is the last of my daily posts. I've got a list of bigger topics I'm going to post on, but I want to ruminate on them for a few days before I do so. Keynote: Stretch Your Mind “A Gosling -fest” this morning JavaStudio
Posted by ericgu | 9 Comments

Extending existing classes

One other point that came up in the static import thread was extending existing classes. It's not uncommon to want to add specific methods to existing classes - or at least have the appearance of doing this. For example, I might want to add a new method
Posted by ericgu | 14 Comments
Filed under: ,

Taken to task on my static import post...

Darren took me to task on my post on static import . Despite the fact that he said, “ I code in patterns and in english... the syntax of the language is an afterthought! If you don't at least tolerate those assertions, don't bother reading the rest
Posted by ericgu | 9 Comments
Filed under: ,
 
Page view tracker