Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #24779

Re: "i = i|0"

From James Kuyper <jameskuyper@verizon.net>
Newsgroups comp.lang.javascript, comp.lang.c
Subject Re: "i = i|0"
Date 2014-06-12 12:17 -0400
Organization Self
Message-ID <5399D2AA.6010100@verizon.net> (permalink)
References (5 earlier) <2078529.Slc7CH7YZo@PointedEars.de> <lnc5s2$df8$1@dont-email.me> <2122350.lP4zVSTnZj@PointedEars.de> <lnc9o6$7tk$1@dont-email.me> <1894582.2ZI1QNF3Jn@PointedEars.de>

Cross-posted to 2 groups.

Show all headers | View raw


On 06/12/2014 11:13 AM, Thomas 'PointedEars' Lahn wrote:
> James Kuyper wrote:
> 
>> On 06/12/2014 08:45 AM, Thomas 'PointedEars' Lahn wrote:
>>> [F'up2 comp.lang.javascript]
>>
>> Noted, and ignored. Explanation in last paragraph.
> 
> Noted, and rejected.  We are _not_ discussing C anymore.\

Where does this "We" come from? You are, of course, free to discuss
anything you wish. I, however, am still discussing the accuracy of the
connection between the original C code and the JavaScript produced by
Emscripten, a topic for which comp.lang.c is still an appropriate
cross-reference. The minute that this thread ceases to have a valid C
connection, I will also lose interest in it.

...
>> so I'm still not sure what the cross-reference was intended to convey.
> 
> There is no programming language called ”javascript”, and from that 
> everything else follows.  STFW.

I did indeed search the Web. The Wikipedia page for JavaScript says
"JavaScript (JS) is a dynamic computer programming language". so you'll
have to forgive me for thinking that there might be some truth in that
statement.

There's nothing unusual about Wikipedia being incorrect - but if so,
would you or anyone else who cares about the issue care to correct that
article? If so, how would you correct it?

>> From your comments earlier, I assume it's something about the case.
> 
> It is not just about the case, and I wonder which of my comments could have 
> mislead you to that assumption.

"... newsgroup name is case-insensitive ... You would not talk about “c”
either, ..."

That's not enough evidence to prove anything, but you were being too coy
to explain what you actually meant, so I was left with having to guess
what you were talking about based upon the limited amount of available
evidence.

...
>> Or should it be JavaScript?
> 
> Only if an ECMAScript implementation of that name is meant.  Since there are 
> now several such ones that differ considerably (I count three major ones; 
> the fourth name is just marketing), I would prefix them with the vendor name 
> or engine codename to avoid the ambiguity.

The Wikipedia page for JavaScript says that "JavaScript was formalized
in the ECMAScript language standard ...", which seem to imply that
JavaScript and ECMAScript are both valid terms, possibly referring to
subtly different things.

The OP called it JavaScript, without any prefix. He was talking about
Emscripten. The Emscripten web page
<https://github.com/kripken/emscripten/wiki> also calls what it produces
JavaScript, without any prefix. I don't think I'm competent to judge
whether or not it would be correct to take what they said about
"JavaScript", and treat it as if were an an equivalent statement about
"ECMAScript". Can you confirm that such a conversion would be correct? I
certainly have no basis on which to choose a vendor name to use as a
prefix. Would you care to identify the appropriate vendor?

Do the differences between those different versions of ECMAScript affect
the validity of Emscripten's translation of this C code? If so, how? If
not, there's no point in worrying about which one is being referred to.

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: "i = i|0" Ike Naar <ike@iceland.freeshell.org> - 2014-06-11 21:09 +0000
  Re: "i = i|0" James Kuyper <jameskuyper@verizon.net> - 2014-06-11 17:37 -0400
    Re: "i = i|0" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-12 00:56 +0200
      Re: "i = i|0" raltbos@xs4all.nl (Richard Bos) - 2014-06-12 11:41 +0000
        Re: "i = i|0" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-12 14:28 +0200
      Re: "i = i|0" James Kuyper <jameskuyper@verizon.net> - 2014-06-12 08:19 -0400
        Re: "i = i|0" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-12 14:45 +0200
          Re: "i = i|0" James Kuyper <jameskuyper@verizon.net> - 2014-06-12 09:25 -0400
            Re: "i = i|0" raltbos@xs4all.nl (Richard Bos) - 2014-06-12 14:50 +0000
              Re: "i = i|0" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-12 16:55 +0200
                Re: "i = i|0" Keith Thompson <kst-u@mib.org> - 2014-06-12 11:28 -0700
                Re: "i = i|0" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-12 20:46 +0200
                Re: "i = i|0" Christoph Michael Becker <cmbecker69@arcor.de> - 2014-06-12 20:58 +0200
                Re: "i = i|0" Kaz Kylheku <kaz@kylheku.com> - 2014-06-12 19:20 +0000
                Re: "i = i|0" Christoph Michael Becker <cmbecker69@arcor.de> - 2014-06-12 22:13 +0200
                Re: "i = i|0" Kaz Kylheku <kaz@kylheku.com> - 2014-06-12 21:15 +0000
                Re: "i = i|0" Christoph Michael Becker <cmbecker69@arcor.de> - 2014-06-12 23:59 +0200
                Re: "i = i|0" Christoph Michael Becker <cmbecker69@arcor.de> - 2014-06-13 01:10 +0200
                Re: "i = i|0" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-13 01:52 +0200
                ECMAScript standards (was: "i = i|0") Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-15 12:53 +0200
                Re: "i = i|0" Stephen Sprunk <stephen@sprunk.org> - 2014-06-12 17:11 -0500
                Re: "i = i|0" Denis McMahon <denismfmcmahon@gmail.com> - 2014-06-12 22:40 +0000
                Re: "i = i|0" glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2014-06-12 22:44 +0000
                Re: "i = i|0" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-13 01:16 +0200
                Re: "i = i|0" raltbos@xs4all.nl (Richard Bos) - 2014-06-16 12:55 +0000
                Re: "i = i|0" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-16 22:44 +0200
                Re: "i = i|0" Thomas Richter <thor@math.tu-berlin.de> - 2014-06-13 19:16 +0200
                Re: "i = i|0" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-13 19:21 +0200
                Re: "i = i|0" Tim Streater <timstreater@greenbee.net> - 2014-06-13 18:24 +0100
                Re: "i = i|0" Kaz Kylheku <kaz@kylheku.com> - 2014-06-13 21:25 +0000
            Re: "i = i|0" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-12 17:13 +0200
              Re: "i = i|0" raltbos@xs4all.nl (Richard Bos) - 2014-06-12 15:20 +0000
                Re: "i = i|0" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-12 17:32 +0200
                Re: "i = i|0" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-17 12:30 +0200
              Re: "i = i|0" James Kuyper <jameskuyper@verizon.net> - 2014-06-12 12:17 -0400
                Re: "i = i|0" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-12 20:01 +0200
                Re: "i = i|0" James Kuyper <jameskuyper@verizon.net> - 2014-06-12 16:13 -0400
                Re: "i = i|0" glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2014-06-12 20:44 +0000
                Re: "i = i|0" Kaz Kylheku <kaz@kylheku.com> - 2014-06-12 20:59 +0000
                Re: "i = i|0" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-13 01:22 +0200
                Re: "i = i|0" Martin Shobe <martin.shobe@yahoo.com> - 2014-06-12 19:48 -0500
                Re: "i = i|0" "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-06-12 18:32 -0700
                Re: "i = i|0" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-13 12:12 +0200
                Re: "i = i|0" John Harris <niam@jghnorth.org.uk.invalid> - 2014-06-13 10:16 +0100
                Re: "i = i|0" Tim Streater <timstreater@greenbee.net> - 2014-06-13 11:44 +0100
          Re: "i = i|0" "BartC" <bc@freeuk.com> - 2014-06-12 15:06 +0100
            Re: "i = i|0" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-12 16:54 +0200

csiph-web