What is in this article?:
- Developers Can Expect To See Everyware Everywhere
- Video Interview with Arlen Nipper
Building a system from the ground up including all the software can be rewarding, but it’s a timeconsuming process that’s prone to errors. That’s why developers utilize off-the-shelf processor boards, operating systems, and run-time systems. Systems that aren’t built with a significant amount of off-theshelf hardware and software are rare.
On the software side, C remains the dominant programming language of choice, with C++ bringing up the rear. C++ has made significant gains on the embedded side, so object-oriented programming isn’t a foreign methodology to embedded developers. But even with their popularity, C and C++ have some major challenges when it comes to creating bug-free code. Potential problems crop up with issues such as pointer errors and non-portable multithreaded applications, which are key with the growing plethora of multicore platforms.
Eurotech’s Everyware Software Framework (ESF) seeks to address many of these typical embedded development shortcomings (see the figure). ESF is based on Java and the OSGi framework, originally developed for Java applications running on a set-top box, although it can incorporate packages written in any programming language including C and C++. It’s available with many of Eurotech’s platforms, such as the company’s PC/104 boards, and it will eventually span its product line.
JAVA MYTHS AND LEGENDS
If you mention Java to many embedded programmers, the response is often jovial laughter or violent recrimination. They’ll repeat myths such as “Java can’t be fast and efficient,” “Java uses too much memory,” or “Java can’t do real-time applications,” so many programmaers might view Everyware with more than a bit of skepticism.
Everyware’s optimizing compilers, real-time pacing garbage collectors, and real-time Java implementations more than address these issues. In addition, Java has a number of features such as built-in multithreading, not to mention significant advantages when it comes to portability. So, it behooves C and C++ embedded developers to take a close look at platforms such as Everyware.
OSGi, ECLIPSE, AND LINUX
The Everyware Software Framework is based on Wind River Linux, IBM’s Java virtual machine (JVM), the OSGi framework (the basis for the Eclipse integrated development environment), and a host of general and hardware-specific “bundles.”
Bundles are Java packages. Each supported Eurotech board has its own hardware-specific bundle. This makes ESF more like a “super” board support package. The Java Native Interface (JNI) can be used to build bundles that incorporate C and C++ code or code developed using other languages as well.
ESF brings together a collection of software that has been readily available and in use for other application environments. The fact that ESF is a complete, integrated system that targets specific hardware will be a key to its success with embedded developers.
Arlen Nipper, Eurotech’s president and CTO, said that his company developed ESF because of the amount of time that customers spent developing pieces of OSGi technology in a custom fashion, such as bundle management and deployment. Likewise, they were spending a lot of time debugging code that had pointer errors. Java and OSGi address these issues.
Eurotech recognizes that ESF is not the only alternative. Developers can still buy Eurotech boards and use their regular tools and programming languages like C. However, the reasons to move to ESF are compelling.