Linux and Solaris face off
Some reader experiences
Oliver Jones provides an even-handed summary: "I've been a stalwart Solaris x86 user for many years now - I refuse to run Linux on my hardware, when Solaris makes the penguin look decidedly second-rate." For reliability, he says: "I truly can't fault the Sun option: I consider that if Solaris is good enough for the banks, it's good enough for me."
But, he also says: "To be honest, Solaris isn't without issues - the number one I see at the moment is the user experience (especially with regard to hardware support). Sun really needs to plough some more development resources into hardware support, but we're getting there: Solaris x86 is absolutely fantastic compared to how it was in 2004, but it still has a while to go. Having the likes of Nvidia on-board is great, and hopefully the hardware support will accrete with time - as more people see the benefits of going Sun."
He talks of the need for a "consumer-friendly" installer and consumer marketing and says that: "The good news is that Intel could be a real asset, now that Sun and Intel have gotten into bed (again). Intel controls a lot of how computers work, and they could easily help Sun get a few consumer things right. Currently, ACPI support is non-existent in Solaris x86 - having Intel's support might mean that Solaris x86 gets the same level of energy support as Windows."
However, for businesses, he thinks Solaris is a bit of a killer option - about the same level of difficulty to handle as Linux and "every Solaris installation basically works the same way", he says, while, "Linux has a huge problem in that every distro has its own way of doing things, and it makes supporting Linux prohibitively expensive".
Rather surprisingly then, not everyone loves the Penguin. An anonymous reader wrote in to say: "Having developed for work purposes on Windows, Linux and Solaris in the past three years I am well placed to give an assessment to the experience on each platform. And, from a C++ programmer's perspective, the worst experience is Linux. Quite simply it doesn't work properly. gcc is fine as far as compilers go, but gdb is the most unstable debugger I've ever had the displeasure to use. Plus, there seem to be some bugs in the debugging information that gcc puts into the executable which makes it even worse."
Even more surprisingly, in present company, he quite likes Windows (to be fair, other people have commented that the "end-user experience" on Windows could be aspirational for both Linux and Solaris). "Visual Studio is a good tool and the debugger works very well - but for very complex projects it can be a little unstable. Since VC7.1 the standard is probably better supported than [with] gcc. Rational Purify, Quantify and Intel's VTune all have great up to date versions with a lot of capability for memory checking and profiling. Also VC++'s debugging mode gives a lot of useful information about memory leaks and can identify some memory problems before needing third party tools like Purify."
However, he comes down in favour of Solaris, which, he says: "comes out head and shoulders above the rest". "Since Sun Studio11 conformance to the standard has become an important issue for Sun, and they have done pretty well. They are the only compiler vendor I know who aim for boost support as a policy. dbx is simply outstanding. It is stable, gives good information, and has in-built tools that provide the same capabilities as Rational Purify, Quantify, VTune, etc. It is the best integrated development platform I have come across, and for a home users perspective, you can do difficult development without needing these expensive 3rd party tools. All in all it is very good."
This one will obviously run and run. David Carter, for example, works on a commercial product that runs on SPARC/Solaris, Windows, and Linux – and also on some open source software that runs on Linux, Solaris, OS/X and eventually Windows. He finds Sparc machines slow and expensive: "I've still chosen them over Windows primarily for the better development environment, but have wished while doing so that I could use Linux on a faster machine. When we finally decided to support Linux, I rejoiced."
For his open source work, Carter finds that: "Patching a Solaris box is a pain in the a**. Linux is so much easier. Sun's patch management systems are geared at paid for clients, and it's pretty impossible to path the multiple Solaris systems I use for development and testing. So I don't. I develop on Linux, and use my old Sun boxes for testing only." He realises that Solaris on x86 is an option but "at this point, I don't see any advantage to making the switch that would justify that effort. Just as I don't run Linux on Sparc, I'm not likely to run Solaris on x86 any time soon".
Let's finish with a final quote from Oliver Jones: "Time will tell if Sun kills the penguin - or not. But one thing is certain, without the penguin we would not have had Solaris x86. This is one thing that is definitely worth remembering Linus Torvalds in a positive light for."
Yes indeed – and I, for one, think that Linux and Solaris will co-exist for a long time, although with Open Solaris steadily increasing its popularity outside the Enterprise. ®
Sponsored: VersaStack at-a-glance brochure