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


Groups > comp.lang.javascript > #29834

Re: Compact connected regular graphs

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Compact connected regular graphs
Date 2016-03-06 19:21 +0100
Organization PointedEars Software (PES)
Message-ID <2504274.A2rVV2bxqN@PointedEars.de> (permalink)
References <89a552fe-de77-4ee6-9668-0d68b3ae8c49@googlegroups.com> <e68c7d7d-0088-4be2-b38e-c7975a4e7d7b@googlegroups.com> <8760wzbr8g.fsf@bsb.me.uk>

Show all headers | View raw


Ben Bacarisse wrote:

> jonas.thornvall@gmail.com writes:
> <snip>
>> If there only was an ecmascript compatible interpreter with load and
>> save data.
> 
> There is on my system (Linux).

That’s _GNU/Linux_ or _GNU+Linux_.  Give everyone involved in making it at 
least equal credit, please.

<http://www.gnu.org/home.en.html>

> I use node.js[1] but there are others.  If you use Windows it might be a
> bit harder to find something but I'd be surprised if there's nothing.
> 
> [1] https://nodejs.org/en/

Node.js is _not_ “an ecmascript compatible interpreter”; it is an “event-
driven I/O server-side JavaScript environment based on V8” or, IOW, “a 
JavaScript runtime built on Chrome’s V8 JavaScript engine” (ibid.)

AISB, ECMAScript implementations like Google V8 JavaScript are multi-purpose 
programming languages, but they are not self-sufficient: different to other 
programming languages, a runtime environment is required to make use of 
them.  It is then the *environment* that provides features such as the 
ability to load and save data, _not_ the implementation or the 
“interpreter”.  The implementation (programming language and 
compiler/interpreter) are *the means to use* the features provided by the 
runtime environment.

It is important to be able to separate conceptually, and therefore mentally, 
the ECMAScript implementation from the runtime environment in which it is 
used.  In this case, the *same* implementation (Google V8 JavaScript) can 
also be used in a *different* environment (e.g., Google Chrome and, in 
general, Chromium-based applications) that provides a *different* set of 
*additional* features.

I cannot stress this enough: The *same* source code works *unchanged* in 
different environments only as long it only uses *features common to both 
environments*; in the minimum case, it only uses features that are provided 
by the *implementation*.  And even that is true only as long as the 
*versions* of the implementation are either *the same or compatible* with 
regard to the *used* features.

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

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


Thread

Compact connected regular graphs jonas.thornvall@gmail.com - 2016-03-06 02:43 -0800
  Re: Compact connected regular graphs jonas.thornvall@gmail.com - 2016-03-06 05:44 -0800
    Re: Compact connected regular graphs Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-03-06 14:44 +0000
      Re: Compact connected regular graphs Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-06 19:21 +0100
        Re: Compact connected regular graphs Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-03-06 20:29 +0000
          Re: Compact connected regular graphs Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-03-06 23:21 +0100
            Re: Compact connected regular graphs Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-03-06 22:36 +0000
              Re: Compact connected regular graphs "Mr. Stefan Weiss" <krewecherl@gmail.com> - 2016-03-07 16:48 +0100
        Re: Compact connected regular graphs John Harris <niam@jghnorth.org.uk.invalid> - 2016-03-07 14:04 +0000
  Re: Compact connected regular graphs "Chris M. Thomasson" <nospam@no-spam.ws> - 2016-03-06 12:41 -0800

csiph-web