| «« Thornley at Capital Music Hall, Ottawa | What's Up, Doc? »» |
|
About
I'm Ryan Lowe, a Software Engineering graduate living in Ottawa, Canada. I like agile software development and Ruby on Rails.
I write this blog in Canadian English and don't use a spell checker. Typos happen.
Projects
» Full-time Ruby on Rails freelancer
» Full-time with Rails since May 2005 » Former committer for RadRails (now Aptana) » I also have a few Rails side-projects in development: 1. wheretogoinTO.com Toronto nightlife 2. Hey Heads Up! TODO list and sharing 3. Layered Genealogy family history research 4. foos for foosball scoring 5. fanconcert for music fans (on hold) Hiring Rails developers? I can telecommute by the hour from Ottawa, Canada »» Email: rails AT ryanlowe DOT ca
BulletBlog
Now hosted on Hey! Heads Up -- check it out!
Syndication
Pings
Recent
Derek Lowe's (Ryan's older brother) words at Ryan's funeral
blog@ryanlowe.ca no more Forging Email Headers: Good, Bad or Ugly? Sarcastic Dictionary (Part 1 of Many) Tags Hierarchies Twisting Rails is Risky Business Risky Business? My Take on Early Alphas Whoa, it's August 2007 Closing Comments A Postscript to "Growth at the grassroots" »» All Blog Posts
Linkage
del.icio.us/ryanlowe
technorati/ryanlowe.ca/blog Aurora Roy Jim Andrew Trasker Travis Kibbee Karen Dr. Unk Ayana Van Bloggers Joel Spolsky Robert Scoble Tim Bray Dave Winer Raymond Chen James Robertson Ruby/Rails Bloggers rubyonrails.org weblog David Heinemeier Hansson Dave Thomas James Duncan Davidson Mike Clark Jamis Buck Signal vs. Noise Tobias Luetke Amy Hoy: (24)slash7 Jeremy Voorhis Eclipse Bloggers Planet Eclipse EclipseZone Luis de la Rosa Eclipse Foundation Kim Horne Billy Biggs Ian Skerrett Mike Milinkovich Bjorn Freeman-Benson Denis Roy
Archives
|
Write Once, Don't Run on Linux
I'm having an interesting problem with the daily builds of AudioMan. For now AudioMan is only meant to run on Java for Windows, but is built with Java for Windows or Linux on my build machine. This isn't a problem because both SDKs (javac) produce the same bytecode, right? It's not a problem until you try to test it. On Windows and Mac OS X the AudioMan test suite passes 100%. The Windows JVM I use is from Sun and the Mac JVM I use is from Apple. The Linux JVM is also from Sun and out of 899 tests, 9 of AudioMan's tests are failing for a variety of reasons -- mostly related to files, OS specific. See the builds page for the JUnit test results and errors. If you look at the code provided with Java, you'll see that many of the clases are shared between platforms. Only the classes that have OS-dependent idiosyncracies are implemented for each platform, like the File class. My problem really puts a damper on the "write once, run anywhere" mantra, doesn't it? It's the same reason why people dump on SWT: the implementations, though they use the same API, are developed independently. Given the size of the API, there are bound to be inconsistencies in those implementations -- and bugs, don't forget those. Even worse, different bugs between implementations of the JVM over different platforms. Even with these problems, can you see it being done another way? Posted at June 01, 2004 at 07:37 AM ESTLast updated June 01, 2004 at 07:37 AM EST Comments
|