• futatorius@lemm.ee
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    2
    ·
    3 days ago

    Musk would probably think that’s just fine.

    Server-side javascript is an abomination, but there’s more of it around than you might think.

    • NeonKnight52@lemmy.ca
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      15
      ·
      3 days ago

      Node.js is a fantastic tool for web servers. Its event loop allows it to rival much lower-level languages in performance while remaining easy to write and maintain. JavaScript has been the most popular programming language for nearly a decade.

      • green@feddit.nl
        link
        fedilink
        English
        arrow-up
        19
        ·
        3 days ago

        Just no man.

        Yes, JavaScript has been the most popular language but it is exclusively because of the front-end. Many companies do not want to pay for separate back-end devs and ask their front-end devs to do it instead. These people (ab)use JS because they’re most comfortable with it and are under crunch; so we end up with the abomination that is back-end JS.

        It is NOT rivaling much lower-level languages; it can’t even rival C#.

        First off, it is interpreted. You are never going to be faster than competently written C, C++, Go, nor Rust. Secondly, the resources it takes to exist makes in a non-option for embedded machines - which Social-Security facilities are all but guaranteed to use.

        Not to mention the horrendous (and insecure) package infrastructure, and under-powered core libraries - it would be the fullest extent disaster.

        The saddest part? The larpers at DOG(shit)E are all but guaranteed to pick the worst tools for the job, over-engineer, and have extremely poor management. Meaning whatever they ship WILL collaspe the system day 1; and all of the people refusing to pay attention will be like “hOw CouLd THis HaPPen”

        • NeonKnight52@lemmy.ca
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 hours ago

          I was only responding to the idea that no one should ever use NodeJS, as it’s good as a web server.

          A Honda Civic is a great car for what it’s built for and people know how to drive it. But I wouldn’t use it to haul gravel or drive the Indy 500.