• Korhaka@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 days ago

    Unless you are making a HTML/CSS only site (based) what do you want to use instead?

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      2 days ago

      Invent a new internet where you can script pages directly in Python or TypeScript.

      Otherwise, you get to enjoy a silly toy language from the 90’s.

      • CarrotsHaveEars@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        2 days ago

        I’m 100% sure I can make Rust code (not even compiled to WASM) run natively in a browser like Firefox, given I have enough will power, time, energy, and money. The problem is getting everyone else to agree to this new standard.

        • CanadaPlus@lemmy.sdf.org
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          1 day ago

          In a scripting language, is there an advantage to no garbage collection? (I honestly don’t know)

          Someone else also pointed out to me, when I made a similar suggestion, that ability to partially fail but keep going is desirable in a web context. I don’t know, maybe there’s some way to make Rust do that more automatically than C. Python seems the be the standard for general-purpose scripting, which is why I mentioned it.