Redian新闻
>
Managed Code vs. Unmanaged Code
avatar
Managed Code vs. Unmanaged Code# DotNet - 窗口里的风景
E*s
1
.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 thing
avatar
L*r
2
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.

Code
powerful

【在 E*******s 的大作中提到】
: .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 thing

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。