[Duke Thinking]
« May 2008
SunMonTueWedThuFriSat
    
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
       
Today

XML



LINKS





CONTACT
Tom Marble's Weblog

template by
Helquin



20071106 Tuesday November 06, 2007

Red Hat and OpenJDK

I'm sure you've seen the news that Red Hat has signed the Sun Contributor Agreement (SCA) and the OpenJDK Community TCK License Agreement (OCTLA). My coworkers webmink, barton808, mr and rsands have already blogged about it!

It's important to realize that IcedTea is intended as a temporary project until the remaining closed bits of OpenJDK have been removed. The best explanation of comes from Andrew Haley (aph) when he introduced IcedTea.

Duke enjoying IcedTea with the Red Hat on
While others have talked about the "what it is" allow me to speculate on "what opportunities this creates". Now just as Pascal has got everyone thinking about FOSDEM 2008 it's about time for me to share with you more of a discussion which dates back to FOSDEM 2007 :)

At that time aph from Red Hat shared with me his idea of making OpenJDK part of the GNU/Linux tool chain. We have, separately, talked a great deal about the importance of integrated packaging and deployment for Java™ to be successful on GNU/Linux.

Getting into the "tool chain" would mean:
  • Being available on all architectures supported by the distribution
  • Debugger support so that, for example, it is possible to step from C++ code into Java code and back again.
  • Profiler support for mixed source programs... possibly even with kernel profiling (with oprofile)
  • Being installable as a valid build dependency for Java library and application developers
Tool chain status means it is a tool developers can count on being there. Getting the Java Developer Kit (JDK™ ) in the tool chain would make total sense and offer these benefits;
  • GNU/Linux applications based on Java could have a substantial percentage of code which is architecture independent. This would reduce the number of packages and size of the distributor's archive (because a *.jar file should run anywhere -- you package it one time for all architectures). It would also reduce time to build a new OS release for each architecture.
  • OS developers could write administrative utilities (at least partially) in Java instead of C and thus benefit from a rich set of libraries while avoiding the pitfalls of pointer manipulation
  • The pluggable look and feel framework of Java could help GNU/Linux get beyond the widget/desktop differences (Gnome, KDE, Xcfe) so that Java applications always look well integrated.
  • Developing GUI administration tools for GNU/Linux could improve the "ease of use" barrier for a new class of GNU/Linux users.
One of the strengths of GCJ is the broad platform coverage which includes not just x86, amd64, sparc, but powerpc, arm, ia64 and many other architectures. And therefore GCJ is available on all the platforms supported by Fedora. In addition GCJ can be debugged and profiled for pre-compiled programs. GCJ is in the Fedora tool chain.

The opportunities for OpenJDK are clear:
  • There is now an OpenJDK Porters group proposal to facilitate porting to new architectures (and other operating systems). Many developers have contacted me about porting OpenJDK to new combinations of operating systems + chip architectures.
  • Adding debugging and profiling capability to the HotSpot virtual machine is complex precisely because the methods are dynamically compiled, but we can leverage the technology in the NetBeans profiler -- recently available under the GPL.
  • As OpenJDK expands our infrastructure it will be easier to collaborate with the community on open source replacements for the remaining encumbrances. Consequently the 100% open source OpenJDK would be a candidate for inclusion in the main repository of Free Software GNU/Linux distributions.
Finally the TCK can help insure that the implementation of OpenJDK is 100% Java Compatible in addition to being 100% open source. This is the goal.
aph & tmarble (A big grazie to neugens for enhancing my flickr photo!)

That is why the rapprochement of the Red Hat team with OpenJDK can help Java move towards "tool chain" status, unleash the cross-architecture power on GNU/Linux, and expand Java Compatible ubiquity. Thank you Red Hat!

Posted by tmarble ( Nov 06 2007, 07:17:23 PM CST ) Permalink

20070928 Friday September 28, 2007

Clearing Encumbrances

As you know we have some encumbrances with OpenJDK. There has been some confusion about this so let me restate that Sun has released all the source code for OpenJDK under the GPL that we can. As a result we make some binary plugs available so that you can build OpenJDK.

Nevertheless it is our hope to get to 100% Free and 100% Java Compatible as soon as possible.

I'd like to give you a brief update on progress on our OpenJDK projects to clear the outstanding encumbrances.

Duke Moves Mountains
Igor announced our use of FreeType to close the font rasterizer encumbrance. Work to improve this implementation is ongoing.

Alex announced an abstraction layer to facilitate the clearing of the JavaSound encumbrance. Work continues to get implementations of Software synthesizer and OSS mixer.

Yesterday Brad announced that Crypto has been added to OpenJDK!

We are hoping to have some news on the graphics rasterizer RSN.

I'll give you more updates as I learn about them. Thanks for helping us on the path to 100% + 100%!

Posted by tmarble ( Sep 28 2007, 01:11:08 PM CDT ) Permalink Comments [2]

20070727 Friday July 27, 2007

FLOSS week
A week ago I was in Menlo Park to tape a SDN-TV segment with Kuldip on OpenJDK. Then starting on Sunday I was with our team in Portland at the UbuntuLive conference and gave a presentation.

In the segue from UbuntuLive to OSCON I was able to attend a meeting of open source community leaders to discuss, among other things, trademark law and open source projects. We also had Tiki Dare, Sun's trademark counsel, and Simon Phipps, director of Free Software, representing Sun. This was a fantastic session that highights the need to collaborate on this third element of law surrounding software projects. There was general consensus that sharing "case studies" would be a fantastic first step.

Party

On Wednesday OSCON got into full swing and we had our Sun party in the evening... it was probably one of the best we've ever thrown.

Today OSCON is wrapping up and I'm headed home. Thanks to all friends -- old and new -- that I met in Portland. And a special thanks for Janice for interviewing me for java.sun.com.

NOTE on submitting comments: The Roller software we use here at Sun is quite aggressive about which comments it likes. Please be patient if your comment which includes HTML is not displayed immediately. I will ensure it gets published the next time I check e-mail.

Posted by tmarble ( Jul 27 2007, 03:51:21 PM CDT ) Permalink