Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #37345 > unrolled thread
| Started by | groovee@cyberdude.com |
|---|---|
| First post | 2019-09-23 07:56 -0700 |
| Last post | 2019-09-25 23:47 +0700 |
| Articles | 9 on this page of 29 — 9 participants |
Back to article view | Back to comp.lang.javascript
Compilers for Javascript? groovee@cyberdude.com - 2019-09-23 07:56 -0700
Re: Compilers for Javascript? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-09-23 17:37 +0200
Re: Compilers for Javascript? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-09-23 20:01 +0100
Re: Compilers for Javascript? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-09-23 22:20 +0200
Re: Compilers for Javascript? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-09-23 21:29 +0100
Re: Compilers for Javascript? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-23 14:40 -0700
Re: Compilers for Javascript? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-09-24 11:45 +0200
Re: Compilers for Javascript? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-24 04:39 -0700
Re: Compilers for Javascript? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-09-24 22:50 +0200
Re: Compilers for Javascript? groovee@cyberdude.com - 2019-09-25 12:13 -0700
Re: Compilers for Javascript? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2019-09-25 13:10 -0700
Re: Compilers for Javascript? groovee@cyberdude.com - 2019-09-26 08:38 -0700
Re: Compilers for Javascript? Arno Welzel <usenet@arnowelzel.de> - 2019-09-26 20:17 +0200
Re: Compilers for Javascript? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2019-09-26 12:30 -0700
Re: Compilers for Javascript? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2019-09-26 12:38 -0700
Re: Compilers for Javascript? Arno Welzel <usenet@arnowelzel.de> - 2019-09-26 01:46 +0200
Re: Compilers for Javascript? Arno Welzel <usenet@arnowelzel.de> - 2019-09-26 20:19 +0200
Re: Compilers for Javascript? groovee@cyberdude.com - 2019-09-26 23:59 -0700
Re: Compilers for Javascript? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-24 04:54 -0700
Re: Compilers for Javascript? Arno Welzel <usenet@arnowelzel.de> - 2019-09-26 01:40 +0200
Re: Compilers for Javascript? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-25 22:43 -0700
Re: Compilers for Javascript? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-09-26 12:14 +0200
Re: Compilers for Javascript? Arno Welzel <usenet@arnowelzel.de> - 2019-09-26 17:05 +0200
Re: Compilers for Javascript? dr.j.r.stockton@gmail.com - 2019-09-24 02:04 -0700
Re: Compilers for Javascript? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-09-24 12:11 +0200
Re: Compilers for Javascript? dr.j.r.stockton@gmail.com - 2019-09-24 06:02 -0700
Re: Compilers for Javascript? JJ <jj4public@vfemail.net> - 2019-09-24 19:34 +0700
Re: Compilers for Javascript? Joao Rodrigues <jr.c.l.js@gmail.com> - 2019-09-24 10:16 -0300
Re: Compilers for Javascript? JJ <jj4public@vfemail.net> - 2019-09-25 23:47 +0700
Page 2 of 2 — ← Prev page 1 [2]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2019-09-25 22:43 -0700 |
| Message-ID | <6c5f59e4-fc7d-436f-b173-05b27d172751@googlegroups.com> |
| In reply to | #37395 |
Den torsdag 26 september 2019 kl. 01:40:30 UTC+2 skrev Arno Welzel: > Jonas Thörnvall: > > > I am not sure Phonegap compile the files or if it just run the script > > in a browser package for the native platform, but it do create exe > > cutatbles for Android, Win and Mac. And they seem to have access to > > some part of filesystem. > > Adobe Phonegap (<https://phonegap.com>) is a tool to build applications > for mobile devices using JavaScript and HTML and uses Cordova > (<https://cordova.apache.org/>). > > The "executable" is a bundled package with a runtime and a browser > component and interfaces for JavaScript to provide access to the API of > the mobile OS. > > -- > Arno Welzel > https://arnowelzel.de So you say EvertJan was wrong the script is not compiled?
[toc] | [prev] | [next] | [standalone]
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
|---|---|
| Date | 2019-09-26 12:14 +0200 |
| Message-ID | <XnsAAD67C96AAF3Feejj99@194.109.6.166> |
| In reply to | #37399 |
<jonas.thornvall@gmail.com> wrote on 26 Sep 2019 in comp.lang.javascript: > So you say EvertJan was wrong the script is not compiled? Even this sentence is gramatically insufficient without a comma, it is impossible to reliably detect what you mean, so one can only guess. I am often wrong, but not often so wrong that you, Jonas could detect that. [1] Adobe Phonegap is a tool to build applications for mobile devices using JavaScript and HTML and uses Cordova. [2] Cordova runs on Node.js [3] Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine [4] Chrome's V8 JavaScript engine runs Javascript source. -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
[toc] | [prev] | [next] | [standalone]
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Date | 2019-09-26 17:05 +0200 |
| Message-ID | <gv42e2F6890U1@mid.individual.net> |
| In reply to | #37399 |
Jonas Thörnvall: Please DO NOT FULL QUOTE when you just answer with ONE SINGLE LINE! [full quote removed] > So you say EvertJan was wrong the script is not compiled? Look for yourself how Cordova works - thank you. -- Arno Welzel https://arnowelzel.de
[toc] | [prev] | [next] | [standalone]
| From | dr.j.r.stockton@gmail.com |
|---|---|
| Date | 2019-09-24 02:04 -0700 |
| Message-ID | <93f53600-6b16-44f5-8370-8449e16bfade@googlegroups.com> |
| In reply to | #37346 |
On Monday, 23 September 2019 16:38:24 UTC+1, Evertjan. wrote: > groovee wrote on 23 Sep 2019 in comp.lang.javascript: > > > I was wondering if there were any COMPILERS for JS, that can make an > > executable? I came across this one, thought I'd tell yall about it (I've > > not used it myself yet): > > Why and where would you need one? Compiled code is safer than script : (1) It cannot easily be edited, (2) It cannot easily be read, (3) It uses the CPU and the OS, but is safe against browser variations. Re (2) A long time ago, I requested and received some Pascal source code to study and maybe use. The compiler could read it; but the variable names and comment were in Hungarian. :-( -- (c) John Stockton, near London, UK. Using Google Groups. | Mail: J.R.""""""""@physics.org - or as Reply-To, if any. |
[toc] | [prev] | [next] | [standalone]
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
|---|---|
| Date | 2019-09-24 12:11 +0200 |
| Message-ID | <XnsAAD47C07C3D17eejj99@194.109.6.166> |
| In reply to | #37351 |
dr.j.r.stockton@gmail.com wrote on 24 Sep 2019 in comp.lang.javascript: > On Monday, 23 September 2019 16:38:24 UTC+1, Evertjan. wrote: >> groovee wrote on 23 Sep 2019 in comp.lang.javascript: >> >> > I was wondering if there were any COMPILERS for JS, that can make an >> > executable? I came across this one, thought I'd tell yall about it >> > (I've not used it myself yet): >> >> Why and where would you need one? > > Compiled code is safer than script : > (1) It cannot easily be edited, > (2) It cannot easily be read, But unsafer in modern times, John, as malicious code can more easily be hidden inside. [It seems the definition of "safer" has shifted! > (3) It uses the CPU and the OS, but is safe against browser > variations. You would still need some interface to the DOM, when using a browser environment. > Re (2) A long time ago, I requested and received some Pascal source code > to study and maybe use. The compiler could read it; but the variable > names and comment were in Hungarian. :-( Perhaps it looked like intermediate P-code, but in fact being Hungarian assembler-code: "egy, ketto, három, négy, öt, hat, hét, nyolc, kilenc, tíz" [I learned this from my father, who again got it from his parents's Hungarian maid around 1918. They, those maids, were cheap at that time, having escaped the famine overthere.] <https://en.wikipedia.org/wiki/P-code_machine> -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
[toc] | [prev] | [next] | [standalone]
| From | dr.j.r.stockton@gmail.com |
|---|---|
| Date | 2019-09-24 06:02 -0700 |
| Message-ID | <a487c6f6-7b62-4331-9125-64954fad5d69@googlegroups.com> |
| In reply to | #37353 |
On Tuesday, 24 September 2019 11:12:25 UTC+1, Evertjan. wrote: > JRS wrote on 24 Sep 2019 in comp.lang.javascript: > > > On Monday, 23 September 2019 16:38:24 UTC+1, Evertjan. wrote: > >> groovee wrote on 23 Sep 2019 in comp.lang.javascript: > >> > >> > I was wondering if there were any COMPILERS for JS, that can make an > >> > executable? I came across this one, thought I'd tell yall about it > >> > (I've not used it myself yet): > >> > >> Why and where would you need one? > > > > Compiled code is safer than script : > > (1) It cannot easily be edited, > > (2) It cannot easily be read, > But unsafer in modern times, John, > as malicious code can more easily be hidden inside. True. But script can easily be made malicious, by simply subtly changing a calculation to give plausible but incorrect answers - or, sometimes, by changing new Date(0) to new Date() - or even by using a different browser. > > [It seems the definition of "safer" has shifted! > > > (3) It uses the CPU and the OS, but is safe against browser > > variations. > > You would still need some interface to the DOM, > when using a browser environment. I presumed that compiled executable code would not be for running (how?) in a browser. > > Re (2) A long time ago, I requested and received some Pascal source code > > to study and maybe use. The compiler could read it; but the variable > > names and comment were in Hungarian. :-( > > Perhaps it looked like intermediate P-code, > but in fact being Hungarian assembler-code: No, it was perfectly normal Pascal code, but with unpronounceable variable names and unreadable comment (except that it might have been Algol 60 (I knew which it was at the time)). It was, however, mathematically clever (for its time), which is why I asked for it. -- (c) John Stockton, near London, UK. Using Google Groups. | Mail: J.R.""""""""@physics.org - or as Reply-To, if any. |
[toc] | [prev] | [next] | [standalone]
| From | JJ <jj4public@vfemail.net> |
|---|---|
| Date | 2019-09-24 19:34 +0700 |
| Message-ID | <ha7l4hw2lz9l.dvlisy3pfdzl.dlg@40tude.net> |
| In reply to | #37345 |
On Mon, 23 Sep 2019 07:56:57 -0700 (PDT), groovee@cyberdude.com wrote: > Hi, > I was wondering if there were any COMPILERS for JS, that can make an executable? I came across this one, thought I'd tell yall about it (I've not used it myself yet): > > https://nectarjs.com/# > > Are there any others? How do they compare, if anyone knows? > > Thanks! :) I've searched for it some years ago and couldn't find any. That NectarJS seems to be a new project. The compiling part is almost perfect, because it produces Windows EXE files which are not entirely valid (miscalculated field value(s) in PE header). The JavaScript part seems to be at an early stage, considering that the try-catch exception handling has not yet fully functional. But the project's future is promising. Worth to wait for.
[toc] | [prev] | [next] | [standalone]
| From | Joao Rodrigues <jr.c.l.js@gmail.com> |
|---|---|
| Date | 2019-09-24 10:16 -0300 |
| Message-ID | <qmd4v2$5n8$1@gioia.aioe.org> |
| In reply to | #37345 |
Em 23/09/2019 11:56, groovee@cyberdude.com escreveu: > Hi, > I was wondering if there were any COMPILERS for JS, that can make an executable? I came across this one, thought I'd tell yall about it (I've not used it myself yet): > > https://nectarjs.com/# > > > Are there any others? How do they compare, if anyone knows? > With Electron, one can build desktop apps using JS / Node.js, HTML and CSS: https://electronjs.org/
[toc] | [prev] | [next] | [standalone]
| From | JJ <jj4public@vfemail.net> |
|---|---|
| Date | 2019-09-25 23:47 +0700 |
| Message-ID | <1q0wq15nrs9pt.2ib462w0d84u.dlg@40tude.net> |
| In reply to | #37364 |
On Tue, 24 Sep 2019 10:16:21 -0300, Joao Rodrigues wrote: > > With Electron, one can build desktop apps using JS / Node.js, HTML and CSS: > https://electronjs.org/ Electron doesn't actually compiles the JavaScript code. It merely bundles the JavaScript code with native application which uses embedded web browser to run the JavaScript code.
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | comp.lang.javascript
csiph-web