DEV Community

Cover image for Rust, JavaScript, or Python?
dev.to staff for The DEV Team

Posted on

Rust, JavaScript, or Python?

Which programming languages do you prefer for back-end development, and why?

Follow the DEVteam for more discussions and online camaraderie!

Top comments (17)

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
 
baenencalin 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
 
_michellemello profile image
Michelle Mello

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

Collapse
 
baenencalin profile image
Calin Baenen

Rust, for Rust is the best programming language.

Rust fรถr Rust รคr det bรคste programmeringssprรฅk.

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
 
stokry profile image
Stokry

Easy, Ruby :-)

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
 
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
 
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
 
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
 
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
 
bjoentrepreneur profile image
Bjoern

Replace the or with an and ;)

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
 
yukikimoto profile image
Yuki Kimoto - SPVM Author

Perl. Because I do a lot of text processing.