cbrumme's WebLog

7/17/2020

3 minutes to read

In this article

It’s been over two years since I blogged. Although I remain happily (perhaps even ecstatically)...

Author: cbrumme Date: 09/15/2006

My original posts on Finalization and Hosting had some hokey XXXXX markers in place of content,...

Author: cbrumme Date: 04/26/2004

I’ve already written the much-delayed blog on Hosting, but I can’t post it yet because...

Author: cbrumme Date: 02/02/2004

By default, old blogs are truncated from this web site. If you want to read old entries that have...

Author: cbrumme Date: 11/10/2003

I had hoped this article would be on changes to the next version of the CLR which allow it to be...

Author: cbrumme Date: 10/01/2003

I’ve been putting off writing this blog, not just because I’m on vacation in Maui and have far more...

Author: cbrumme Date: 06/23/2003

Just a quick explanation for why there hasn't been a new blog lately. I'm partway through a 3.5...

Author: cbrumme Date: 06/16/2003

By default, old blogs are truncated from this web site. If you want to read old entries that have...

Author: cbrumme Date: 05/18/2003

One of the suggestions for a blog entry was the managed memory model. This is timely, because we’ve...

Author: cbrumme Date: 05/17/2003

The CLR’s type system includes primitive types like signed and unsigned integers of various sizes,...

Author: cbrumme Date: 05/10/2003

If there's a topic related to the CLR, feel free to drop me a line asking me to talk about it. I...

Author: cbrumme Date: 05/08/2003

In a comment to my last ramble, about asynchronous execution and pinning, someone asked for advice...

Author: cbrumme Date: 05/08/2003

One thing we tried to do with the CLR and FX is provide a consistent asynchronous programming model....

Author: cbrumme Date: 05/06/2003

The CLR has two different techniques for implementing interfaces. These two techniques are exposed...

Author: cbrumme Date: 05/03/2003

The CLR type system supports both virtual and non-virtual instance methods. And IL can contain both...

Author: cbrumme Date: 04/25/2003

Managed strings are subject to ‘interning’. This is the process where the system notices that the...

Author: cbrumme Date: 04/22/2003

It’s not possible to state exactly when a managed object will be collected. The garbage collector...

Author: cbrumme Date: 04/19/2003

What’s the difference between WaitHandle.WaitOne/WaitAny/WaitAll and just PInvoke’ing to...

Author: cbrumme Date: 04/17/2003

Developers who are accustomed to the IDisposable pattern or to C#’s ‘using’ syntax sometimes ask why...

Author: cbrumme Date: 04/16/2003

Every so often, someone tries to navigate from a managed System.Threading.Thread object to the...

Author: cbrumme Date: 04/15/2003

A common question is how to initialize code before it is called. In the unmanaged world, this is...

Author: cbrumme Date: 04/15/2003

There are two kinds of threads executing inside managed code: the ones we start in managed code and...

Author: cbrumme Date: 04/15/2003

Developers often wonder why they are forced to derive from MarshalByRefObject or...

Author: cbrumme Date: 04/15/2003

All managed objects other than those derived from ServicedComponent, when exposed to COM, behave as...

Author: cbrumme Date: 04/15/2003

Objects that derive from MarshalByRefObject will marshal by reference rather than value. Metaobjects...

Author: cbrumme Date: 04/15/2003

There’s a subtle but important difference between protected access in unmanaged C++ and protected...

Author: cbrumme Date: 04/15/2003

One way you get this exception is if unmanaged code does an OS RaiseException() or causes a fault....

Author: cbrumme Date: 04/15/2003

We don't expose the managed size of objects because we want to reserve the ability to change the way...

Author: cbrumme Date: 04/15/2003

People often ask how they can expose traditional DLL exports from managed assemblies. Managed C++...

Author: cbrumme Date: 04/15/2003

If the operating system schedules multiple threads against a hyper-threaded CPU, the CLR...

Author: cbrumme Date: 04/15/2003

It is not generally possible to turn off garbage collection. However, the garbage collector won’t...

Author: cbrumme Date: 04/15/2003

#define BOOTUP_EXCEPTION_COMPLUS 0xC0020001 You may see an exception with this code, or an HRESULT...

Author: cbrumme Date: 04/15/2003

By default, static fields are scoped to AppDomains. In other words, each AppDomain gets its own copy...

Author: cbrumme Date: 04/15/2003