Тёмный

Quick First Look at Python 3.11 Features (10-60% FASTER!) 

Patrick Loeber
Подписаться 268 тыс.
Просмотров 81 тыс.
50% 1

Learn about the new features in Python 3.11!
Article: docs.python.org/3.11/whatsnew...
Download Beta: www.python.org/downloads/rele...
Get my Free NumPy Handbook:
www.python-engineer.com/numpy...
✅ Write cleaner code with Sourcery, instant refactoring suggestions in VS Code & PyCharm: sourcery.ai/?... *
⭐ Join Our Discord : / discord
📓 ML Notebooks available on Patreon:
/ patrickloeber
If you enjoyed this video, please subscribe to the channel:
▶️ : / @patloeber
~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
🖥️ Website: www.python-engineer.com
🐦 Twitter - / patloeber
✉️ Newsletter - www.python-engineer.com/newsl...
📸 Instagram - / patloeber
🦾 Discord: / discord
▶️ Subscribe: / @patloeber
~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
🅿 Patreon - / patrickloeber
#Python
----------------------------------------------------------------------------------------------------------
* This is an affiliate link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏

Опубликовано:

 

30 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 102   
@senna_william
@senna_william 2 года назад
This man doesn't waste a second of this video's time. Thanks!
@HypnosisBear
@HypnosisBear 2 года назад
Yes! Even I noticed it..!!! That's something I love about his channel.
@bartuslongus
@bartuslongus 2 года назад
The Python 3.11 speedup has already been implemented in this guy :P
@Nite_coder
@Nite_coder 2 года назад
This is my first video I've seen of his definitely subbing
@rere439
@rere439 2 года назад
No bullshit Intro just straight to the point
@k98killer
@k98killer 2 года назад
That error handling was one of the most attractive things about Rust that I wanted to see implemented in Python. That and the speed increase. I also think it would be cool to have a version of Python that uses Rust's memory management conventions, but I don't have time to make it myself, so it's just a fanciful pipe dream.
@Articha
@Articha 2 года назад
Holy-moly. Finally "self" typing. Thanks, PyTeam!
@aminramazanifar9743
@aminramazanifar9743 2 года назад
I hope your next video is python 3.11 speed test. Thanks
@doomguy6296
@doomguy6296 2 года назад
As a Rust programner, it feels Python is getting lots of Rust like features since 3.10
@AlexCouch65
@AlexCouch65 Год назад
Finally, the python devs are adding actually good new things. Usually it's a thing or two but now it seems like they're actually focused on evolving python. This is a big step forward for python. GG python devs!
@saitaro
@saitaro Год назад
Density of information is divine.
@boozflooz6255
@boozflooz6255 2 года назад
Thanks for the update
@benyaminyakobi3652
@benyaminyakobi3652 2 года назад
Great content as always. Do you think that the speedup in 3.11 is a game changer for python? 10-60% sounds great but it's related to 3.10 and not to older versions of python.
@patloeber
@patloeber 2 года назад
Maybe not a "game-changer", but still amazing! And over the next years there are even more speed optimizations to be expected!!
@benyaminyakobi3652
@benyaminyakobi3652 2 года назад
@@patloeber Six months ago i've written a multi-processed script at work which took on my computer at work 38-40 minutes to run. It'll be interesting to test it with 3.11 to see the run time result hehehe :)
@brulsmurf
@brulsmurf 2 года назад
nah, a lot of languages run many times faster than python. but its nice
@szdsdf4619
@szdsdf4619 2 года назад
​@@benyaminyakobi3652 let us know how much faster it will be on 3.11 version :) I'm very intrigued about this.
@hardrod6989
@hardrod6989 2 года назад
@@benyaminyakobi3652 I'm very interested to know about the results. Please update when you do that. Thanks in advance
@0xN1nja
@0xN1nja 2 года назад
omg that add_note method of exception class is amazing
@renancatan
@renancatan 2 года назад
whats the difference of putting it inside a simple print(f'notes 1 2 3.. {e}')
@AlexEliotOfficial
@AlexEliotOfficial 2 года назад
@@renancatan Libraries can now make use of this to provide more contextual information on errors to the user.
@42sol
@42sol 2 года назад
thanks - python is getting better and better. great to have this good and compact overviews ❤❤❤
@jaysonbunnell8097
@jaysonbunnell8097 2 года назад
awesome! excited for the toml parser, much better to have a standardized one.
@TheWitzig
@TheWitzig 2 года назад
Great video, this release is gonna be huge
@kipcrossing
@kipcrossing 2 года назад
Awesome!
@mehdismaeili3743
@mehdismaeili3743 2 года назад
Excellent, thanks.
@aliakbarmostafaei
@aliakbarmostafaei 2 года назад
I expected a benchmark since the prominent feature was the speedup which was also mentioned in the title!
@PMU004
@PMU004 2 года назад
Hi Patrick! What do You think about Julia language for ML in comparison to python?
@rahulkmail
@rahulkmail Год назад
Excellent information. It will help us a lot. Thanks for sharing the same. Can you share some more information's through examples on new changes in Python 3.11 regarding classes and built-in methods ?
@hasibryan
@hasibryan 2 года назад
what software you using to record keyboard shortcuts on stream?
@vectoralphaAI
@vectoralphaAI 2 года назад
I wonder how Python 4 will be like. The only thing I want is higher performance/speed.
@oican5404
@oican5404 2 года назад
Python 4 would be able to start up your PC in the middle of the night because it finds a better way to train your data.
@oican5404
@oican5404 2 года назад
Also be able to manipulate DOM
@Chironexe
@Chironexe 2 года назад
@@oican5404 Well that sucks. I liked having my computer open immediately not 5 days later.
@dawidp749
@dawidp749 2 года назад
@@oican5404 there is pyscript already :p
@lougmirimohamed443
@lougmirimohamed443 2 года назад
our dreams will be True bro
@kcvinu
@kcvinu Год назад
This is the version I started a serious project with. I tasted a little bit Python long ago with the version 2.7. But for some specific reasons, I quit. And years after, one day, I saw "ctypes" and voilà !! I was like, "this is what I wanted". It's really fun to do some win32 GDI drawing with python. My project is progressing slowly but steadily. Happy coding everybody.
@mohammedk.h.f3016
@mohammedk.h.f3016 2 года назад
Thank you a lot
@user-ku5oh4pj2m
@user-ku5oh4pj2m 2 года назад
Thank you bro
@eadweard.
@eadweard. 2 года назад
Anyone know if they plan to merge the GIL-free changes in any particular version?
@lawrencedoliveiro9104
@lawrencedoliveiro9104 2 года назад
I’m glad they found a way to remove the GIL without abandoning reference counts.
@dualbladedtvrecords4383
@dualbladedtvrecords4383 2 года назад
@@lawrencedoliveiro9104 Seriously? Damn thats awesome. Where can I read more on that?
@lawrencedoliveiro9104
@lawrencedoliveiro9104 2 года назад
@@dualbladedtvrecords4383 It’s the “nogil” project.
@longlong10203
@longlong10203 Год назад
The best thing I like about Python 3.11 is probably the match-case statement. They are much useful than just writing a lot of if-elses.
@init1508
@init1508 2 года назад
I hope they remove the global interpreter lock as soon as possible, or at least make it an optional choice by adding a flag, cuz python would be cooler without GIL. I barely use multi threading in my scripts, but I still want it to be cooler
@dawidp749
@dawidp749 2 года назад
Then use another interpeter. GIL won’t be removed until python4(if python4 won’t be compatable with python3). Removing GIL will cause slowing down single threaded code. Imagine what would corporations do if something like this happen
@binyaminramati3010
@binyaminramati3010 2 года назад
Hi Patrick, is the message in the discord about the tutorial hub still relevant?
@patloeber
@patloeber 2 года назад
I'm not exactly sure what you mean, can you just ask again in Discord and I make sure to reply? :)
@debyteO2
@debyteO2 2 года назад
thats just epic it's becoming kinda like rust which is good
@patloeber
@patloeber 2 года назад
kinda :D :D
@MrMaxtng
@MrMaxtng 2 года назад
Lets not get too excited. Rust is on par with C which is in average 50 times faster than Python...
@sushantrocks
@sushantrocks Год назад
I wonder when sortedcontainers will get incl in stdlib. The heapq module is a pain!
@vladrootgmailcom
@vladrootgmailcom Год назад
Python developers work on pinpointing the exact place of error. Python beginners still: "Please help me! What's wrong with my code?" Their code: x = :
@daneilgame123
@daneilgame123 2 года назад
No way they updated that snake thing and it can now move faster
@GFC1337
@GFC1337 Год назад
How is NotRequired different from Optional?
@johnlimusicofficial220
@johnlimusicofficial220 Год назад
Wow, I'm pretty interested in the way they impoved the speed, realy how the hell are they doing this? :DD
@SkyFly19853
@SkyFly19853 2 года назад
Any news with Cython ( C extension for Python ) ?
@ko-Daegu
@ko-Daegu 2 года назад
The sub exception looks overly complicated for no reason What happened to simplicity above all?
@igorthelight
@igorthelight Год назад
"Feature creep" happened :-)
@brilliancetventertainment9416
@brilliancetventertainment9416 2 года назад
I am having ssl module issue after installing Python3.10 on linux then doing a help("modules")....where can I find the ssl module path and how to install it?
@harrybellingham98
@harrybellingham98 2 года назад
lol im still on 3.8
@frankhuurman3955
@frankhuurman3955 2 года назад
no shame in that for a stable production application :) but 3.11 might be a nice time to upgrade if your dependencies allow it! haha
@lawrencedoliveiro9104
@lawrencedoliveiro9104 2 года назад
Current Debian Stable includes 3.9.
@jeffreymagedanz8130
@jeffreymagedanz8130 2 года назад
I'm stuck with 2.7 at work.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 2 года назад
@@jeffreymagedanz8130 I hope you have some kind of support contract for that, if you are using such an obsolete version for mission-critical business functions.
@dhruvkashyap16
@dhruvkashyap16 2 года назад
Is 3.7 okay in 2022 or its high time to upgrade
@jayrizzo1454
@jayrizzo1454 2 года назад
I just started using 3.10.5 today. Lol
@igorthelight
@igorthelight Год назад
"Is 3.7 okay in 2022 or its high time to upgrade" - depends on how easy for you to update ;-) In most cases - it's pretty easy and fast!
@incremental_failure
@incremental_failure Год назад
Most stuff is 3.9 compatible already, I wouldn't go above that though.
@Hassibayub
@Hassibayub 2 года назад
What about speed? Did it get any better?
@deimuader
@deimuader 2 года назад
did you even watch the video?
@Hassibayub
@Hassibayub 2 года назад
@@deimuader i think i do
@igorthelight
@igorthelight Год назад
@@Hassibayub Then you already know the answer ;-) If not - watch video again! And don't eat or talk - just watch ;-)
@larrykubin5987
@larrykubin5987 2 года назад
👍🐶
@foxguysumthing
@foxguysumthing 2 года назад
python is fast bois
@suche_cz
@suche_cz 2 года назад
Hope the Python still be Python, and clean, simple and elegant
@qondonyon
@qondonyon 2 года назад
FAST REAL (genuine)
@vaibhavmane4445
@vaibhavmane4445 2 года назад
Python website won't open in my Pc. Is Python website down now.
@gunahawk6893
@gunahawk6893 2 года назад
Performance increase in overall level?
@Kinos141
@Kinos141 Год назад
Looks like Python is copying Rust in its error handling. Respect.
@enantiodromia
@enantiodromia Год назад
I am interested in the contents, but put off by the very strong accent.
@cipherxen2
@cipherxen2 2 года назад
The channel name is somewhat an oxymoron
@deimuader
@deimuader 2 года назад
how so?
@incremental_failure
@incremental_failure Год назад
That was below the belt.
@Derian_De_Grey
@Derian_De_Grey 2 года назад
Right! Python is too slow! This greatly limits the scope of its application! It is necessary to radically accelerate it! We need to develop interpreters and execution environments like Py-py!
@incremental_failure
@incremental_failure Год назад
Perhaps you're not using numpy/pandas for larger data.
@Derian_De_Grey
@Derian_De_Grey Год назад
@@incremental_failure this does not justify not optimizing the language, but rather its main interpreter.
@incremental_failure
@incremental_failure Год назад
@@Derian_De_Grey Unlikely to happen, especially when for larger data most are using numpy anyway. Don't get me wrong, it would be awesome but...
Далее
You Are Going To Like These New Features In Python 3.11
10:58
10 Python Basics You Should Know!
10:08
Просмотров 78 тыс.
BABYMONSTER - ‘FOREVER’ M/V
03:54
Просмотров 8 млн
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Просмотров 1,5 млн
Python 3.11 is out! All new features
3:38
Просмотров 42 тыс.
What's new in Python 3.13?
5:08
Просмотров 76 тыс.
15 Python Libraries You Should Know About
14:54
Просмотров 368 тыс.
All Rust features explained
21:30
Просмотров 287 тыс.
25 nooby Python habits you need to ditch
9:12
Просмотров 1,7 млн
Top 10 Python One Liners YOU MUST KNOW!
4:52
Просмотров 137 тыс.
BABYMONSTER - ‘FOREVER’ M/V
03:54
Просмотров 8 млн