Is Javascript to .exe possible ?

The machines we love to hate

Moderator: Wiz Feinberg

Post Reply
Ingo Mamczak
Posts: 595
Joined: 6 Jan 1999 1:01 am
Location: Luimneach , Eire.

Is Javascript to .exe possible ?

Post by Ingo Mamczak »

Hi All ,
Is it possible to take javascript and compile it into a .exe program ?
I remember doing something along those lines with basic and a quickbasic compiler .
Or is there perhaps another language very similar to javascript that would make this possible ?
Thanks in advance ,
Ingo .
User avatar
b0b
Posts: 29108
Joined: 4 Aug 1998 11:00 pm
Location: Cloverdale, CA, USA
Contact:

Post by b0b »

Javascript programs talk to the web browser. That's their main reason for existing. All of real work is done by the browser, not by Javascript. You need the browser for Javascript to work.

So... Javascript cannot be compiled. And why bother anyway? You can execute an HTML file containing Javascipt by double-clicking it. That launches the browser and runs the script. The browser is Javascript's "run time environment".

------------------
<img align=left src="http://b0b.com/Averybob.gif" width=64 height=81><small>
</small> -b0b-   <small> quasar@b0b.com </small>
-System Administrator

User avatar
b0b
Posts: 29108
Joined: 4 Aug 1998 11:00 pm
Location: Cloverdale, CA, USA
Contact:

Post by b0b »

By the way, I think that the best language for making Windows EXE programs is Microsoft Visual C++. Just my opinion...
David Pennybaker
Posts: 1210
Joined: 7 Aug 2000 12:01 am
Location: Conroe, TX USA
Contact:

Post by David Pennybaker »

<SMALL>By the way, I think that the best language for making Windows EXE programs is Microsoft Visual C++. Just my opinion..</SMALL>
You mean you don't use Binary or Assembly? Image (shudder)

------------------
The Unofficial Photographer of The Wilkinsons


<FONT SIZE=1 COLOR="#8e236b"><p align=CENTER>[This message was edited by David Pennybaker on 07 January 2001 at 09:26 PM.]</p></FONT>
User avatar
Bobby Lee
Site Admin
Posts: 14863
Joined: 4 Aug 1998 11:00 pm
Location: Cloverdale, California, USA
Contact:

Post by Bobby Lee »

I didn't say that. Image
Fred Layman
Posts: 691
Joined: 3 Dec 1999 1:01 am
Location: Springfield, Missouri USA

Post by Fred Layman »

Mentioning Java Script, I've had an annoying problem ever since downloading AOL 6.0. When I enter AOL the page goes white almost immediately and the words "loading Java Script" show up in the lower left corner. The blue loading graph moves across the lower right corner. At first that took about 15 seconds and then the entry page to AOL came back on.

But lately loading the Java Script is taking so much time that a message comes on saying "that site is not accepting...." or something like that. I have to minimize that page to get to the first page of AOL. Anyone know what the problem might be? I'm about to return to my AOL 5.0.<FONT SIZE=1 COLOR="#8e236b"><p align=CENTER>[This message was edited by Fred Layman on 09 January 2001 at 09:01 PM.]</p></FONT>
Fred Layman
Posts: 691
Joined: 3 Dec 1999 1:01 am
Location: Springfield, Missouri USA

Post by Fred Layman »

Funny, its been getting slower and slower loading the Java Script, but as soon as I reported it on the Forum, it suddenly gets the loading done in 3 to 5 seconds. Is AOL tapping in on the Forum?
Ingo Mamczak
Posts: 595
Joined: 6 Jan 1999 1:01 am
Location: Luimneach , Eire.

Post by Ingo Mamczak »

Hi b0b ,
I was trying to get away from using the browser for some of the scripts .
Ingo .

User avatar
Bobby Lee
Site Admin
Posts: 14863
Joined: 4 Aug 1998 11:00 pm
Location: Cloverdale, California, USA
Contact:

Post by Bobby Lee »

What can you do with Javascript that wouldn't involve a browser?

Fred, are you confusing Javascript with Java applets? Javascript is part of the web page. It doesn't load separately. Java applets are separate program files that take a log time to download and initialize.

The name is the only similarity between Java applets and Javascript. Sun used the popularity of the Java language to market their scripting language. It's sort of like an Emmons b@nJo.
Post Reply