PC Review


Reply
Thread Tools Rate Thread

What has managed code achieved?

 
 
John
Guest
Posts: n/a
 
      20th Oct 2008
Hi

What are the advantages actually achieved of managed code? I am not talking
of theory but in reality.

Thanks

Regards


 
Reply With Quote
 
 
 
 
Mr. Arnold
Guest
Posts: n/a
 
      20th Oct 2008

"John" <(E-Mail Removed)> wrote in message
news:%23A%(E-Mail Removed)...
> Hi
>
> What are the advantages actually achieved of managed code? I am not
> talking of theory but in reality.
>


http://en.wikipedia.org/wiki/CLI_Languages
<http://it.toolbox.com/blogs/paytonbyrd/day-1-introduction-to-managed-code-and-the-net-infrastructure-6588>



 
Reply With Quote
 
Andrew Morton
Guest
Posts: n/a
 
      20th Oct 2008
John wrote:
> What are the advantages actually achieved of managed code? I am not
> talking of theory but in reality.


Well, for a start, you get to be introduced to www.google.com.

Andrew


 
Reply With Quote
 
kimiraikkonen
Guest
Posts: n/a
 
      20th Oct 2008
On Oct 20, 3:06*am, "John" <i...@nospam.infovis.co.uk> wrote:
> Hi
>
> What are the advantages actually achieved of managed code? I am not talking
> of theory but in reality.
>
> Thanks
>
> Regards


Check these out:
http://en.wikipedia.org/wiki/Managed_code
http://www.datadirect.com/developer/...tage/index.ssp
http://en.wikipedia.org/wiki/Microsoft_.NET

As your managed code runs under supervision of CLR, it's well-
maintained for .NET framework and the concepts what .NET includes such
as performance, compatibilty and security.

HTH,

Onur Güzel


 
Reply With Quote
 
Scott M.
Guest
Posts: n/a
 
      20th Oct 2008
If you think about VB 6.0, which was not managed, developers had to write
lots of extra code that didn't necessarially have anything to do with the
programming problem. Developers had to write extra code to ensure memory
was managed correctly (set x = Nothing) and if they didn't, the program
would develop memory leaks. Developers also had to write addional code to
handle certain security and performance issues as well.

In the managed environment of the .NET CLR, much of this work is
automatically managed by the CLR through its code access security, garbage
collection, & MSIL.

The real, tangible advantages are that less code is written and that the
resulting programs are more robust and cross-language compatible.

-Scott

"John" <(E-Mail Removed)> wrote in message
news:%23A%(E-Mail Removed)...
> Hi
>
> What are the advantages actually achieved of managed code? I am not
> talking of theory but in reality.
>
> Thanks
>
> Regards
>
>



 
Reply With Quote
 
Cor Ligthert[MVP]
Guest
Posts: n/a
 
      20th Oct 2008
John,

What do you think?

Cor

"John" <(E-Mail Removed)> wrote in message
news:%23A%(E-Mail Removed)...
> Hi
>
> What are the advantages actually achieved of managed code? I am not
> talking of theory but in reality.
>
> Thanks
>
> Regards
>
>


 
Reply With Quote
 
Juan T. Llibre
Guest
Posts: n/a
 
      20th Oct 2008
re:
!> What are the advantages actually achieved of managed code?

Imho, the greatest achievement for managed code is: it gets rid of "dll hell".

There's also automatic memory management, platform-neutrality, and cross-language integration.

Performance benefits are gained from executing all code in the CLR.
Calling unmanaged code decreases performance because additional security checks are required.

Other performance advantages are available through the use of the Just-In-Time compiler,
with gains in built-in security by using code access security and the avoidance of buffer overruns.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"John" <(E-Mail Removed)> wrote in message news:%23A%(E-Mail Removed)...
> Hi
>
> What are the advantages actually achieved of managed code? I am not talking of theory but in reality.
>
> Thanks
>
> Regards
>
>



 
Reply With Quote
 
William Vaughn \(MVP\)
Guest
Posts: n/a
 
      20th Oct 2008
But have we traded one kind of DLL hell for another? How many versions of
the Framework are loaded on your system? How is COM-based DLL management any
different than GAC-cached modules that can be replaced without retesting the
consumer applications? Since we now must wait while the code is compiled
before it can be executed, the performance argument might not hold water for
some applications. Notice how long it takes to launch the Report Manager...
I expect that managed code has managed to disenfranchise a lot of perfectly
good COM developers...

--
__________________________________________________________________________
William R. Vaughn
President and Founder Beta V Corporation
Author, Mentor, Dad, Grandpa
Microsoft MVP
(425) 556-9205 (Pacific time)
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
____________________________________________________________________________________________



"Juan T. Llibre" <(E-Mail Removed)> wrote in message
news:OJP$(E-Mail Removed)...
> re:
> !> What are the advantages actually achieved of managed code?
>
> Imho, the greatest achievement for managed code is: it gets rid of "dll
> hell".
>
> There's also automatic memory management, platform-neutrality, and
> cross-language integration.
>
> Performance benefits are gained from executing all code in the CLR.
> Calling unmanaged code decreases performance because additional security
> checks are required.
>
> Other performance advantages are available through the use of the
> Just-In-Time compiler,
> with gains in built-in security by using code access security and the
> avoidance of buffer overruns.
>
>
>
>
> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en español : http://asp.net.do/foros/
> ======================================
> "John" <(E-Mail Removed)> wrote in message
> news:%23A%(E-Mail Removed)...
>> Hi
>>
>> What are the advantages actually achieved of managed code? I am not
>> talking of theory but in reality.
>>
>> Thanks
>>
>> Regards
>>
>>

>
>

 
Reply With Quote
 
Gregory A. Beamer \(Cowboy\) - MVP
Guest
Posts: n/a
 
      21st Oct 2008

"Juan T. Llibre" <(E-Mail Removed)> wrote in message
news:OJP$(E-Mail Removed)...
> re:
> !> What are the advantages actually achieved of managed code?
>
> Imho, the greatest achievement for managed code is: it gets rid of "dll
> hell".



I think this depends on whether or not your regard the problems with the GAC
as another type of DLL hell,as it sounds like both I and Bill do. ;-)

For most, however, this is a definite advantage, as most do not use the GAC
much and those who do know how to version (maybe?).

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************


 
Reply With Quote
 
Ben Voigt [C++ MVP]
Guest
Posts: n/a
 
      21st Oct 2008
Scott M. wrote:
> If you think about VB 6.0, which was not managed, developers had to
> write lots of extra code that didn't necessarially have anything to
> do with the programming problem. Developers had to write extra code
> to ensure memory was managed correctly (set x = Nothing) and if they
> didn't, the program would develop memory leaks. Developers also had
> to write addional code to handle certain security and performance
> issues as well.



The case for erasing references hasn't changed much between VB6 and the
latest version of .NET.... keeping an object reachable longer than needed
will still leak memory. Ok, gc handles the case of circular references,
sort of -- you get random cleanup order so they're still a bad idea.

> In the managed environment of the .NET CLR, much of this work is
> automatically managed by the CLR through its code access security,
> garbage collection, & MSIL.
>
> The real, tangible advantages are that less code is written and that
> the resulting programs are more robust and cross-language compatible.
>
> -Scott
>
> "John" <(E-Mail Removed)> wrote in message
> news:%23A%(E-Mail Removed)...
>> Hi
>>
>> What are the advantages actually achieved of managed code? I am not
>> talking of theory but in reality.
>>
>> Thanks
>>
>> Regards



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What has managed code achieved? John Microsoft ADO .NET 72 30th Oct 2008 06:30 AM
What has managed code achieved? John Microsoft ASP .NET 72 30th Oct 2008 06:30 AM
What has managed code achieved? John Microsoft Dot NET Framework Forms 72 30th Oct 2008 06:30 AM
Difference in managed code and managed object Girish Microsoft Dot NET Framework 1 1st Dec 2003 09:16 AM
Difference between Managed Code and Managed Object Girish Tripathi Microsoft Dot NET Framework 1 27th Nov 2003 04:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:09 PM.