开发者

The C# compiler and memory management

I'm doing a compiler design class on the topic of memory management. I am reading about garbage collection and noticed that most of that low level stuff takes place with C/C++ code. I have a few questions about the c# compiler.

  1. Was .net framework part for memory management written in c/c++?
  2. How does .net manages memory?
  3. Does their internal garbage collection uses malloc()?
  4. What method of garbage collection does the .net fr开发者_如何转开发amework use?

I'd probably use answers to generate new questions but I'm not sure If I should create a new question or edit this one.


Please see:

  • MSDN Magazine: Garbage Collection: Automatic Memory Management in the Microsoft .NET Framework

  • .NET Framework Developer's Guide: Automatic Memory Management

  • .NET Framework Developer's Guide: Garbage Collection

  • Understanding Garbage Collection in .NET


Much of this type of information can be found in CLR via C# (or from Amazon). Note that it sounds like the book will be updated for .NET 4.0.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜