Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Eric Gunnerson - How much magic should your compiler have?

Download

Right click “Save as…”

Eric Gunnerson, in the final video segment of his interview, talks about how much abstraction should be built into a language, er magic. For more discussions with Eric, visit his blog.

Follow the Discussion

  • JohnSandsJohnSands John Sands
    Yo Team, when are you guys going to get a microphone for the interviewer?
  • scobleizerscobleizer I'm the video guy
    Should have it next week.

    These interviews were done a few weeks back. Sorry about that.
  • JohnSandsJohnSands John Sands
    Thanks, Robert. I don't mean to sound ungrateful. These videos are excellent - short, informal, interesting, easy to comment on. A brilliant concept.
  • clint_hillclint_hill C-x,C-f
    In this interiew (at the end) they are discussing closure and the misnomer in C#. Are they talking about Dispose and garbage collection? I am curious because I have implemented IDispose in a couple of objects but now I am curious if it is redundancy for managed code.
  • Bryn WaibelBryn Waibel I'm not an actor, but i play one on channel9
    clint_hill wrote:
    In this interiew (at the end) they are discussing closure and the misnomer in C#. Are they talking about Dispose and garbage collection? I am curious because I have implemented IDispose in a couple of objects but now I am curious if it is redundancy for managed code.


    Actually, the question came up because the first time I read about anonymous methods, I was under the impression that the C# team was adding some form of closure to the C# language. After doing a little reasearch, i found out that anonymous methods weren't actually closures at all, but instead just a shortcut notation which the compiler expands. Unfortunately, i can't find the article that showed the compiler expansion right now. If I find it I'll post it. Basically, they create a new class which is designed to hold both the delegate and the locally scoped state of the variables that it uses. Instances of this class are used for delegate assignment.

    The concept is not related except tangentially to Dispose or Garbage Collection.

    I wanted to bring this point up to Eric while I was interviewing him, but, as you might all suspect, I get a little nervous in front of the camera, so it didn't come out quite as elegantly as I would have liked. As I bumbled my way through it, he made the exact point that I was looking for, Eric rules. My apologies for not speaking up, we'll have mic's on the interviewers soon.

    -Bryn
  • clint_hillclint_hill C-x,C-f
    Thanks for clearing that up. I guess I didn't put closure together with anonymous methods. When you have an idea or problem in your head, everything starts to sound like that idea or problem.

    "To a man with a hammer, everything looks like a nail."
     Mark Twain

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.