News for hackers. Stuff that matters.
Re:We need more native code by daleharvey on Tuesday April 17, 2012 @07:19PM (#3855552)
"We need to write the same app multiple times for each platform"

no we do not

We might have to in some circumstances, but that is a pretty terrible goal

Re:We need more native code by jlarocco on Tuesday April 17, 2012 @08:03PM (#3855683)
Actually, Javascript isn't the greatest example for cross-platform compatibility.

Assuming you're giving out the code (because Javascript has to...) there are more platforms with good C and C++ compilers than there are platforms with good Javascript interpreters.

The Wikipedia page for V8 [1] doesn't even list Solaris as a supported OS, for example.

[1] https://en.wikipedia.org/wiki/V8_(JavaScript_engine)

Re:We need more native code by daleharvey on Tuesday April 17, 2012 @08:32PM (#3855778)
I am sitting next to 5 devices, all 5 of them given a link can open a browser page and do what functionality most apps require, draw a ui, take input, process some output, save stuff etc

only 3 of those devices can actually run arbitrarily compiled apps, and of those 3 you have to build against an entirely different ecosystem (osx, ubuntu and android)

sure you can get a c compiler in most platforms, but that doesnt mean native apps are portable, they are by definition not

Re:We need more native code by rch on Tuesday April 17, 2012 @08:42PM (#3855804)
I was going to quip that Opera supports Solaris, but I guess that is no longer the case:

"...Opera has discontinued its support for Solaris. The Opera versions you see here are old and will no longer be updated."

-- http://www.opera.com/browser/download/?os=solaris-sparc&...

Can't say I blame them for dropping the platform though.