Java or .Net?
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.
Tags: .Net, Emulation and Virtualisation, gcc, Java, Virtualisation