From the Editor - Traps? Who Needs Them?

by Don Marti

Our reader surveys consistently show that a lot of our readers are still running, and even developing code for, non-Linux operating systems. Whatever system you're coding for today, you can use Linux as your development platform and give yourself the flexibility of moving to Linux tomorrow.

In a recent essay entitled “Free But Shackled—The Java Trap”, Richard Stallman wrote, “If you develop a Java program on Sun's Java platform, you are liable to use Sun-only features without even noticing. By the time you find this out, you may have been using them for months, and redoing the work could take more months.” That's bad news, but platform lock-in isn't only for Java developers. So build and run your projects on an all-free system regularly to save yourself from accidental lock-in as you work. We're happy to offer four complete cross-platform sample applications in this issue.

First, Python is one of our favorite languages here at Linux Journal. Its simplicity makes old code, and other people's code, easy to understand and maintain. Let David Reed's GladeGen (page 40) write the GUI code for you, so you can focus on business logic.

The best development frameworks are the ones that grow cooperatively with an application that depends on them. Mozilla is a good example. Don't get Mozilla the browser mixed up with Mozilla the framework—work through Nigel McFarlane's process viewer utility on page 66 to understand how to use Mozilla's framework to write non-Web applications.

As dedicated followers of fashion, we're happy to have a blog tool written with the .NET-compatible Mono. Ian Pointer shows how it's done and scores two buzzword points on page 50.

If you need to develop for Microsoft Windows, you can save yourself the expense and learning time of another set of development tools. Joey Bernard's article on MinGW (page 58) shows you how to add Windows support to your Linux apps or bring Windows apps to Linux with minimal rewriting.

Finally, on page 83, John Healy, Andrew Haley and Tom Tromey explain how Red Hat made the popular Eclipse integrated development environment build natively with no Java Virtual Machine (JVM), and no proprietary dependencies, at all. Maybe Java developers are finally getting the hang of this cross-platform thing. Stay out of traps, don't fall for lock-in, and enjoy the issue.

Don Marti is editor in chief of Linux Journal.

Load Disqus comments

Firstwave Cloud