News for hackers. Stuff that matters.
Re:Flash on iPhone would be a huge revenue leak by jrockway on Wednesday June 11, 2008 @01:06PM (#215032)
Between the tagline ("For Executives, Entrepreneurs, and other Digerati who need to know about SaaS and Web 2.0.") and the photo, I knew this wasn't a post worth reading.

Also, this is nice: "Java is an interpreted language. The JVM is the Java interpreter."

Re:Flash on iPhone would be a huge revenue leak by mattmaroon on Wednesday June 11, 2008 @04:27PM (#215255)
Can we all just agree that whether or not Java is an interpreted language is not really relevant to the post? Let's direct further criticism at the arguments and conclusions rather than small technical gaffes.
Re:Flash on iPhone would be a huge revenue leak by sophist on Wednesday June 11, 2008 @04:31PM (#215266)
I don't think anyone is claiming that Java is an interpreted language. The claim is that "interpreted language" to most managerial, non-hacker PHB types means "a language that at some point during execution requires interpretation."
Re:Flash on iPhone would be a huge revenue leak by mattmaroon on Wednesday June 11, 2008 @05:33PM (#215345)
I don't think non-hacker types even know what an interpreted language is. It's simply part of his explanation as to why flash would be an end run around iTunes. Even if he made a minor technical gaffe in calling Java an interpreted language or whatever (he also called Flex a language and a framework, when the language is action script right?) it's entirely irrelevant.

Anally nitpicking at that sort of thing does nothing to further discussion, and I hate to see it here so often.

Re:Flash on iPhone would be a huge revenue leak by sophist on Wednesday June 11, 2008 @06:30PM (#215396)
I don't think non-hacker types even know what an interpreted language is.

That was actually my point. When someone doesn't know the technical meaning of a phrase, they generally assume the literal and broad meaning of it. The target audience for the original blog post presumably falls mainly into that category.

And just because something is not of particular interest to you doesn't make it anal nitpicking that "does nothing to further discussion."

Re:Flash on iPhone would be a huge revenue leak by mattmaroon on Thursday June 12, 2008 @01:41AM (#215694)
It is of interest to me, it's just a minor technical mistake that has no relevance whatsoever to the overall article, and is therefore nitpicking.
Re:Flash on iPhone would be a huge revenue leak by sophist on Wednesday June 11, 2008 @03:15PM (#215149)
Also, this is nice: "Java is an interpreted language. The JVM is the Java interpreter."

Technically this is true. The JVM interprets Java bytecode in the sense that it translates the bytecode into machine language on the fly.

Re:Flash on iPhone would be a huge revenue leak by jrockway on Wednesday June 11, 2008 @03:49PM (#215194)
The JVM doesn't interpret Java, it interprets JVM bytecode. Java isn't interpreted, it's compiled to run on the JVM (or natively).

Basically, I'm in favor of a law that says "If you want to use the word compiled or interpreted in your blog post, you have to write a programming language first." That is the project you need to do to understand compiled vs. interpreted.

Re:Flash on iPhone would be a huge revenue leak by sophist on Wednesday June 11, 2008 @04:01PM (#215215)
Yes, I agree with you of course. But I think the intended audience for this blog would be operating on a slightly looser and less academic meaning of the phrase "interpreted language," where the answer to the question, "Does a Java program get interpreted when it runs?" would be affirmative.
Re:Flash on iPhone would be a huge revenue leak by jrockway on Wednesday June 11, 2008 @04:03PM (#215220)
But so does any computer program. What do you think non-virtual machines do?
Re:Flash on iPhone would be a huge revenue leak by sophist on Wednesday June 11, 2008 @04:09PM (#215227)
The difference is that binaries contain instructions that map directly to hardware operations, whereas bytecode is interpreted by a binary. The interpretation is an intermediate step that doesn't take place when a program runs on bare metal.

edit: Of course, it would be possible to build a machine that actually executes JVM instructions directly. It would also be possible to build such a machine for JavaScript, but if someone asks you whether JavaScript is an "interpreted language," the answer would still be affirmative, even if there are cases where it's not true.

Re:Flash on iPhone would be a huge revenue leak by rcoder on Friday June 13, 2008 @01:17PM (#216933)
Actually, at any given time, a large number of the "hardware" operations being passed to a modern CPU are actually being "interpreted" using the microcode implemented on the CPU itself.

Even in the case of instructions which do map directly to hardware ops, the CPU is still doing branch prediction and prefetching, which implies that the code is being examined (i.e., "interpreted") before being executed.

I'm not trying to say that performance isn't better when funneling native instructions down to the CPU; rather, just that it's worth remembering that there's really no such thing as "[running] on bare metal" any more, at least on a modern x86 ISA system.