I’m looking for a programming language that can help me build a desktop application for Windows, macOS, and Linux that’s not big but not small either. Additionally, I’d like to be able to build a website with the same language. I’ve been considering Ruby, Python, Golang and JavaScript. Python seems to be mainly used for scripting and ai, so I’m not sure if it’s the best fit. JavaScript has a lot of negative opinions surrounding it, while Ruby sounds interesting. Can anyone recommend a language that meets my requirements?

    • Eager Eagle
      link
      fedilink
      English
      10
      edit-2
      25 days ago

      I’m writing a web app on Python + HTMX. Little to none javascript involved.

      If it’s something simple you can check out FastAPI. For more complicated projects involving data models and relationships, check out Django.

    • Baldur Nil
      link
      7
      edit-2
      24 days ago

      So many websites out there are built on Django, Flask, etc. (YouTube must have spent a decade using Python, Instagram, Threads etc. all use Python and optimize as they need).

    • @[email protected]
      link
      fedilink
      4
      edit-2
      25 days ago

      It can do back ends with django and flask but the only choice for front ends is javascript or something like htmx

        • @[email protected]
          link
          fedilink
          224 days ago

          Yeah, I’ve been using Rust with Leptos and Axum for a website I’ve been working on. Works great tbh. I don’t even know JS.