托管代码和非托管代码之间的区别? [英] Difference between Managed Code and Unmanaged Code?

查看:92
本文介绍了托管代码和非托管代码之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

托管代码和UnMangaged代码有什么区别?一点点程序对我来说会更有帮助。

What is the difference between Managed Code and UnMangaged code? a little bit with program will be more helpful for me.

推荐答案

请查看以下链接。



文章

1. .NET中的托管代码和非托管代码 [ ^ ]。

2. 托管,非托管,原生:这是什么代码? [ ^ ]。



讨论

1. 托管代码与非托管代码? [ ^ ]。仔细阅读所有答案。

2. 管理VS非托管代码 [ ^ ]。



谢谢......
Please check out the below links.

Articles
1. Managed code and unmanaged code in .NET[^].
2. Managed, Unmanaged, Native: What Kind of Code Is This?[^].

Discussions
1. Managed Code Vs Unmanaged Code?[^]. Go through all the answers.
2. Managed VS Unmanaged code[^].

Thanks...


在托管代码中,内存分配和发布由底层系统管理(比如java中的JVM和.NET中的CLR),而在非托管代码程序员中需要这样做(比如在C中销毁指针)。
In managed code memory allocation and release is managed by underlying system (like JVM in java and CLR in .NET) whereas in Unmanaged code programmer need to do that (like destroying pointers in C).


这篇关于托管代码和非托管代码之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆