DEV Community

Cover image for SpaceX and Javascript🚀
Ali Abbas
Ali Abbas

Posted on • Updated on

SpaceX and Javascript🚀

Yes, its damn true.

SpaceX in its recent launch Dragon 2 Flight has used a technology based on Chromium and Javascript

Alt Text

CGPA Calculator - CGPA Converter to Percentage

So Cheers to Javascript. What are your views on this ?

Oldest comments (35)

Collapse
 
realabbas profile image
Ali Abbas

Yeah Exactly they are mature now!

Collapse
 
ben profile image
Ben Halpern

I presume it was not the programming language's fault that those Boeing planes crashed tragically last year. So it won't be JavaScript's fault if things go wrong here. It's just one choice in a set of many tools to get the job done. Hopefully all necessary precautions were made and it was not used to do the things the language might be terrible at.

Collapse
 
easrng profile image
easrng

Oh god, don't tell me it was electron.

Collapse
 
realabbas profile image
Ali Abbas • Edited

Hahahha. Yeah really Electron is too heavy.! In this case, I would prefer PyQt

Collapse
 
gypsydave5 profile image
David Wickes

Nobody told the astronauts, right?

Collapse
 
sharadcodes profile image
Sharad Raj (He/Him)
Collapse
 
questary_stm profile image
Questary

Hope so

Collapse
 
fasani profile image
Michael Fasani

lol

Collapse
 
_hs_ profile image
HS

Interface as in UI.

Collapse
 
realabbas profile image
Ali Abbas

Yeah.

Collapse
 
realabbas profile image
Ali Abbas

Make sense 😂

Collapse
 
elliot profile image
Elliot

Typescript? I hope?

Collapse
 
dm8typrogrammer profile image
The Mighty Programmer

It is not about JavaScript maturity; it is about design choice. Garbage Collectors based languages are not used in mission-critical tasks because they may turn non-deterministic. It is not with C and C++ because, as a programmer, you control all the aspects.

 
dm8typrogrammer profile image
The Mighty Programmer

Yes, equivalent hardware overrides are in place.

Collapse
 
sharadcodes profile image
Sharad Raj (He/Him)

Try this out first

Collapse
 
dividedbynil profile image
Kane Ong

Using any language or runtime is acceptable as long as they handle the risks properly.

Collapse
 
fasani profile image
Michael Fasani

I wonder if they added an F5 button? Just in case...

Collapse
 
dividedbynil profile image
Kane Ong

Haha, I bet they have Ctrl+R too!

Collapse
 
not_jffrydsr profile image
@nobody

Brendan must be so proud his passion project broke through the stratosphere, (even if only for a UI). 🌟

I wonder why CommonLISP (or any robust LISPy code system) isn't used more ubiquitously for highly-dependable systems.

Don't know a whole ton about C or C++, just know LISP can address all their concerns plus virtually everything else in Computer Science (being based of Church's λ-Calculus) with an AST comparably faster, safer, and superiorly abstracted than C.

Am I tripping?

Collapse
 
pinotattari profile image
Riccardo Bernardini

This sheds a very ugly light on SpaceX and their commitment to quality. I mean, managing something as risky and complex as a rocket with a web browser and a language as frail as Javascript? A language that converts everything in everything else, making equality not transitive? A language that allows this
destroyallsoftware.com/talks/wat ?

No, definitively it is not acceptable, even if it controls just some minor stuff. A bug there could trigger a cascade.

Collapse
 
caroso1222 profile image
Carlos Roso

Yet they managed to dock into the ISS successfully. Is that unacceptable to you too? You would've coded the ui with assembler I assume.

People trash languages just for trashing them. It literally doesn't matter if you get to space with that, you won't be taken seriously. I don't find the logic in that argument.

Collapse
 
fasani profile image
Michael Fasani

Bugs speak more to the developer than the language. People bash JavaScript because they jump in without understanding it.

Collapse
 
nikhilroy2 profile image
Nikhil Chandra Roy

They might be used tensorflow js

Collapse
 
realabbas profile image
Ali Abbas

No. They are using Javacript for UI Interface

Collapse
 
dansimiyu profile image
dan-simiyu

Good stuff!

Some comments may only be visible to logged-in visitors. Sign in to view all comments.