Pyton vs Rust | Coursera Community
Coursera Header

Pyton vs Rust

  • 2 November 2019
  • 3 replies

Badge +1

hello everyone!!

here is my question 

have you guys ever use Rust and python??

these two language are my most favorite one

but can you please guide me which one is good to use in my iot  projects and app development and one more thing which one is more better for future 😊😊

3 replies

Userlevel 6
Badge +4

Hi @Mashood 

Python supports a huge number of libraries and modules, so you can get more stuff done with less code. It’s handy in more powerful edge devices, gateways, and also the cloud.

Rust is a safe, concurrent and practical language, supporting functional and imperative-procedural paradigms. It maintains these goals without a garbage collector. This makes Rust a useful language for the following use cases:

  • Embedding in other languages
  • Programming with specific space and time requirements
  • Writing low-level code, like device drivers and operating systems


I feel both are popular in terms of IOT apps building the only thing here is we need to know which language we are much comfortable. 

If you ask my opinion then I prefer Python over Rust.



Userlevel 1
Badge +2

Hi Mashood ,

Python is general purpose programming language and the easy to understand ,user friendly  .And python can use in lot  projects  ,especially for Machine learning and Deep learning  .Now-a- days there are lot things we can do with the python --

If you ask my opinion then I prefer Python


Hi Mashood,

As a complement, I think Rustlang provides a new way to manage modern software by specifying the ownership. It wouldn’t not like other languages Python/Golang/Cpp have a gray area that could let you write the code before you totally figure out how does the data flow is. That brings pain and significate benefits as well. 

But still, for your IoT project, if Python's sophisticated ecosystem would help you a lot, there is no reason to jump into Rustlang.