14 from IBM: SoCs, SELinux, compilers, find, reiserfs, Lua, BogoSec
May 12, 2006 — by LinuxDevices Staff — from the LinuxDevices Archive — viewsIBM has published the following new technical articles, tutorials, and downloads on its DeveloperWorks website. They cover a range of interesting (though not necessarily embedded) technical topics, primarily related to Linux and open source system development. Some require free registration. Enjoy . . . !
- The Future of System-on-a-Chip — Since its emergence about a decade ago, the SoC (system-on-a-chip) architecture has become the underlying architecture for many embedded systems and scalable supercomputers and is starting to find its way into general purpose computing as well. The SoC embodies what many believe to be the ultimate level of integration: an entire system on one chip. Moore's law and higher levels of integration made the SoC inevitable, but can this continue? And what's next?
- Enable SELinux From Scratch — SELinux, the U.S. National Security Agency's implementation of mandatory access control, is the most prominent new security subsystem in Linux. It comes installed by default in Fedora and Red Hat Enterprise Linux and is available in easy-to-install packages in other distributions. This article shows you how to convert a non-SELinux system by hand in order to expose details about how SELinux is integrated into a system.
- Compilers and Hardware Constraints — Programming in high-level languages such as C is like crossing an ocean without spending time looking at the water. developerWorks spent an hour with two IBM Research Compiler programmers exploring the ecosystem that lies beneath the surface.
- Advanced techniques for using the UNIX find command — The find command is one of the most powerful and useful commands in the UNIX programmer's repertoire. It is capable of much more than simply locating files; it can automatically execute sequences of other UNIX commands, using the filenames found for input, as this article explains. It is well worth your time to experiment with this command to see what works for you.
- Using ReiserFS with Linux — The most commonly used file system, ext2, is a traditional UNIX-style file system that doesn't mix well with modern hard drive sizes. The ext3 file system adds journalling, but not much else. If you want something really advanced, you might want to check out the current Reiser4 file system.
- Embeddable Scripting with Lua — Compiled programming languages and scripting languages each have unique advantages, but what if you could use both to create rich applications? Lua is an embeddable scripting language that is small, fast, and very powerful. Before you create yet another configuration file or resource format (and yet another parser to accompany it), try Lua.
- Software Security Analysis with BogoSec — BogoSec is a source code metric tool that wraps multiple source code scanners, invokes them on its target code, and produces a final score that approximates the security quality of the code. This article discusses the BogoSec methodology and implementation, and illustrates the output of BogoSec when run on a number of test cases, including Apache Web server, OpenSSH, Sendmail, Perl, and others.
- Cell Broadband Engine Processor DMA Engines — Part 1 in this series described the internals of the Cell Broadband Engine architecture and the main components that provide the on-chip DMA capabilities between the PPE and the SPEs. While the previous article covered DMA initiated by the PPE's Memory Flow Controller (MFC), this article delves deeper into the other half of the on-chip DMA transactions, covering the Cell BE processor's SPE DMA architecture, channels, and DMAs from the SPE's perspective.
- Use Apache Derby in your OpenLaszlo applications — Since OpenLaszlo's open source announcement, many developers have been using OpenLaszlo to create user-friendly rich Internet applications.
When you complete this tutorial, you'll be proficient in OpenLaszlo, be able to communicate with a Apache Derby database, and know how to insert, update, and delete data from the Apache Derby database using the OpenLaszlo markup language. - Considering Ajax: Cut through the hype — This article discusses the hype that currently surrounds Ajax. Reliable frameworks are still under construction, and you should worry about navigation history, bookmarkability, feedback, persistence, concurrency, and security. Use these coding tips to exploit the potential for Ajax greatness (and avoid the potential for its major problems).
- Eclipse Ajax Toolkit Framework and Ajax tools — The the new Open Ajax Initiative realizes the tremendous importance of introducing new tools to a growing community of Ajax developers. It is dedicated to building an open platform in which developers can collaborate. This article discusses two existing run-time tools, Dojo and Zimbra, which are supported in Eclipse's Ajax Toolkit Framework (ATF). The unified interface and advanced debugging capabilities in Eclipse bring an enterprise-class coding environment to the Ajax developer community.
- Eclipse Test and Performance Tools Platform — Learn how to use the capabilities of the Eclipse Test and Performance Tools Platform (TPTP) to convert application log files into a structured format. Then, using TPTP and other specialized tools designed to process and analyze log files, you can quickly discern usage patterns, performance profiles, and errors.
- Dynamic interface design with Swing — The Swing UI toolkit makes it possible, though not always easy, to update user interfaces dynamically in response to events or user actions. This article reviews some of the common ways you can build UIs that update dynamically, a few pitfalls you might encounter along the way, and some principles to help you decide when this is the right approach for the job.
- DB2 Viper test drive is now available — Viper is the code name for the upcoming release of DB2. Viper is a leading edge hybrid data server capable of supporting both relational and pure XML storage and provides all the necessary services to support both data structures. It also has tons of new features that increase performance and scalability for both XML and relational data. Go here to download Viper, Viper XML samples, Viper data server, Viper Developer Workbench, Viper Runtime Client, and much more including complete DB2 Viper Documentation.
This article was originally published on LinuxDevices.com and has been donated to the open source community by QuinStreet Inc. Please visit LinuxToday.com for up-to-date news and articles about Linux and open source.