Results 1 to 4 of 4

Thread: .NET information request

  1. #1
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 03
    Location
    USA, Maryland
    Posts
    4,981

    .NET information request

    I want an article form a trustable source like microsoft comparing each different .NET language in terms of speed.

    Also, any information reguarding .NET's memory management would be appreciated. I know VB and C# use garbage collection (*shudder*) but C++ will use RAII. Since the .NET framework was done in C++, does all of their components use RAII as well? Does a managed C++ program use RAII or garbage collection built into .NET?

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 02
    Location
    Washington St.
    Posts
    2,464
    I don't have an article for you, but they all use the same CLR when running managed code.

  3. #3
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 03
    Location
    USA, Maryland
    Posts
    4,981
    Originally posted by hellswraith
    I don't have an article for you, but they all use the same CLR when running managed code.
    So a C++ program using managed and unmanaged code will use garbage collection instead of RAII?

    Well that is pretty stupid on microsoft's part....

  4. #4
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 02
    Location
    Washington St.
    Posts
    2,464
    Only in managed code, not unmanaged.

    Unmanaged code is just like the plain C++ type stuff as normal.

    I am not an expert when it comes to C++ though. I just know if the CLR is managing the code (hence the word managed), it handles garbage collection.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •