News for hackers. Stuff that matters.
Re:Node.js 16 Available Now by eat_veggies on Tuesday April 20, 2021 @01:45PM (#26877943)
The spaceX rockets use node for parts of their user interface—which is as close to the spirit of "mission critical" as you can get
Re:Node.js 16 Available Now by lunfard00 on Tuesday April 20, 2021 @03:00PM (#26879603)
Do they? Nodejs is only backend/builders, so they could be just running javascript on a chrome-like instance, no nodejs involve at first. They probably have the services running on nodejs that poll sensors (or read messages queues) to reduce complexity but not 100% certain.
Re:Node.js 16 Available Now by Me1000 on Tuesday April 20, 2021 @03:17PM (#26879917)
Yeah, the parent comment here is a little off.

Node is not for UIs, so they're definitely not using Node for that. It was confirmed that the UIs in the Dragon capsule (which, sorry for being pedantic, is not really the "rocket") ran on top of Chromium. It's possible SpaceX uses Node under the hood somewhere, but I don't believe that has been confirmed anywhere.

Also kind of interesting to note that it's only the Dragon capsule with humans that has controls, the capsule (and rocket) are both autonomous. The controls on the capsule are only there "just in case".

Re:Node.js 16 Available Now by jonathanlydall on Tuesday April 20, 2021 @03:38PM (#26880294)
Electron’s “main” thread uses Node. You can then communicate between it and browser windows over IPC easily with their APIs.

So if they’re running their UI on Electron, it could be on Node.

Re:Node.js 16 Available Now by joelbluminator on Tuesday April 20, 2021 @04:23PM (#26881070)
Ah I was wondering why their missiles keep crashing...