35
submitted 5 months ago* (last edited 5 months ago) by diy@sh.itjust.works to c/programming@programming.dev

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?

you are viewing a single comment's thread
view the rest of the comments
[-] diy@sh.itjust.works 2 points 5 months ago
[-] eager_eagle@lemmy.world 10 points 5 months ago* (last edited 5 months 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.

[-] banghida@lemm.ee 3 points 5 months ago

May I recommend Litestar over FastApi?

[-] eager_eagle@lemmy.world 5 points 5 months ago* (last edited 5 months ago)
[-] abbadon420@lemm.ee 1 points 5 months ago

I've heard a word or two about htmx. How's that? Any recommendations on how to start a first project with it?

[-] balder1993@programming.dev 7 points 5 months ago* (last edited 5 months 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).

[-] MyNameIsRichard@lemmy.ml 4 points 5 months ago* (last edited 5 months ago)

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

[-] tatterdemalion@programming.dev 4 points 5 months ago
[-] Asudox@lemmy.world 2 points 5 months 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.

this post was submitted on 07 Jun 2024
35 points (88.9% liked)

Programming

17314 readers
146 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS