Solved

Could someone explain me the difference between managed and unmanaged code/executable?

Posted on 2011-09-23
10
314 Views
Last Modified: 2012-06-27
Hi there;

Could someone explain me the difference between managed and unmanaged code/executable?

Regards.
0
Comment
Question by:jazzIIIlove
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
  • 2
  • +1
10 Comments
 
LVL 7

Accepted Solution

by:
dimaj earned 200 total points
ID: 36590231
0
 
LVL 75

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 200 total points
ID: 36593998
Crudely:

       Managed: .NET/Java
   Unmanaged: C/C++

When you think of "managed" code, think "garbage collector".
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36594052
I got the confuision as does managed  concern Microsoft techs. only or concern java?

Regards.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 75

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 200 total points
ID: 36594244
I don't recall anyone ever actually mentioning the term "managed" when speaking about Java, but you can think of Java as such. As I said previously, the term "managed" refers to the fact that you have a garbage collector managing the deletion of dynamic memory for you. In a C/C++ environment, you must take care to delete any dynamic memory you allocate.
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36717428
Ok, so how can one differ the executables (considering we have no idea regarding a GC is managing the code)

Regards.
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36816600
I mean let's say u have an executable. How can you understand it's managed or unmanaged?

Regards.
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36925828
Any update?

Kind regards.
0
 
LVL 7

Assisted Solution

by:dimaj
dimaj earned 200 total points
ID: 36926096
0
 
LVL 44

Assisted Solution

by:AndyAinscow
AndyAinscow earned 100 total points
ID: 36928975
>>How can you understand it's managed or unmanaged?

If .net is not installed then a managed application will not run.  Unmanaged has no requirement for .net runtimes to be installed.
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36933808
Good and sensible :)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question