Rick Byers

The CLR, diagnostics tool support and programming languages.

Leaving

After 6 great years at Microsoft, my wife and I have decided it's time to spend some time living...

Author: Rick Byers - exMSFT Date: 11/19/2010

Sample Reflection.Emit code for using exception filters from C#

In this post, I mentioned that one way to use exception filters from C# code is to generate them...

Author: Rick Byers - exMSFT Date: 01/30/2010

Quickly seeing where an exception may land in the debugger

A co-worker asked me recently how he could predict where an exception that was about to be thrown...

Author: Rick Byers - exMSFT Date: 09/01/2009

My school assignment required parsing PDB files

I'm just finishing up my Masters in Computer Science, and was surprised when I recently got an...

Author: Rick Byers - exMSFT Date: 06/09/2009

New interviews with my CLR team members up on Channel9

There are a bunch of great new CLR v4-related video interviews up on Channel9. In particular: Jon,...

Author: Rick Byers - exMSFT Date: 06/09/2009

AnyCPU Exes are usually more trouble than they're worth

Over the past few months I've had some interesting debates with folks here (and some customers)...

Author: Rick Byers - exMSFT Date: 06/09/2009

CCI is public on Codeplex

Herman Venter has just released his Common Compiler Infrastructure as an OpenSource project on...

Author: Rick Byers - exMSFT Date: 04/15/2009

Getting good dumps when an exception is thrown

Often, when an unexpected exception occurs in production code, applications want to generate (and...

Author: Rick Byers - exMSFT Date: 12/22/2008

CLR 4.0 advancements in diagnostics

We announced at PDC today that we're making some significant advances in diagnostics tool support...

Author: Rick Byers - exMSFT Date: 10/30/2008

ICorDebug re-architecture in CLR 4.0

In my previous post I mentioned that CLR 4.0 will support managed dump debugging through ICorDebug,...

Author: Rick Byers - exMSFT Date: 10/27/2008

Func-eval can fail while stopped in a non-optimized managed method that pushes more than 256 argument bytes

In this blog entry, Mike describes that func-eval will fail when not a GC-safe point. In VS this...

Author: Rick Byers - exMSFT Date: 08/16/2008

Invoking a virtual method non-virtually

Method calls using the C# ‘base’ keyword get compiled to an IL ‘call’ instruction, rather than the...

Author: Rick Byers - exMSFT Date: 08/16/2008

The CLR is hiring

This is just a quick reminder that we're always looking for talented people who are passionate about...

Author: Rick Byers - exMSFT Date: 05/19/2008

How is good software like good science?

I'm not one who believes mainstream large-scale software development really deserves the title of...

Author: Rick Byers - exMSFT Date: 09/18/2007

Customizing PDB lookup for source information in StackTrace

The System.Diagnostics.StackTrace class in .NET can be used to generate a textual representation of...

Author: Rick Byers - exMSFT Date: 06/22/2007

Code Sample - StackTrace with manual Symbol lookup

// Sample to demonstrate creating a stack trace with source location information while controlling...

Author: Rick Byers - exMSFT Date: 06/22/2007

Using LINQ for Computational Genomics

I’ve been playing around a bit lately with computational genomics (I’m doing a project for my...

Author: Rick Byers - exMSFT Date: 05/08/2007

More on generic variance

In my entry on generic variance in the CLR, I said that you can’t convert a List<String> to a...

Author: Rick Byers - exMSFT Date: 06/01/2006

Linq and the cost of additional language complexity

Uwe Keim posted a thought provoking comment in response to my entry about Linq. Here is an excerpt:...

Author: Rick Byers - exMSFT Date: 09/25/2005

Comparison of a simple select statement in DLinq (C# 3.0) vs. ADO.Net

Six months ago I posted a comparison of a simple select statement in C-omega vs. ADO.Net which some...

Author: Rick Byers - exMSFT Date: 09/25/2005

Interested in C-omega? LINQ finally announced!

Ever since I started planning for my users-group talk (and wrote this blog entry) about data access...

Author: Rick Byers - exMSFT Date: 09/13/2005

DebuggingModes.IgnoreSymbolStoreSequencePoints

In my last post I gave an overview of the DebuggableAttribute, what values the C# compiler gives it,...

Author: Rick Byers - exMSFT Date: 09/08/2005

DebuggableAttribute and dynamic assemblies

Mike Stall has a great little sample showing how to make your dynamically generated code debuggable....

Author: Rick Byers - exMSFT Date: 06/27/2005

Run-time exception checking

One of our partners asked us how a .NET program can tell what the currently active “try” blocks are...

Author: Rick Byers - exMSFT Date: 04/30/2005

Comega talk

On Thursday I gave a .NET users group talk on Comega to somewhere around 100 .NET developers....

Author: Rick Byers - exMSFT Date: 04/04/2005

Comparison of a simple select statement in C-omega vs. ADO.Net

In a couple weeks, I'm doing a talk at a .NET users group in Ontario about Cω. Cω is a cool research...

Author: Rick Byers - exMSFT Date: 03/20/2005

Generic type parameter variance in the CLR

When people start using C# generics for the first time, they are sometimes surprised that they can’t...

Author: Rick Byers - exMSFT Date: 02/17/2005

"Hello world" quiz answers

Matthew Cosier was the first person to post correct answers to all my Hello, World quiz questions,...

Author: Rick Byers - exMSFT Date: 02/08/2005

Disruptive Programming Language Technologies

"Disruptive Programming Language Technologies" (video, slides) is one of my favorite talks on the...

Author: Rick Byers - exMSFT Date: 02/06/2005

Hello, World!

Hi, my name is Rick Byers. I’m a developer on the Common Language Runtime (CLR) team at Microsoft. I...

Author: Rick Byers - exMSFT Date: 02/06/2005