How many ES5 environments are still in use today?

doodad-js Admin doodadjs at gmail.com
Tue Jun 26 20:46:25 UTC 2018


Hardware makers should consider that < 256 MB (and I’m conservative) of RAM are nothing nowadays. And for ROM/Flash memory where code resides, <= 1 MB is really but really nothing and that’s a joke, and worst if you are using a >= 64 bits CPU.

 

Just my 2 cents.

 

From: Isiah Meadows <isiahmeadows at gmail.com> 
Sent: Monday, June 25, 2018 5:37 AM
To: Andrea Giammarchi <andrea.giammarchi at gmail.com>
Cc: es-discuss at mozilla.org
Subject: Re: Re: How many ES5 environments are still in use today?

 

WRT Duktape, I'm not exactly seeing broad ES6 support (ES7+ isn't much better): https://kangax.github.io/compat-table/es6/#duktape2_2

 

There's a few others with very bad ES6+ support that are still in broad use:

 

- Getting older businesses and organizations (like colleges) to transition away from IE is still a giant work in progress - Windows 7 and 8 (still supported) don't have Edge to shove it in their face, and many IT departments have their hands tied with bureaucracy.

- Nashorn has only modest support for ES6, but it targets an audience that doesn't use JS for anything heavy. (To be quite honest, giving them ES6 might *encourage* them to write worse code.)

 

-----

Isiah Meadows
me at isiahmeadows.com <mailto:me at isiahmeadows.com> 
www.isiahmeadows.com <http://www.isiahmeadows.com> 

 

On Mon, Jun 25, 2018 at 4:17 AM, Andrea Giammarchi <andrea.giammarchi at gmail.com <mailto:andrea.giammarchi at gmail.com> > wrote:

At JSConfEU they gave all participants a neonious:

https://www.indiegogo.com/projects/neonious-one-javascript-es6-ts-board-with-low-js-computers-animation#/

 

it has ES6 and it runs on similar ESP32 HW the Espruino runs too.

 

I don't think there's any particular issue in bringing ES6 there, but maybe not the whole thing works.

 

duktape also seems there with most features: http://duktape.org

 

Accordingly, I don't understand why anyone would be stuck at ES5 these days.

 

On Mon, Jun 25, 2018 at 5:34 AM Isiah Meadows <isiahmeadows at gmail.com <mailto:isiahmeadows at gmail.com> > wrote:

There's also JerryScript, which given their target platform, there's *no* way they're going to be able to reliably implement much of ES6. They target platforms like microcontrollers with less than 100KB of RAM and only a few hundred in flash memory. One of their automated test devices really pushes against it with its 192KB memory and 1MB flash memory. [2] (Their Raspberry Pi is like a supercomputer compared to the other two.)

 

Also, BTW, Rhino is at least *attempting* to implement some ES6+ features. [3] [4]

 

[1]: http://jerryscript.net/

[2]: https://www.st.com/resource/en/data_brief/stm32f4discovery.pdf

[3]: https://mozilla.github.io/rhino/compat/engines.html

[4]: https://github.com/mozilla/rhino/blob/master/RELEASE-NOTES.md

 




-----

Isiah Meadows
me at isiahmeadows.com <mailto:me at isiahmeadows.com> 
www.isiahmeadows.com <http://www.isiahmeadows.com> 

 

On Sun, Jun 24, 2018 at 1:34 AM, N. Oxer <blueshuk2 at gmail.com <mailto:blueshuk2 at gmail.com> > wrote:

Nobody's mentioned this yet, but Rhino is still in use in Google Apps Script, which means anything related to G suite and scripting (e.g. google sheets macros, google forms scripts) is also stuck at es3-5.


_______________________________________________
es-discuss mailing list
es-discuss at mozilla.org <mailto:es-discuss at mozilla.org> 
https://mail.mozilla.org/listinfo/es-discuss

 

_______________________________________________
es-discuss mailing list
es-discuss at mozilla.org <mailto:es-discuss at mozilla.org> 
https://mail.mozilla.org/listinfo/es-discuss

 



---
This email has been checked for viruses by AVG.
https://www.avg.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180626/2af0c8ea/attachment.html>


More information about the es-discuss mailing list