🏆 Rust is CHANGING Python for the better

  Рет қаралды 3,293

Bitswired

Bitswired

Күн бұрын

Пікірлер
@mysterry2000
@mysterry2000 8 ай бұрын
Ah man I was really looking forward to a Mojo shout out 🥺the people creating it are amazing, and what they're doing with the language design of Python is simply jaw-dropping Definitely something you should consider for an upcoming video, subscribed! 😁
@bitswired
@bitswired 8 ай бұрын
Wow man it’s a nice catch! I have to admit that I lost track of the Mojo project after they announced it a while ago … Thanks for the idea I will give it a try 👍🏽
@pranaypallavtripathi2460
@pranaypallavtripathi2460 8 ай бұрын
How is parallel programming done in Rust? I know that there are several MPI libraries such as OpenMPI, MPICH, Intel MPI, etc for running a C/C++ code (which uses these libraries) on multiple compute nodes (each with tens of cores) but what about Rust?
@bitswired
@bitswired 8 ай бұрын
Hey good questions! On single node using multiple threads Rust has native support for real multi threading, and you have libraries like rayon that provide nice utilities. For multi nodes with Rust I’m not an expert but there also exist MPI bindings, like rsmpi.
@vogendo7377
@vogendo7377 8 ай бұрын
Clear, concise and very instructive. Keep up this great videos work.
@bitswired
@bitswired 8 ай бұрын
Thanks Vogun ❤️ Let’s gooo ;)
@Z4KIUS
@Z4KIUS 8 ай бұрын
will it fix the syntax though?
@bitswired
@bitswired 8 ай бұрын
Ahah it could If you make a pull request to RustPython you could change the language parser and have your own syntax Though, the chance to get accepted in main is low 😅
@Z4KIUS
@Z4KIUS 8 ай бұрын
@@bitswired I'd be happy to see better support for Bython to be honest, sometimes the Py ecosystem has basically everything I need but even these few dozens of lines of glue in Py make me suffer
@bitswired
@bitswired 8 ай бұрын
I did not know about Bython thanks for mentioning it! I don’t think it’s supported by RustPython but you could give them the idea 🤷🏽‍♂️ Ahah what are your favorite languages?
@Z4KIUS
@Z4KIUS 8 ай бұрын
@@bitswired I spend most of time and feel most comfortable with PHP, JS and TS, but I can pick up basically any C-style language quickly, wouldn't want to bother with manual memory management though besides that I liked Delphi quite a lot, Lua was great for game scripting what annoys me in Python is the lack of braces (my brain spends excessive amounts of effort to properly track blocks without them) and the tendency to output integer results from math operations if you forgot to make all operands floats then there's AHK, I'm using it because there are no other options, but it feels like there's no rhythm nor rhyme how you do some things and every time I just shuffle things until it starts working, function calls there are bizarre
@bitswired
@bitswired 7 ай бұрын
Cool I also use TS quite often 👍🏽 Yes auto memory management is a neat feature. You’re less likely to to shoot yourself in the foot 😅
@mariegautier3765
@mariegautier3765 8 ай бұрын
You manage to make me understand an aera that is absolutely not mine, well done 😂🥰❤️
@bitswired
@bitswired 8 ай бұрын
Thanks Bella ❤️ You will be soon an expert 😉
@dan_dom
@dan_dom 8 ай бұрын
Your videos are very well crafted, the only thing for me is the music maybe a bit quieter, it is a distraction for me from the point of the video itself (but this one is a LOOT better then the previous ones, there, i could not focus on the speech itself because the music did not serve as a background to well). Otherwise, keep up the great production quality, respect 👍
@bitswired
@bitswired 8 ай бұрын
Thanks for the kind and useful feedback! Sorry for the distraction, I tried to make the background music lower and use a chiller song. But I will make it even more quiet next time 👍🏽
@santiagoafonso
@santiagoafonso 8 ай бұрын
@@bitswired I agree, a somewhat lower volume would help. Great video.
@bitswired
@bitswired 8 ай бұрын
Thanks for the feedback 👍🏽 I’ll fix the problem for the next video next week 😉
@HansMaxiBricks
@HansMaxiBricks 8 ай бұрын
your audio sux then :P
@natevaub
@natevaub 8 ай бұрын
Great job as always bro! Keep it up :D I might have to start my Rust journey looks like a god tier language
@bitswired
@bitswired 8 ай бұрын
Thanks frero ❤️ Lets go you love Rust hehe After Transcendence ;)
@patricknazar
@patricknazar 8 ай бұрын
I enjoyed the video, yes just need to work on that voice volume, and maybe a bit more upbeat voice. gj
@bitswired
@bitswired 8 ай бұрын
I’m glad you liked it thanks for the feedback 😁 I will fix these and issues already working on the next video 💪🏽
8 ай бұрын
Prototyping and overall development is faster in Rust than Python. Python will still be used because Rust has a steeper learning curve and a smaller ecosystem. But with time, Python will be replaced by Rust in many areas. Rust is "all levels", not just low level. Any python code can be translated to Rust code with zero level reduction. The borrow checker forces the Rust code to be "high level", either by using it or by avoiding it (and using smart pointers).
@paca3107
@paca3107 8 ай бұрын
rewrite everything in rust!
@redthunder6183
@redthunder6183 8 ай бұрын
Prototyping in python is way faster than rust… Rust will never replace python, but it will more likely replace C/C++ Rust is more similar to C/C++ than python. Rust and python were designed for two completely different use cases
@bitswired
@bitswired 8 ай бұрын
Hey thanks for participating :) I see your point, and it’s true that if you are proficient in Rust you can go fast. But I think Python is still way faster for prototyping: - it’s not compiled so you can run a huge project instantly after making a change, while rust could take a while to re compile - the learning curve is way lower - the ecosystem is huge I also like your POV about rust being low-level and high-level depending on how you use it 👍🏽
@bitswired
@bitswired 8 ай бұрын
Yes, I think it’s more of a c/cpp contender 👍🏽
@bitswired
@bitswired 8 ай бұрын
Ahah hard to resist the appeal 😅
@oscar7557
@oscar7557 8 ай бұрын
You forgot to mention rust takes 20 years to compile lmao great video tho man thanks for the info. I work in Python and it sucks hard. These tools you mentioned look great :) Also could you include links to the tools and libraries next time?
@bitswired
@bitswired 8 ай бұрын
😂 I had to be quiet about it 🤫 Just kidding, it’s a good point I forgot to mention! Thanks! Let me me update the description with the link 👍🏽 Hope you’ll like them ;)
Calling Rust code from Python
8:23
Let's Get Rusty
Рет қаралды 40 М.
How To Make Your Python Packages Really Fast With RUST
5:16
Isaac Harris-Holt
Рет қаралды 44 М.
Caleb Pressley Shows TSA How It’s Done
0:28
Barstool Sports
Рет қаралды 60 МЛН
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 91 М.
PIP vs UV: The Future of Python Package Management?
9:53
Jake Callahan
Рет қаралды 6 М.
PLEASE Use These 5 Python Decorators
20:12
Tech With Tim
Рет қаралды 129 М.
Combining Rust and Python: The Best of Both Worlds?
11:08
ArjanCodes
Рет қаралды 77 М.
python is removing the GIL! (PEP 703) (advanced) anthony explains #550
24:04
why rust libraries may never exist.
7:26
Low Level
Рет қаралды 295 М.
When Optimisations Work, But for the Wrong Reasons
22:19
SimonDev
Рет қаралды 1,2 МЛН
Python 3.13's new JIT and no-GIL modes
6:54
InfoWorld
Рет қаралды 4,9 М.
Writing My Own Database From Scratch
42:00
Tony Saro
Рет қаралды 268 М.
C++ Super Optimization: 1000X Faster
15:33
Dave's Garage
Рет қаралды 334 М.