.NET Micro Framework的和不支持的功能。有什么影响? [英] .NET Micro framework and unsupported features. What is the impact?

查看:157
本文介绍了.NET Micro Framework的和不支持的功能。有什么影响?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现该表列出在.NET微架构的局限性嵌入式开发,它指出仿制药不可因图像,这将创建的大小。在内存占用量应该低于300KB,并列入仿制药的推动规模超过此限制。

I found this table listing the limitations of the .NET Micro framework in embedded development, it states that generics are not available due to the size of the image this would create. The memory footprint needs to be below 300KB, and the inclusion of generics pushes the size over this limit.

这是否意味着,任何微架构code需要返回到ArrayList和相关缺乏类型安全的方式?

Does this mean that any Micro framework code would need to go back to the ways of the ArrayList and related lack of type safety?

还有什么其他影响将这些限制对发展使用.NET Micro Framework的?

What other impacts would these limitations have on development using the .NET micro framework?

感谢

推荐答案

你到数组,栈,队列和ArrayList。还有的没有的缺乏类型安全,这些类抛出一个InvalidCastException当程序员听错了。这不是一个问题,吨code已被写入.NET 1.x中没有泛型和这类虫子迅速冲洗出来。

You are down to arrays, Stack, Queue and ArrayList. There is no lack of type safety, these classes throw an InvalidCastException when the programmer got it wrong. This is not a problem, tons of code have been written in .NET 1.x without generics and these kind of bugs flush out quickly.

您链接到该表不显示缺少大量的标准辅助类。这可能使发展的尴尬,当你开始并没有得到一个感觉然而,对于什么是可用的。只是在开始的时候,你会捡起快。事实上,它是如此之小也使用户能够快速掌握。

The table you linked to doesn't show the large number of standard helper classes that are missing. That could make development awkward when you get started and haven't gotten a feel yet for what's available. Just in the beginning, you'll pick up fast. The fact that it is so small also makes it quick to master.

这篇关于.NET Micro Framework的和不支持的功能。有什么影响?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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