Advertisement
Promo

Become a member of the ZDNet UK community

Jonathan Bennett

View blog's RSS Feed

Beyond the Code

or, how to win friends, influence people and make a living by writing open source software. It's not just about the code.

Follow me on Twitter as @jonobennett.

Tuesday 2 June 2009, 4:26 PM

OpenSolaris adds more developer goodies

Posted by Jonathan Bennett

The new version of OpenSolaris has quite a few new features, and some of them look interesting for the developer. While Crossbow will help during testing — having your entire application infrastructure replicated on your desktop is always useful — it's infrastructure rather than a productivity tool.

Some of the developer additions could be considered playing catch-up: Git and JavaFX have been available on other operating systems for some time. You could also argue that including compatibility with other OSs' APIs is just copying what others have done -- and Sun has only added two calls to OpenSolaris from Linux and BSD.

However, what's also been added are more traces for DTrace, OpenSolaris's not-that-secret weapon. If you're not familiar with DTrace, it's a debugging and optimisation tool that tells you exactly what your application does. That's not "what it's meant to do", but how it interacts with other code, including the operating system. Use it in the right way, and it's almost like having a Matrix-esque view of what's happening inside your system. It's available in Solaris, OpenSolaris, BSD and by extension Mac OS X. The Linux port is still in development.

Being able to increase your application's performance, or find out why you're thrashing the disk can save you hours of poring over code guessing at the answer. Like any good tool it takes time to learn how to use it properly, but once you have it's fantastic.

DTrace was one of the first components of Solaris to be released as open source by Sun. While this was under a licence incompatible with the GPL, but the porting effort has been able to compile DTrace on Linux with no kernel source changes, hence no licensing conflict. It will be interesting to see how using DTrace on Linux compares with other platforms, but until that time if you need to squeeze the most out of your application and the hardware it runs on, you could do worse than try compiling it on OpenSolaris and checking it out.

Comments on this post

Jonathan Bennett

This member is ranked #15 in our top 100

  • Jonathan Bennett
  • Applications Development, London
  • Member since: October 2006

Site Activity Rating 5

CoreTechs

Contacts' Latest Discussions

Number of Tracked Discussions: 1,920

Jake Rayson Jake Rayson

You mean Ubuntu isn't perfect?!?

Friday 6 November 2009, 3:44 PM

2 comments
ator1940 ator1940

Did not say it was.

Friday 6 November 2009, 2:13 PM

15 comments
ator1940 ator1940

Human error can be avoided.

Friday 6 November 2009, 1:49 PM

3 comments
ator1940 ator1940

MS Stuffs OOXML JTC1/SC34 Maintenance...

Thursday 5 November 2009, 3:42 PM

1 comment

Contacts' Latest Blogs

Number of Contacts Blogs: 18


Skip Sub Navigation Links to CNET Brand Links

Help

Become part of the ZDNet community.

Newsletters