DEV Community

Cover image for Rust, JavaScript, or Python?

Rust, JavaScript, or Python?

dev.to staff on March 10, 2024

Which programming languages do you prefer for back-end development, and why? Follow the DEVteam for more discussions and online camaraderie! ...
Collapse
 
robertobutti profile image
Roberto B.

My first choice is PHP, and this is my why : dev.to/robertobutti/why-php-2e4h

But as a developer, i love programming.

As a developer, I find joy in utilizing and expanding my skills in various programming languages such as Rust, Go, JavaScript, and Python. I firmly believe that a language is merely a tool; it is us, as human beings, who truly make the difference. Therefore, it is crucial not to align ourselves too closely with any particular language, especially in today's rapidly evolving landscape.

We are currently witnessing significant shifts in programming paradigms, and it's likely that the way we operate in programming will undergo profound changes in the coming years. This could entail a reduction in traditional constructs like loops and conditionals, with an increasing emphasis on concepts such as pipelines, transformations, and patterns.

As programmers, it's imperative that we maintain a mindset of flexibility, readiness to learn, and willingness to embrace new tools and methodologies. Adaptability is key in navigating the ever-changing terrain of technology and ensuring our continued growth and relevance in the field.

Collapse
 
calinzbaenen profile image
Calin Baenen

My first choice is PHP

It said "Rust, JavaScript, or Python", not "Rust, JavaScript, or PHP".  :þ

Collapse
 
robertobutti profile image
Roberto B.

you're right, I was a little bit illegal ✨

Thread Thread
 
highcenburg profile image
Vicente G. Reyes

@robertobutti badass hahaha

Collapse
 
michellesanseverino profile image
Michelle Sanseverino

Thank you for your comment. I'm studying to be a dev and it's great to read your insight about programming.

Collapse
 
valeriavg profile image
Valeria

For a personal project - JavaScript, hands down. I rarely write anything that would warrant bringing in the big guns (Rust) and loss in development experience is therefore not warranted.

For a professional project my personal preference would be quite secondary and the choice would depend on project needs, market and available resources.

P.S. I like flexibility and simplicity of JavaScript: it’s not bulletproof, but it’s easy to use and in most cases it’s rather predictable and makes sense in general. That and, once again, personal preference :)

Collapse
 
calinzbaenen profile image
Calin Baenen

Rust, for Rust is the best programming language.

Rust för Rust är det bäste programmeringsspråk.

Collapse
 
stokry profile image
Stokry

Easy, Ruby :-)

Collapse
 
extinctsion profile image
Aditya Sharma

The choice of any programming language completely depends on its usecase. For example, it is something similar to choice between nosql vs rdbms database. Similary, if we wanna work with memory, OS, low level work we can prefer working with Rust. If we wanna work with web dev (mostly) its better to work with JS. For ML/AI or data processing, python is recommended. This recommendation was given with respect to the community size in the fields.

Collapse
 
manchicken profile image
Mike Stemle

I like all three, though I’ve recently started wanting to move back toward software which is less centralized. Web software makes us all vulnerable to the problem of platforms over protocols, which makes every vendor we use not just a helpful partner, but also an eager and friendly jailer.

Collapse
 
shricodev profile image
Shrijal Acharya • Edited

All three of them are GOAT in their own ways. For automation, I choose Python. When dealing with web-related tasks, I prefer JavaScript, especially TypeScript. For performance and safety, my preference is Rust. However, I am a Gopher! 🐀

Collapse
 
prateekwayne profile image
Prateek Wayne

JavaScript (TypeScript 😊) is my go-to for back-end development due to its flexibility 💪, efficiency ⚡, vast ecosystem 🌐, and most importantly, the huge community 👥 and library support.

Collapse
 
bjoentrepreneur profile image
Bjoern

Replace the or with an and ;)

Collapse
 
michalmazurek profile image
Michal Mazurek

I've been developing in Python since 2007, and I've opted for Rust instead of Python for my new side project (web-related - backend) for these reasons:

  • Security - Rust comes with built-in security measures.
  • Performance - I aim for this project to maximize income by minimizing CPU and RAM usage, as well as the number of running containers for load balancing and high availability. Python carries significant overhead compared to Rust.
  • Docker image - Python docker images tend to be considerably larger compared to what can be achieved with Rust or Go, resulting in cost savings.

However, the challenge for me lies in my limited knowledge about Rust, so I'll need to learn a lot along the way. ChatGPT is quite helpful in answering questions.

Collapse
 
chamber_dicky_355a4345e4f profile image
Chamber Dicky

Hello, Michal.

Thanks for sharing your opinion.
I am looking forward to your next post.

Regards.

Collapse
 
akashdev23 profile image
Akash Dev

Although we shouldn't compare them but I would prefer python if I had one option to choose.

Collapse
 
best_codes profile image
Best Codes

JavaScript for sure.

  1. I know it better than I do Python or Rust
  2. It's very versatile and easy to understand
  3. It's very well documented

Yeah, JS has its drawbacks, but still I like it.

Collapse
 
chamber_dicky_355a4345e4f profile image
Chamber Dicky • Edited

Hi, all!
Tastes differ, so every person likes his cup of tea.

I prefer using python for back-end development.

  1. It's great for AI integration. According to me, AI started running on the PYTHON platform firstly. Python is the pioneer of implementing AI.

2.It's very compatible with IoT.

Thanks.

Collapse
 
yukikimoto profile image
Yuki Kimoto

Perl. Because I do a lot of text processing.