Windows CE与嵌入式Linux [英] Windows CE vs Embedded Linux

查看:166
本文介绍了Windows CE与嵌入式Linux的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我确信我们都很清楚Linux与Windows Desktop的相对优点。不过,我已经听不到嵌入式开发的世界了。我主要对行业解决方案感兴趣,因此对于iPhone或Android而言并不感兴趣,对这两个操作系统更感兴趣。

Now I'm sure we're all well aware of the relative merits of Linux vs Windows Desktop. However I've heard much less about the world of embedded development. I'm mainly interested in solutions for industry and am therefore uninterested about the IPhone or Android and more interested in these two OSes.

嵌入式世界的两个平台?如果您正在考虑使用自定义硬件,部分自定义的操作系统和自定义应用程序为特定项目构建一个框,那么您将选择哪一个,为什么?

What are the relative trade-offs between the two platforms in the embedded world? If you were considering building a box for a specific project with custom hardware, a partially customised OS and a custom app then which would you choose and why?

我认为Windows CE赢得了工具和Linux的成功和可能的性能胜利。不过这只是完全猜测。有谁有任何事实或经验的两个?

I would assume that Windows CE wins on tools and Linux wins on both cost and possibly performance. However this is just utter speculation. Does anyone have any facts or experience of the two?

推荐答案

我在一个提供CE和Linux的公司工作了几年对于他们所有的硬件,所以我很熟悉这个方程式的双方。

I worked for several years at a company that provided both CE and Linux for all of their hardware, so I'm fairly familiar with both sides of this equation.


  • 工具: Windows CE工具肯定比Linux提供的更好,尽管linux工具肯定会越来越好。

  • 性能: Windows CE是实时的。 Linux不是。 linux内核不是用于确定性的。您可以添加一些扩展程序来实时获取排序,但是CE会打开它。

  • 成本:这是一个很大的误区。我的一般经验是,CE是低成本开箱即用(Platform Builder为1k,运输运行时每台设备只有3美元)你问什么?Linux是免费的。 ,特别是在嵌入式领域,是的,有免费的发行版Debian,但是有很多可能需要的部分,不是那个免费的类别,像QT,Java运行时和媒体编解码器这样的UI框架也是一个开始。此外,大多数具有商业支持的支持系统(例如MontaVista)的Linux发行版都远离免费。

  • 源可用性:Linux支持者可能会喜欢说CE由于缺乏源代码,这是一个不好的选择,我可以说是在过去十年的CE工作中,其中一半用于定制内核和驱动程序的工作,我只需要源代码没有运送CE(他们运送绝大多数)一次,我喜欢也有源,但微软提供支持,所以在th很少见,您可能会认为您需要该源,您可以让他们解决问题(一次我们需要源码,Microsoft提供了一个修复程序,并免费提供 - 这是他们在CE下的模型。

  • Tools: Windows CE tools certainly are better than those provided by Linux, though the linux tools are certainly getting better.
  • Performance: Windows CE is real-time. Linux is not. The linux kernel is not designed for determinism at all. There are extensions that you can add to get sort-of real time, but CE beats it.
  • Cost: This is an area of great misunderstanding. My general experience is that CE is lower cost out of the box ($1k for Platform Builder and as low as $3 per device for a shipping runtime. "What?" you ask? "Linux is free." Well, not really so much, especially in the embedded arena. Yes, there are free distributions like Debian. But there are plenty of pieces that you might need that aren't in that free category. UI frameworks like QT, Java runtimes and media codecs just as a start. Also, most Linux distributions with a commercially-backed support system (e.g. MontaVista) are far from free.
  • Source Availability: Linux proponents may like to say that CE is a bad choice due to lack of source code. All I can say is that in over a decade of working with CE, half of which spent doing custom kernel and driver work for custom boards, I've only ever had need for source that didn't ship with CE (they ship a vast majority of it) once. I like having source too, but Microsoft provides support, so in the rare case you might think you need that source, you can get them to fix the problem (the one time we needed source, Microsoft provided a fix, and for free - which is their model under CE.

这是否意味着CE每次都会赢?不,我根本不会建议。如果您是Linux商店,并且您拥有大量的Linux体验和代码资源,那么您将无法顺利的使用CE。然而,如果从头开始,CE通常具有较低的TCO。具有Win32 / C#经验的开发人员更加普遍,因此更便宜。您还可以通过CE获得比大多数其他发行版更多的盒子,这意味着更快的上市时间,如果您还没有在内部完成这些工作。

Does this mean that CE wins every time? No. I wouldn't suggest that at all. If you are a Linux shop and you have lots of Linux experience and code assets, you'd be foolish to run out and go CE. However, if you're coming into it from scratch CE usually has a lower TCO. Developers with Win32/C# experience are more prevalent and consequently less expensive. You also get a lot more "in the box" with CE than most other distributions, meaning faster time to market if you don't already have these things done in-house already.

这篇关于Windows CE与嵌入式Linux的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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