Posts Tagged ‘Java’

DarkSide.Members++

Saturday, July 3rd, 2010

I’ve reinstalled my PC. Down to four partitions – the Acer recovery partition (the BIOS insists on it, won’t boot otherwise), 32GB for / (ext4), 4GB of swap and the rest for /home. Yep, no Windows. Except I now have two Windows installs… (more…)

Another day, another rubbish takeover…

Wednesday, April 28th, 2010

What on earth is wrong with the corporate world? People are buying other companies they should stay away from, believe me. Take Oracle and Sun. Oracle bought Sun to get their hands on Java, and to turn themselves into an IBM-style one stop shop. Fail. James Gosling has left, many of the key Sun Players have left, and all they’ve got left is some blue colours and some open source software. And Oracle really don’t understand open source. If they did, they wouldn’t be charging for the OpenOffice plugin…

And there’s more. Hp wants to buy Palm. (more…)

Free programming e-books

Wednesday, March 4th, 2009

For reasons that best need remain unsaid (oh all right then – I’ve forgotten) I was looking for some books on C++ (OK OK, I’ve lost my copy of Stroustrup – happy?).

Anyway, while browsing I came across Bruce Eckel’s interesting set of eBooks. Thinking in C+, Thinking in Java… all nicely rendered (with syntax highlighting) in HTML. So far so good – readable, clear on the history of C++ and so far looking rather nice. And free as well… what’s not to like? (I’m giving thought to buying the dead tree editions…)

Three for tonight: Java, dot Net and Flash

Wednesday, August 6th, 2008

Last night I had a hankering to watch the excellent Danny Kaye movie The Court Jester again. Hence the title: “Plan one,” says Basil Rathbone’s fiendish Ravenhurst: “The untimely demise of my lords Brockhurst, Finsdale, and Pertwee.” “Three for tonight,” Kaye replies, in his hypnotic state. “Proceed.”

Well, here’s my three for tonight: kind of in response to Cracked’s rather wonderful Tech Zombies: 6 technologies that don’t know they’re dead (and hey – I use the phonebook frequently), here’s three that ought to be dead.

dot Net

Maybe surprising this, as it’s one of the ways I make a living. But the truth is that Microsoft has been plugging this so hard they haven’t stepped back to examine whether the game is worth the candle. .Net is so slow that it has made using Windows, Office and other Microsoft products feel as slow as they ran on Windows 3.1 – and that isn’t a compliment. (Note to MS: still haven’t found any function I need in Word that wasn’t there in Word 2.0c, by the way.)

It gets worse. With Windows moving to 64-bit, the poor 64-bit support for the .Net platform is not only irritating, but a serious mistake. To run .Net applications on 64-bit operating systems without them crashing, you need to recompile them, preferably using a later version of the .Net framework. Fine if it’s a homebrew app but if you don’t have the sourcecode for your mission-critical application that runs your company… (And another note to MS: does Visual Studio 2008 do 64-bit .Net debugging yet? I haven’t tried it as so many features I need are missing from 2008 that I use daily in 2005).

Deploying ASP.Net applications is horrendous as well. ASP would just copy pages and run – .Net requires sever-level configuration. Whereas previously you could almost rely on ftp to manage an ASP site, with ASP.Net you often need to call some overstressed sysadmin to make a change in the IIS metabase XML to get things working. That feels like we’re back to OS/2′s cryptic configuration files again to me.

I won’t even go into Microsoft’s excrescent .Net-based attempt to compete with Flash (SilverBlight) because that’s pretty moribund already and only kept alive, albeit on life support, by being free – and therefore about a grand cheaper than Flash studio (although their exclusive deal to stream the Olympics is kill or cure – it’s bound to annoy every single Mac user, Windows 2000 user and non IE/Firefox user on the planet so it’s likely to make a few more enemies as of next week.)

The proper course of action would be for Microsoft to take .Net down to the vets and have it put to sleep, then announce its peaceful demise by desupporting it. Of course, what they will probably do is to bet the company on it and then sit around scratching their heads wondering why Windows is losing market share hand over fist.

Java

Write once, run anywhere. That was the slogan. Except it didn’t actually work like that.

First of all, there are so many gotchas in the JRE and the class library that you need a specific configuration of the JRE for each application. (I have known of a very well-known and respected application vendor that required a version of the JRE that was four years out of date for their application to run properly. This isn’t an uncommon scenario, either: for a while a major UK bank required using the Microsoft JVM to run their Internet banking – for almost a year after Microsoft were forced by Sun’s lawsuit to desupport it and stop offering it for download.)

Then there’s the enormous size of Java these days. Okay, so .Net tips in at 35MB, but the last JRE update I downloaded was over 100MB. Now, my ISP’s download limit is fairly generous, but come on guys – hard disks fill up quicker and quicker these days than they ever did!

Again, the best course of action Sun could take would be to wipe their hands clean of Java, desupport it and consign it to the dustbin of history. Fortunately, they haven’t bet the company on it, and aren’t likely to, but because Java runs in so many mobile phones and runs so many mobile applets – where the specific version of Java is less a problem than the specific phone – it’s likely to be around for a long time to come. Unfortunately.

Flash

Where do you start with Flash? Over the years it’s had several owners: FutureWave Software, Macromedia, and now Adobe. It started as a competitor to Macromedia’s ShockWave player, believe it or not (anyone use ShockWave any more?), was acquired by Macromedia and developed into the huge monster we know and presumably love.

It now encompasses everything: vector-based animation, movie playing, menus… in fact if you want to make your site look “cool and groovy”, the general knee-jerk reaction is to get out the Flash API and start coding.

Except that it renders your site almost completely unusable on mobile phones, PDAs, and the smaller PCs that are now the coming thing. It makes your content almost unsearchable by search engines, as well as ruining any chance that your site will be accessible. So you’ve now annoyed everyone with sight/hearing problems, and rendered yourself liable under section 509 or the Disability Discrimination Act, or both, depending on where you do business. Nice move.

What Adobe should do is to just retire the Flash product line, discontinue downloads of the Flash player and say “so long suckers, thanks for all the money”. In reality, what they will do is to cling to it like a shipwrecked sailor on a piece of board, desperately trying to swim to a cash-rich shore.

So there you are – my opinion on why three widely-used technologies should be taken out the back and shot. What do you think?

Java or .Net?

Friday, November 16th, 2007

Is either of them irrelevant to this blog? .Net looks irrelevant, Java doesn’t.

Before you think I’m an anti-Microsoft stormtrooper, I’d like to explain why.

Java works by using bytecode. It’s interpreted (or, more likely, converted into native machine code by the Java Runtime Environment) as being machine code targeted to a specific design of machine: a particular non-existent (well, when it was invented, anyway) processor and hardware set designed by one of Sun’s best cowboys, James Gosling.

.Net, however, works more like the GNU compiler collection, where everything is compiled to an intermediate language, that is kind of a meta assembler language which works on any processor. There is, actually, precedence for this – the famous Spectrum game Pyjamarama was written that way, and the programmer went on to create TeeOS around the same idea.

So, to come back to why Java is relevant and .Net isn’t, here’s the bottom line: Java is emulated, .Net is compiled.

Except that I also plan to write about obscure programming languages as well. So I suppose .Net, being a compiler inside, is relevant on those grounds.

One all.