I love to see Javascript used for stuff like this. It blew my mind that the James Webb Telescope uses a custom Javascript runtime for a lot of the onboard functions.
I love to see Javascript used for stuff like this. It blew my mind that the James Webb Telescope uses a custom Javascript runtime for a lot of the onboard functions.
https://news.ycombinator.com/item?id=19739454
Still not sure why they chose JavaScript.
According to their paper it's a commercial JavaScript engine however:
https://ui.adsabs.harvard.edu/abs/2006SPIE.6274E..0AB/abstra...
It would be like being excited at seeing someone using aluminum to build something over steel/wood/etc.
I think Javascript is a really fun language. I've done a lot of embedded C and it can be... exhausting? I would love to try Javascript on an embedded system, IoT device, etc. I'll bet a lot of the most annoying stuff can be abstracted away pretty easily on modern hardware.
I found this comment: https://news.ycombinator.com/item?id=19739454
" The language itself wasn’t so important as having adequate performance, robustness, memory use, reproducibility and extreme QC"
but I still don't understand. Interesting they went with a language that doesn't even have integers.
At least the comments on this reddit thread have some hilarious jokes:
https://old.reddit.com/r/javascript/comments/wrtny3/the_jame...
Looks like they released a paper, the abstract of which, indicates it's not a fully custom runtime, which would make more sense:
https://ui.adsabs.harvard.edu/abs/2006SPIE.6274E..0AB/abstra...
Unfortunately they want money to read the rest of it and I'm curious but not that curious, and I probably wouldn't understand it anyway.