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


Groups > comp.lang.javascript > #35365

Re: ECMAScript in general

Path csiph.com!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.mb-net.net!open-news-network.org!.POSTED.35.233.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch!not-for-mail
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: ECMAScript in general
Date Sat, 07 Jul 2018 08:38:08 +0200
Organization PointedEars Software (PES)
Lines 168
Message-ID <2445753.mvXUDI8C0e@PointedEars.de> (permalink)
References <JavaScript-20180630201449@ram.dialup.fu-berlin.de>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
Injection-Info gwaiyur.mb-net.net; posting-host="35.233.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch:178.197.233.35"; logging-data="9471"; mail-complaints-to="abuse@open-news-network.org"
User-Agent KNode/4.14.2
X-User-ID U2FsdGVkX18m3RzkfYYuIoBigRuJMAFbl4OumTPTNbXRPY1x6NS3qg==
Cancel-Lock sha1:pzPt+lx5noFrX+4pz1zkm0KuhGo=
X-Face %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&.<b';Md8`dH6iqhT)6C^.Px|[=M@7=Ik[_w<%n1Up"LPQNu2m8|L!/3iby{-]A+#YE}Kl{Cw$\U!kD%K}\2jz"QQP6Uqr],./"?;=4v
Face iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXTxa4RFk5dUWANED8PFEfy7+MGBiW+n3ZNF/QuAAACaElEQVQ4jVXUwVOcMBQG8Dc7Rc4PUntdWV2uxjDpGaGeozOp1woar4jd5t/v9wLstMwsA/ntlxdCAgUc1hjTc9/JCZfGoo3wG3HdmdAWrIJRHe7GM/TmpY5VFefuVcAkkPbLIaN8rmPmjloyZxgyR3GuJ4K0AGtJ2htz8o7yqikm759fldQXaMpbDzjKAG+8v+AugVTOPO5DOjLvGtUYQwh0CPjnVMyGd+8/GfUB5nLKJDD2aLDh5HYyMDJGDwQIo2ZmZcKbowNmAdB/AzyFhrmF2MHRb0QJJfaAnwGB6orZhoykLzJtGwF/xpYxI1dswomiUj3gTuAIqCn/4C7cULwGNBtwMTk3Y4LfKB5YUaOKBKYtpplm7u0vip8tU1NWWyI/7XdcSuIDoMt6rVHMWT0DbjHPGqDqZVSa6zleLcUTcIKLoMv3ueJluALtAo9B302zPPlrtiVScRdCjXvVh3e3JpYa/jjkuC9N+LrBMlz/eAN4eQijX2EdLo6c5tGGHwLyHFtXk89dDGHwCVhG9T0S/j55AhRZgkMCmUQXJ49TnS1wnQDvw0eAh9ICeMmEFbCnPMFzjAvsWoEWEFdYEx+S0MoUZ1gT1wId8+AF3Bl2OoEu906AUHx5VLw/gXYg/x84loOah/2UYNrgiwSwGO7RfUzVBbx/kgpckumGOi6QirtD6gkLTitbnxNol47S2jVc2vsN5kPqaAHT8uUdAJM4v/DanjYOwmUjWznGfwB7sGtAtor5BgofDuzaRj4kSQAqDakTsKORa3Q3xKi3gE1fhl71KRMqrdZ2AWNNg/YOhQyrVBnb+i+nEg4bsDA+egAAAABJRU5ErkJggg==
Xref csiph.com comp.lang.javascript:35365

Show key headers only | View raw


Stefan Ram wrote:

>   1.) Change
> 
>   ECMAScript, Java, and C++ have at least one thing in common:
> 
>   In the Zero Years, they all did not change very much.
> 
>   But now, they are changing rapidly.
> 
>   Is this some kind of "mega trend"? Why?

All languages, natural and artificial, continuously adapt to the needs of 
their users.  IMHO, innovation speed in software development, particularly 
with regard to the Web, is increasing.  So it is not surprising that this
is reflected in programming languages.  

Also, one must consider the influence that programming languages have on 
each other.  ISTM that there is a competition between programming languages 
to meet the needs of their users so that they would not use another 
programming language instead that meets their syntactic needs better.  And 
the number of programming languages is only increasing.

For example, I find that ECMAScript has been influenced in recent years by 
Python (Object.keys(), Object and Array decomposition, generators, 
iterators), Java (classes and, in TypeScript, generics), and C# (anonymous 
function expressions/lambdas with arrow syntax); block scoping as introduced 
with JavaScript 1.7, then standardized in ECMAScript 2015 (ES 6), is the 
default in all of the aforementioned influences.

From my 2012 BSc thesis (where the most recent final Edition of ECMAScript 
that I considered was Edition 5.1 of 2010):

,-<http://PointedEars.de/es-matrix/application/doc/thesis.pdf>
| 
| […]
| 
| 5.3. Ausblick
| 
| ECMAScript und seine Implementierungen werden ständig weiterentwickelt und
| gewinnen stetig an Bedeutung nicht nur im Web-Umfeld. Neue Features werden
| den Sprachen hinzugefügt, alte fehlerträchtige oder mit Sicherheitsrisiken
| behaftete entfernt. Insbesondere für Mozilla JavaScript kann die Übernahme
| von neuen Features aus anderen Programmiersprachen, wie z. B. Python,
| beobachtet werden.
| 
| […]

Quick translation:

“5.3. Outlook

ECMAScript and its implementations are being improved continuously and 
continue to gain importance not only in the Web environment.  New features 
are being added to the languages; old, error-prone features and those that 
are fraught with security risks are being removed.  Especially for Mozilla 
JavaScript one can observe the introduction of features known from other 
programming languages such as Python.

[…]”

(Details can be found in the preceding sections.)
 
>   For one example: The JDK (Java) contained an ECMAScript
>   implementation ("Rhino", then "Nashorn"). It'll be removed in
>   Java 11, because ECMAScript changes just too much and too
>   fast, and it is too much effort to update Nashorn accordingly.

Cite evidence.
 
Rhino is simply Mozilla Foundation/Corporation (Mozilla)’s ECMAScript 
implementation in Java.  (SpiderMonkey is Mozilla’s [formerly: Netscape 
Communication Corporation (Netscape)’s] ECMAScript implementation in C/C++, 
which is used in widely distributed products of Mozilla 
Foundation/Corporation, and fork projects thereof, such as Mozilla Firefox, 
and Thunderbird).  Together they constitute Mozilla JavaScript.

<https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey>
<https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino>
<http://PointedEars.de/es-matrix#timeline>

Nashorn (German for “rhino[ceros]”) is something else: Oracle Corporation 
(Oracle)’s ECMAScript implementation in Java, first announced in 2011-07, 
confirmed in 2011-10, and source code publicly released in the OpenJDK 
repository in 2012-12:

<https://en.wikipedia.org/wiki/Nashorn_(JavaScript_engine)>

In 2010, Oracle acquired Sun Microsystems, Inc., inventors of Java and (by 
the 1995-12 agreement with now-disbanded Netscape) owners of the 
“JavaScript” trademark (so it is now owned by Oracle):

<https://en.wikipedia.org/wiki/Oracle_Corporation#Acquisition_of_Sun_Microsystems>

(As for the latter, see also subsection “2.1.2.2. Name” of my 2012 BSc 
thesis, and references therein.)

>   2.) TIOBE
> 
>   TIOBE is often criticized, but I have observed that other
>   statistics of programming-language proliferation often agree
>   with TIOBE. However, when it comes to ECMAScript ...
> 
>   TIOBE places JavaScript on position 7, with "2.495% -0.53%".
>   This seems off. Lemme quote another source:
> 
>   Translated
> 
> |JavaScript is probably the most used as well as the most
> |liked programming language
> 
>   Original
> 
> |JavaScript ist wohl bei den meistgenutzten als auch bei den
> |beliebtesten Programmiersprachen vorne
> 
> heise.de/-3661355
> 
>   The truth must be somewhere in the middle between "2.495%"
>   and "most used"!

Consider the TIOBE (“The Importance of Being Earnest”) Index methodology:

,-<https://www.tiobe.com/tiobe-index/programming-languages-definition/>
| 
| Since there are many questions about the way the TIOBE index is assembled,
| a special page is devoted to its definition. Basically the calculation
| comes down to counting hits for the search query
| 
| +"<language> programming"
| 
| In the next few sections it is explained what search engines qualify, what
| programming languages qualify and how the ratings are exactly calculated.
| […]

From my experience, I find it likely that fewer people would publish about 
“javascript (programming)” and “ecmascript (programming)” than, for example, 
“jquery (programming)”, “react (programming)”, or “node.js (programming)” – 
libraries and technologies that depend on ECMAScript implementations 
(“Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript 
engine.” – <https://nodejs.org/en/>).

Also, consider how many programming languages there are and, therefore, how 
close the percentages are.  The current figures are:

,-<https://www.tiobe.com/tiobe-index/>
| 
| Jun 2018   Jun 2017   Change   Programming Language   Ratings   Change
| ----------------------------------------------------------------------
|  1          1                  Java                   15.368%   +0.88%
|  2          2                  C                      14.936%   +8.09%
|  3          3                  C++                     8.337%   +2.61%
|  4          4                  Python                  5.761%   +1.43%
|  5          5                  C#                      4.314%   +0.78%
|  6          6                  Visual Basic .NET       3.762%   +0.65%
|  7          8         ↑        PHP                     2.881%   +0.11%
|  8          7         ↓        JavaScript              2.495%   -0.53%
|  9          -         ↑↑       SQL                     2.339%   +2.34%
| 10         14         ↑↑       R                       1.452%   -0.70%
| […]

Those are just a few reasons why one should not ascribe too much importance 
to the TIOBE Index.

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

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


Thread

Re: ECMAScript in general Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-07-07 08:38 +0200

csiph-web