Thursday, August 28, 2008

Cross Platform Examples

So I have been asked to describe what a cross-platform example would be. It's quite simple really. I like to define a cross-platform tutorial to be one whose use does not depend on the user's platform. For example, in a tutorial, depending on the Windows Registry or Windows standard file structure (My Documents, My Pictures) is not truly cross platform, even if you write separate code for each OS. Introduce an OS you didn't anticipate, and it falls apart. While it's impossible to write truly cross-platform code, a Java tutorial should be able to run on any platform that has the JVM.

For the purposes of this project, cross-platform is any platform that has a build of the Berkeley DB on it. That is to say, linux (x86, x64), mac osx (PowerPc, x86), solaris (sparc, x86), and windows (x86). Most of our development will be on Windows computers; while we have a primary focus on that platform, all of our samples will be tested on the above platforms.

So, to reiterate. In the case of this MQP, "cross platform" = Linux-x64, Linux-x86, MacOSX-PPC, MacOSX-x86, Solaris-Sparc, Solaris-x86, and Windows-x86.

No comments: