SpaceX and Javascript🚀
Ali Abbas

Ali Abbas @realabbas

About: Tech enthusiast with the passion to develop applications that can make this world better. "Whenever I get bored, I call API's"

Location:
India
Joined:
Apr 14, 2019

SpaceX and Javascript🚀

Publish Date: Jun 2 '20
81 41

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 ?

Comments 41 total

  • Robert
    RobertJun 2, 2020

    Btw. Image attached in the tweet is a prototype years ago.

    • Ali Abbas
      Ali AbbasJun 2, 2020

      Okay well I didnt know about that

      • Robert
        RobertJun 2, 2020

        Me too. Saw it in the comments

  • Ali Abbas
    Ali AbbasJun 2, 2020

    Yeah Exactly they are mature now!

    • Ben Halpern
      Ben HalpernJun 2, 2020

      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.

  • easrng
    easrngJun 2, 2020

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

    • Ali Abbas
      Ali AbbasJun 2, 2020

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

  • David Wickes
    David WickesJun 2, 2020

    Nobody told the astronauts, right?

  • HS
    HSJun 2, 2020

    Interface as in UI.

  • Ali Abbas
    Ali AbbasJun 3, 2020

    Make sense 😂

  • Elliot
    ElliotJun 3, 2020

    Typescript? I hope?

  • The Mighty Programmer
    The Mighty ProgrammerJun 3, 2020

    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.

  • The Mighty Programmer
    The Mighty ProgrammerJun 3, 2020

    Yes, equivalent hardware overrides are in place.

  • Sharad Raj (He/Him)
    Sharad Raj (He/Him)Jun 3, 2020

    Try this out first

  • Kane Ong
    Kane OngJun 3, 2020

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

    • Michael Fasani
      Michael FasaniJun 27, 2020

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

      • Kane Ong
        Kane OngJun 27, 2020

        Haha, I bet they have Ctrl+R too!

  • @nobody
    @nobodyJun 3, 2020

    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?

  • Riccardo Bernardini
    Riccardo BernardiniJun 3, 2020

    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.

    • Carlos Roso
      Carlos RosoJun 22, 2020

      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.

    • Michael Fasani
      Michael FasaniJun 27, 2020

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

  • Nikhil Chandra Roy
    Nikhil Chandra RoyJun 3, 2020

    They might be used tensorflow js

    • Ali Abbas
      Ali AbbasJun 4, 2020

      No. They are using Javacript for UI Interface

  • dan-simiyu
    dan-simiyuJun 3, 2020

    Good stuff!

  • The Mighty Programmer
    The Mighty ProgrammerJun 4, 2020

    Yes true, it is all about stronger determinism guarantees.

    Also, I agree in case of garbage collected (GC) Functional Programming languages, GC can offer stronger determinism due to immutability imposed by these languages which make them realtime capable. Even in case of Java, there are some GC algorithms can offer determinism guarantees.

    So in the end, any language runtime, if it can provide stronger determinism guarantees can be used for mission critical systems.

  • Questary
    QuestaryJun 5, 2020

    Javascript a strong Script

  • Damian Cipolat
    Damian CipolatJun 8, 2020

    I do not think that the people of spacex are improvised if they chose this technology for something it should be and achieved a level of maturity much higher than most think. I think this opens new doors for js and the power he is coming to have.

  • Carlos Roso
    Carlos RosoJun 22, 2020

    Oops you're going to hit a nerve in die-hard fundamentalists who code just about anything in Assembler or byte code.

  • Akash
    AkashJun 1, 2022

    I wonder if they should have gone with Typescript atleast although while I was learning Typescript, I was feeling that its too verbose and maybe making the codebase a lot bigger and complicated at someplace by forcing us to declare types again and again. There are subtle Typescript specific behaviour that might just cause debugging harder but SpaceX should and I dont know if they already have but they should conduct an AMA or podcast or conference about challenges and choices they faced and made with regards to software.

  • camo
    camoJul 26, 2022

    Try this in console

    ('b' + 'a' + + 'a' + 'a').toLocaleLowerCase()
    
    Enter fullscreen mode Exit fullscreen mode
Add comment