Results 1 to 8 of 8

Thread: [RESOLVED] [Serious] What is the difference between managed and unmanaged C++

  1. #1

    Thread Starter
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    Resolved [RESOLVED] [Serious] What is the difference between managed and unmanaged C++

    I have absolutely no clue but i've always wanted to know.. and I havent gotten a good answer..

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: [Serious] What is the difference between managed and unmanaged C++

    Perhaps you should've asked in the C++ forum.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  3. #3

    Thread Starter
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    Re: [Serious] What is the difference between managed and unmanaged C++

    Well ok.. if a moderator sees this, feel free to move it to the C++ forum..

  4. #4
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: [Serious] What is the difference between managed and unmanaged C++

    I'd think it's an extension of safe/unsafe C# code. VB is an inherently "safe" language. Everything you can do is run through the OS first for memory management. With C#, you can compile it as unsafe and take control of the memory management yourself. While this does open up the door to blowing stuff up in a whole new way, it also allows code to be several orders of magnitude faster.

  5. #5

    Thread Starter
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    Re: [Serious] What is the difference between managed and unmanaged C++

    that makes sense to me. Thanks ts.

  6. #6
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: [RESOLVED] [Serious] What is the difference between managed and unmanaged C++

    Bear in mind, I may not be dead on. I'm a C# dev, not C++. And C# has *unsafe*, not *unmanaged* code.

  7. #7
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: [Serious] What is the difference between managed and unmanaged C++

    Quote Originally Posted by timeshifter
    I'd think it's an extension of safe/unsafe C# code. VB is an inherently "safe" language. Everything you can do is run through the OS first for memory management. With C#, you can compile it as unsafe and take control of the memory management yourself. While this does open up the door to blowing stuff up in a whole new way, it also allows code to be several orders of magnitude faster.
    Nothing to do with it.


    Managed C++ (C++/CLI, or the far older, abysmal Managed Extensions for C++) is compiled to MSIL, linked against the .NET framework, and uses Microsoft-specific extensions to the ANSI C++ standard syntax.

    Unmanaged C++ is standard and compiles to whatever you like (usually native code).

  8. #8
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: [RESOLVED] [Serious] What is the difference between managed and unmanaged C++

    It should be noted that anyone who uses Managed C++ dies a slow and painful death..

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

Posting Permissions

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



Click Here to Expand Forum to Full Width