Hi
What are the advantages actually achieved of managed code? I am not talking
of theory but in reality.
Thanks
Regards 67 1988
"John" <in**@nospam.in fovis.co.ukwrot e in message
news:%2******** **********@TK2M SFTNGP04.phx.gb l...
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>
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
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" <in**@nospam.in fovis.co.ukwrot e in message
news:%2******** **********@TK2M SFTNGP04.phx.gb l...
Hi
What are the advantages actually achieved of managed code? I am not
talking of theory but in reality.
Thanks
Regards
John,
What do you think?
Cor
"John" <in**@nospam.in fovis.co.ukwrot e in message
news:%2******** **********@TK2M SFTNGP04.phx.gb l...
Hi
What are the advantages actually achieved of managed code? I am not
talking of theory but in reality.
Thanks
Regards
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" <in**@nospam.in fovis.co.ukwrot e in message news:%2******** **********@TK2M SFTNGP04.phx.gb l...
Hi
What are the advantages actually achieved of managed code? I am not talking of theory but in reality.
Thanks
Regards
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" <no***********@ nowhere.comwrot e in message
news:OJ******** ******@TK2MSFTN GP04.phx.gbl...
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" <in**@nospam.in fovis.co.ukwrot e in message
news:%2******** **********@TK2M SFTNGP04.phx.gb l...
>Hi
What are the advantages actually achieved of managed code? I am not talking of theory but in reality.
Thanks
Regards
"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:OJ******** ******@TK2MSFTN GP04.phx.gbl...
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! |
*************** *************** **************
Less Blue Screens by junior developers. ;-)
Realistically, from my COM days, the biggest real world advantage is not
having to register everything and the pain associated with registering
development builds to properly test.
Of course, if you use MTS, you had the option of dropping the running
process and droppping a new COM DLL over the old DLL. But this was thinking
WAY outside the box. You also ended up having to add the weight of MTS to
your app. Not too bad with web apps, which already had most of the weight.
Not as exciting for other apps.
With .NET, however, you can do this without a kludge. So that is a real
world advantage.
--
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! |
*************** *************** **************
"John" <in**@nospam.in fovis.co.ukwrot e in message
news:%2******** **********@TK2M SFTNGP04.phx.gb l...
Hi
What are the advantages actually achieved of managed code? I am not
talking of theory but in reality.
Thanks
Regards
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John |
last post by:
Hi
What are the advantages actually achieved of managed code? I am not talking
of theory but in reality.
Thanks
Regards
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
| |
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |