Linked by David Adams on Tue 22nd Nov 2011 03:47 UTC, submitted by fran
Humor "The world of software is made slightly crazy because of the huge flexibility within any computer language. Once you have absorbed the idea of a compiler written in the language it compiles what else is there left to gawp at? But... a Java Virtual Machine JVM written in JavaScript seems like another level of insanity."
Thread beginning with comment 497917
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: Browser vs OS
by WorknMan on Tue 22nd Nov 2011 13:38 UTC in reply to "RE: Browser vs OS"
WorknMan
Member since:
2005-11-13

They tried that with Java 15 years ago, but people didn't like it, because of the usual it looks ugly, it's slow, takes a lot of memory, doesn't integrate with the system, it's hard to develop, and blah blah blah.


To be fair though, Java is an implementation, not a standard. What we need is a standard like ECMAscript, and let the vendors fight over who will have the fastest implementation.

Anyway, you can't really do it outside the browser, as the "webapps" use HTML/CSS to render their GUI where possible (and I believe it's a truly masochistic exercise in most cases).


Why do we need a browser to render HTML/CSS? You could probably just have a webkit or other HTML engine running at the OS level that all apps can share. DOesn't MS/KDE already do this with Triden and KHTML respectively? And anyway, I would imagine the VM standard would have guidelines for drawing more traditional controls (and things like native access to the underlying hardware), so hopefully they wouldn't be so HTML/CSS heavy.

Reply Parent Score: 2

RE[3]: Browser vs OS
by lucas_maximus on Tue 22nd Nov 2011 17:46 in reply to "RE[2]: Browser vs OS"
lucas_maximus Member since:
2009-08-18

Why do we need a browser to render HTML/CSS? You could probably just have a webkit or other HTML engine running at the OS level that all apps can share. DOesn't MS/KDE already do this with Triden and KHTML respectively? And anyway, I would imagine the VM standard would have guidelines for drawing more traditional controls (and things like native access to the underlying hardware), so hopefully they wouldn't be so HTML/CSS heavy.


TBH I totally disagree with this.

Traditional GUI programming is a complete pain in the arse.

You almost always end up hardcoding one element or another.

HTML and CSS are damn easy to work with. JavaScript Event handlers almost work exactly the same in principle to Swing/Winforms etc.

Silverlight and Adobe flex use something very similar to CSS and HTML for the GUI ... and it works fine ... and fast.

Reply Parent Score: 2