当前在线人数14236
首页 - 分类讨论区 - 电脑网络 - 窗口里的风景版 - 同主题阅读文章

此篇文章共收到打赏
0

  • 10
  • 20
  • 50
  • 100
您目前伪币余额:0
未名交友
[更多]
[更多]
Managed Code vs. Unmanaged Code
[版面:窗口里的风景][首篇作者:Edelweiss] , 2003年10月19日18:58:13 ,488次阅读,1次回复
来APP回复,赚取更多伪币 关注本站公众号:
[分页:1 ]
Edelweiss
进入未名形象秀
我的博客
[回复] [回信给作者] [本篇全文] [本讨论区] [修改] [删除] [转寄] [转贴] [收藏] [举报] [ 1 ]

发信人: Edelweiss (雪绒花), 信区: DotNet
标  题: Managed Code vs. Unmanaged Code
发信站: Unknown Space - 未名空间 (Sun Oct 19 18:58:40 2003) WWW-POST

.NET code that uses FCL is called Managed Code.
  because it is managed by CLR

As you know that the CLR manage the execution of .NET programs and managing
the code is one way of managing .NET applications. When we write Managed Code
we don’t care about Memory management, Handling operating system low-level
functions because CLR abstract these details from us and manage it.

Unmanaged Code
it is the code that not managed by the CLR

it’s your responsibility to manage the memory and many other things, CLR
can’t control this kind of code but in the same time this code is a powerful
feature because you will gain access to the low-level operating system
functions and maybe will be useful in some circumstances.






--
※ 修改:·Edelweiss 於 Oct 19 18:58:40 修改本文·[FROM: 130.65.]
※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 130.65.]

 
LodossWar
进入未名形象秀
我的博客
[回复] [回信给作者] [本篇全文] [本讨论区] [修改] [删除] [转寄] [转贴] [收藏] [举报] [ 2 ]

发信人: LodossWar (sleepycat), 信区: DotNet
标  题: Re: Managed Code vs. Unmanaged Code
发信站: Unknown Space - 未名空间 (Sun Oct 19 19:40:33 2003) WWW-POST

Although most people will use managed code, knowing how to write unmanaged
code
is very very important. A lot of legacy systems are written using different
languages. Rewritting them is definetely a super bad idea. Reusing them by
writting unmaged code is the right way.

Considering .Net is new, this kind of migrating requirement will be great
recently.

【 在 Edelweiss (雪绒花) 的大作中提到: 】
: .NET code that uses FCL is called Managed Code.
:   because it is managed by CLR
:
:  As you know that the CLR manage the execution of .NET programs and managing
: the code is one way of managing .NET applications. When we write Managed
Code
: we don’t care about Memory management, Handling operating system low-level
: functions because CLR abstract these details from us and manage it.
:
: Unmanaged Code
:  it is the code that not managed by the CLR
:
:  it’s your responsibility to manage the memory and many other things, CLR
: can’t control this kind of code but in the same time this code is a
powerful
: feature because you will gain access to the low-level operating system
: functions and maybe will be useful in some circumstances.
:
:
:
:
:
:


--
※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 141.151.]

[分页:1 ]
[快速返回] [ 进入窗口里的风景讨论区] [返回顶部]
回复文章
标题:
内 容:

未名交友
将您的链接放在这儿

友情链接


 

Site Map - Contact Us - Terms and Conditions - Privacy Policy

版权所有,未名空间(mitbbs.com),since 1996