Hard Light Productions Forums

Off-Topic Discussion => General Discussion => Topic started by: jr2 on May 09, 2011, 11:23:19 am

Title: Browser development web-comic-book by Google[sup]TM[/sup]
Post by: jr2 on May 09, 2011, 11:23:19 am
http://www.google.com/googlebooks/chrome

Interesting read.

BTW, could that open-source V8 engine mentioned improve the FSOpen Installer?
Title: Re: Browser development web-comic-book by Google[sup]TM[/sup]
Post by: The E on May 09, 2011, 11:28:55 am
No. How did you get that idea? V8 is a javascript interpreter, the FSO Installer runs on Java; despite the name, Javascript and Java have very little in common and aren't compatible.
Title: Re: Browser development web-comic-book by Google[sup]TM[/sup]
Post by: jr2 on May 09, 2011, 11:31:55 am
'cause I'm not a coder.  :D  And therefore I get silly ideas once in a while.  :warp:

EDIT: but still, Javascript can be run, right?  So you could port the Installer to javascript... I just don't like the lag when I click on folders etc in the Installer; it shouldn't take a full second to switch to a parent directory etc.  That and I get the feeling that it's taking the long way around when it gets lists and stuff.  (Although that may be the best way available, like I said, I don't code so I don't know.)
Title: Re: Browser development web-comic-book by Google[sup]TM[/sup]
Post by: Rodo on May 09, 2011, 11:33:54 am
snuffy, AKA: tl;dr
Title: Re: Browser development web-comic-book by Google[sup]TM[/sup]
Post by: jr2 on May 09, 2011, 11:34:32 am
snuffy, AKA: tl;dr

Oh, c'mon, it's a comic book!  :lol: and it's only like ~30 pages.
Title: Re: Browser development web-comic-book by Google[sup]TM[/sup]
Post by: General Battuta on May 09, 2011, 11:37:07 am
There's already a new installer in the works.
Title: Re: Browser development web-comic-book by Google[sup]TM[/sup]
Post by: Rodo on May 09, 2011, 11:38:40 am
Got to the 5th page and then dropped, sorry...I tend to have a very short concentration span time.
Title: Re: Browser development web-comic-book by Google[sup]TM[/sup]
Post by: The E on May 09, 2011, 11:50:08 am
but still, Javascript can be run, right?  So you could port the Installer to javascript... I just don't like the lag when I click on folders etc in the Installer; it shouldn't take a full second to switch to a parent directory etc.  That and I get the feeling that it's taking the long way around when it gets lists and stuff.  (Although that may be the best way available, like I said, I don't code so I don't know.)

Nope, javascript and Java are too different to make convert applications between them. To elaborate, javascript is code that is run in your browser. The very last thing you want is javascript running on your system with the privileges needed for an installer-type program; there are very good reasons why javascript doesn't have access to any vital areas of a computer, most of which have to do with evil people infecting computers with viruses.

Java, on the other hand, is a full-featured programming language that can be used to write nearly everything. The thing that makes Java stand out is that Java code is never run directly on a users' machine, but interpreted by the Java Virtual Machine (JVM) instead. This makes it easy to write cross-platform programs (since you don't have to care about OS-specific details, because the JVM hides all the specifics from you).
Title: Re: Browser development web-comic-book by Google[sup]TM[/sup]
Post by: Iss Mneur on May 09, 2011, 11:55:30 am
'cause I'm not a coder.  :D  And therefore I get silly ideas once in a while.  :warp:

EDIT: but still, Javascript can be run, right?  So you could port the Installer to javascript... I just don't like the lag when I click on folders etc in the Installer; it shouldn't take a full second to switch to a parent directory etc.  That and I get the feeling that it's taking the long way around when it gets lists and stuff.  (Although that may be the best way available, like I said, I don't code so I don't know.)

That lag is entirely due to the way the the FSO installer was written, and nothing to do with language that it was written in.  Goober5000 is in the process of rewriting the FSO Installer to improve it (I don't know the specifics).  We may possibly have Desura as an installer in the future.  wxLauncher will also become a launcher at some point.

All four possibilities all require coder time (Desura would probably be the least (as far as SCP coder time anyway)).  Also in regards to porting to V8 I have no idea what kind of GUI and network library support that it has which would be critical writing an installer with it.

Nope, javascript and Java are too different to make convert applications between them. To elaborate, javascript is code that is run in your browser. The very last thing you want is javascript running on your system with the privileges needed for an installer-type program; there are very good reasons why javascript doesn't have access to any vital areas of a computer, most of which have to do with evil people infecting computers with viruses.
Well, the point of V8 is that you can use it to do things like you can with Java, and as such is no more insecure than running a Java program (they all have permissions of the user they are running as).  That is, so it doesn't have to run in a browser.  The primary reason that Google wrote V8 was so that they could write application servers like you do with Java or any other language, but write them in Javascript.
Title: Re: Browser development web-comic-book by Google[sup]TM[/sup]
Post by: jr2 on May 09, 2011, 01:13:50 pm
Well, the point of V8 is that you can use it to do things like you can with Java, and as such is no more insecure than running a Java program (they all have permissions of the user they are running as).  That is, so it doesn't have to run in a browser.  The primary reason that Google wrote V8 was so that they could write application servers like you do with Java or any other language, but write them in Javascript.

I suspected as much but I wasn't sure..