Re:The James Webb Space Telescope Runs JavaScript, Apparently
by nameistaken on Friday August 19, 2022 @06:23PM
(#32526728)
> It's a cut-down subset of the language and bolted down to prevent idiots installing random packages off the internet on an irreplaceable $10Bn instrument.
Webb-pack? Amirite?! Heyoh!
Re:The James Webb Space Telescope Runs JavaScript, Apparently
by nine_k on Friday August 19, 2022 @04:07PM
(#32525431)
It seems that the choice of what would work reasonably on the hardware while being orbit-programmable and not esotheric boils down to JS, Lua, Scheme, and Forth. The latter two have a steeper learning curve. Between JS and Lua, the former has more implementations, and by far more widely known.
Re:The James Webb Space Telescope Runs JavaScript, Apparently
by Evidlo on Friday August 19, 2022 @11:20AM
(#32522090)
As far as I'm aware, JS was chosen long before Micropython or node existed.
Re:The James Webb Space Telescope Runs JavaScript, Apparently
by skybrian on Friday August 19, 2022 @11:36AM
(#32522327)
Is there a document describing the language subset they picked?
Re:The James Webb Space Telescope Runs JavaScript, Apparently
by cxr on Friday August 19, 2022 @12:06PM
(#32522755)
A superset of ECMA-262, 3rd edition (1999).
<https://brent-noorda.com/nombas/us/devspace/manual/c/html/TH...> (full docs: <https://brent-noorda.com/nombas/us/devspace/manual/c/html/in...>)
Moar:
- <https://arc.aiaa.org/doi/pdf/10.2514/6.2006-5747>
- <https://brent-noorda.com/nombas/history/HistoryOfNombas.html...>
Re:The James Webb Space Telescope Runs JavaScript, Apparently
by skybrian on Friday August 19, 2022 @06:42PM
(#32526918)
Thanks! Those are good links.
Unfortunately the manual is rather vague; it’s not clear what the ScriptEase language extensions to JavaScript are, versus adding more objects and methods, which I wouldn’t consider to be changing the language.
I am not sure what they are talking about with this page about lifetimes: <https://brent-noorda.com/nombas/us/devspace/manual/c/html/TH...>
Re:The James Webb Space Telescope Runs JavaScript, Apparently
by cstross on Friday August 19, 2022 @11:43AM
(#32522428)
Not sure (but probably yes): I seem to recall ECMAScript was mentioned, not sure what version number.
Re:The James Webb Space Telescope Runs JavaScript, Apparently
by sentientslug on Friday August 19, 2022 @12:12PM
(#32522845)
Yes, in the article it says "Nombas ScriptEase 5.00e"
It's a cut-down subset of the language and bolted down to prevent idiots installing random packages off the internet on an irreplaceable $10Bn instrument.