Comparison of WinCE and Linux (excerpt) __linux

Source: Internet
Author: User
1 What is the difference between WinCE and Linux? (business model, learning and development difficulty, support for hardware, stability, help for future development of engineers, help for future development of research Center)
Advantages of embedded Linux OS compared to Windows CE:
First: Linux is open source, a large number of Linux enthusiasts all over the world is a strong technical support for Linux developers, Windows CE currently 6.0 core is all open, the GUI is not open. Second: Linux has a small kernel, high efficiency, and Windows CE consumes too much RAM. The third Linux is open source OS, very competitive in price, suitable for China's national conditions. Windows CE requires copyright charges. The Forth Linux not only supports x86 chips, but also a cross-platform system. Replace the CPU without encountering a replacement platform. Five, the structure of the Linux kernel is very complete on the web, providing support for 10 Chao, Gigabit and Gigabit Ethernet networks, wireless networks, Token ring (token rings), fiber optics and even satellites, and the current wince network capabilities are powerful.
Weaknesses in embedded Linux OS compared to Windows CE:
First: The Linux development difficulty is high, needs the very high technical strength, the wince development is relatively easy, the development cycle is short, the kernel is perfect, mainly is the application layer development. Second: The Linux core Debugging tools are not complete, debugging is not very convenient, there is no good user graphics interface, wince GUI rich, powerful development tools; third, the system maintenance is very difficult. Linux consumes a large amount of memory, and if you remove some of the unused functionality to reduce the amount of memory used, it can cause new problems if you are not careful.
2) What is the difference between WinCE 5.0 and 6.0?

100% Open Windows Embedded CE 6.0 kernel without reservation, Microsoft also launches Visual Studio 2005 Professional Edition as part of Windows Embedded CE 6.0. The Visual Studio 2005 Professional Edition will include a powerful plug-in called Platform Builder, a "integrated development environment" specifically for embedded platforms. This integrated development environment integrates the entire development chain and provides a tool that is easy to use from device to application, greatly speeding up the listing of device development. The Windows Embedded CE 6.0 redesigned kernel has 32,000 processor concurrent processing capability, each processing has 2GB virtual memory addressing space, while maintaining the real-time response of the system, adding new unit core data and speech group pieces, 6.0 contains components that make it easier for developers to create a projector that connects wirelessly to the remote Desktop Sharing experience via Windows Vista built-in features, making full use of multimedia technology to develop networked media devices, digital video recorders, and IP set-top boxes.


Linux is a single kernel, the graphics, drive and file system functions are all implemented in the operating system kernel, running in the kernel state and the same address space, its advantage is to reduce the process of communication and state switching system overhead, to achieve higher operational efficiency; The disadvantage is that the kernel is relatively large.


The

WinCE is a microkernel that implements basic functions in the kernel, while graphics systems, file systems, device drivers, and communications are placed outside the kernel to provide a variety of functions in the form of system services. The disadvantage is that the user's state and kernel state must be switched frequently in the running, which results in the system being less efficient than the monomer kernel.

from a face introduction, it is clear that in real-time, Linux is better than wince, but Linux drivers, file systems, such as the level of developers is not high, will seriously affect the stability of the system.

In fact, Linux and wince have their advantages and disadvantages, Linux kernel stability, strong network functions, network resources, but also free. But the disadvantage is that the free resources on the network are mostly trial-level, rather than product-level, n many bugs, so that Linux back the bag. And the operation is not humanized, to OEM manufacturers open source, these are Linux and wince competition disadvantage.

The strong point of wince is that developers turn from Windows easily, with development tools that are integrated, powerful, and aesthetically pleasing (but there are also many bugs in it). But to charge this is the heart of all companies that use wince, and the stability of wince is still to be improved.

Personal advice, if you have a strong and relatively stable community, to develop some Shanping, using Linux will be better. And the strength of some companies, the development of some use with a graphical interface products, with wince will be better.

Windows Linux differs in point 1. Drive and Application Data interaction: For the memory allocated in the drive, Windows maps the memory space in the drive to the application layer through MEMORYMAP, and the application and drive are operated through different addresses in the same address space, while Linux drives and the application layer have data interaction, It's done through Copytouser, Copyfromuser, and it looks like windows will be more efficient at this point. Linux also has a similar mmap mechanism. You can map the address of the kernel state to user space. 2. When application and drive need to sync: Linux is in the application by calling IOCTL to wait in the driver, the driver can also handle other tasks, can get the response of the event, and notify the waiting task end, so that the application can continue to proceed. If Windows waits in the driver, it will find that the driver is Deng and no longer responds to other inputs.  Therefore, the wait in the WinDOS is used in the application to callback with the Waitobject function. The 3 WinCE operating system implements the process/thread level two management model. Linux itself does not support threads, it supports process level. If you want to use a thread, you need to use line threading.

Good: The difference between LINUX and WINDOWS kernel

[Statement: Welcome reprint, reprint please indicate from CU accessory http://linux.chinaunix.net/bbs/thread-1153868-1-1.html]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.