The problem of Python is not just about slowness, it hangs a lot, it's very sluggish, it may simple stop for one second without doing anything at all if your pc is doing other thing, and the resumes for a while, and for a while it may be very fast, to after another while becomes ultra slow and then hangs again for like a second, then resumes again, and so on....!
Most other area? Yea, not so sure about that. Industrial controls, OS, Data bases, Games, communication, networking, Web Servers, Ray Tracing, AI ... Yea, I'm trying to think as an adult programmer when was I not trying to get the most performance out of code I wrote? I can't think of a single instance code performance since the time I left high school that wasn't factor. The last time I didn't have it as a factor was in high school with BasicA. When you have CPU burning through cycles over and over again it doesn't have to that eats up added power. That cost companies money and wastes resources. You could even argue it is harmful to the environment.
When I studied, software development to write a program that runs faster during the execution time was imperative, now we live in the world where we need to develop faster and it's doesn't matter how slow the execution time is.
I hope it is not a very stupid question, but I wonder that, Python is interpreted language. Which is gives us a development speed time. Especially its great something like Jupyter Notebook. My question is Why we do not have a compiler and interpreter? I mean while we are programming, in development process we can use interpreter and when the final product is ready, we may choose the compile method. Also, Dynamically Type is another reason makes python slow. My another might be idiotic question is, why I cannot define statically data type? like in C. I know these are charactheristic of Python, but I believe that it would be good to have an option to choose.
I think, Julia is Python 4. It is much faster - as fast as C. It has a lot more built in methods.. There is therefore no need for such modules like Cython, Cpython, Numba, Numpy... It understands unicode and LaTeX. Julia solves the 2 language problem. Therefore it allows faster programming. There is just one advantage for python: There is much more code that exists.
On why Python is slow, it depends on your application, not everyone use multithreading (GIL) or care about those ms that having an interpreted language wont give you. In reality GIL shoudnt be something bad, since it is only use when we talk about multithreading, not multiprocessing.
This. Many people stress about speed but in a lot of cases it doesn't matter. If you aren't building any robust heavy app or website or doing stuff like 3D games with physics or for example videorendering, speed isn't an issue. For those small scripts or even GUI tools that start up in less than a second it really doesn't matter if it's 0,2 seconds or like 0,7 seconds. For the end user, it happened immeditiately after clicking the app icon (or running a command in the terminal). Most things aren't that time sensitive either and internet speed is a bigger bottleneck than your CPU, Memory, SSD etc. For example if you decide to do webscraping to download content. Your internet will decide your maximum speed in that scenario. Not your choice of language.
Hey Bro, I want to ask a question from you, you created a video "zoom clone in python" in that video you told us to start a camera stream, etc. so my question is I want to close the camera window opened by clicking the button "Start Camera Stream" so how can we create a button on pressing which it would close the camera window or simply is there any way to close our camera in the way similar to the way in which we opened it.
@@rajinfootonchuriquen What's the point to spend all of your time for dealing with bugs and slow development? Python lets you develop 10 times faster than C/C++ and it has less bugs to deal with. Cyberpunk 2077 made in C++/C# and has failed... more than 8 years development and sooooooooooo many bugs... Also, there are NOT many C/C++ developers...
@@SkyFly19853 all lenguage when using in bad ways produce bugs. Python is slow and you are force to use modules for almost everything. Feels like you aren't even using the lenguage. It's like using chinese words with english syntax.
@@rajinfootonchuriquen if you wanna spend your rest of your life and ignore the examples I have given you... Then, I wish you the best of luck just like what happened to Cyberpunk 2077 which took around 8 year and more... failed financially... went bankrupt...
Python doesn't make sense to me at all. The industry release new processors and system every year just to get more speed and people will throw that speed into garbage using a slow language! So its better to rewrite your program in C++ and you will not need to buy another processor in next 5 years or more. Using Python is the same thing as to buy a Ferrari, connect it to a truck, and use your Ferrari to drag a truck around. Speed is super important, so there's a fast innovative hardware industry. It better to use a fast language to more important and used things and sometimes when you just need a fast development, use a easier to write language but still efficient like Nim. Nim is an almost as easy to use as python but faster by default.
The problem of Python is not just about slowness, it hangs a lot, it's very sluggish, it may simple stop for one second without doing anything at all if your pc is doing other thing, and the resumes for a while, and for a while it may be very fast, to after another while becomes ultra slow and then hangs again for like a second, then resumes again, and so on....!
Most other area? Yea, not so sure about that. Industrial controls, OS, Data bases, Games, communication, networking, Web Servers, Ray Tracing, AI ... Yea, I'm trying to think as an adult programmer when was I not trying to get the most performance out of code I wrote? I can't think of a single instance code performance since the time I left high school that wasn't factor.
The last time I didn't have it as a factor was in high school with BasicA.
When you have CPU burning through cycles over and over again it doesn't have to that eats up added power. That cost companies money and wastes resources. You could even argue it is harmful to the environment.
When I studied, software development to write a program that runs faster during the execution time was imperative, now we live in the world where we need to develop faster and it's doesn't matter how slow the execution time is.
I hope it is not a very stupid question, but I wonder that, Python is interpreted language. Which is gives us a development speed time. Especially its great something like Jupyter Notebook.
My question is Why we do not have a compiler and interpreter?
I mean while we are programming, in development process we can use interpreter and when the final product is ready, we may choose the compile method.
Also, Dynamically Type is another reason makes python slow.
My another might be idiotic question is, why I cannot define statically data type? like in C.
I know these are charactheristic of Python, but I believe that it would be good to have an option to choose.
checkout the new mojo lang. it is developed as a superset of python and is extremely faster than py
"dynamicly typed is a major problem".
julia(programming language) : is it?
I think, Julia is Python 4. It is much faster - as fast as C. It has a lot more built in methods.. There is therefore no need for such modules like Cython, Cpython, Numba, Numpy... It understands unicode and LaTeX. Julia solves the 2 language problem. Therefore it allows faster programming. There is just one advantage for python: There is much more code that exists.
On why Python is slow, it depends on your application, not everyone use multithreading (GIL) or care about those ms that having an interpreted language wont give you. In reality GIL shoudnt be something bad, since it is only use when we talk about multithreading, not multiprocessing.
This. Many people stress about speed but in a lot of cases it doesn't matter. If you aren't building any robust heavy app or website or doing stuff like 3D games with physics or for example videorendering, speed isn't an issue.
For those small scripts or even GUI tools that start up in less than a second it really doesn't matter if it's 0,2 seconds or like 0,7 seconds. For the end user, it happened immeditiately after clicking the app icon (or running a command in the terminal).
Most things aren't that time sensitive either and internet speed is a bigger bottleneck than your CPU, Memory, SSD etc.
For example if you decide to do webscraping to download content. Your internet will decide your maximum speed in that scenario. Not your choice of language.
Bro you are so underrated.
Thanks for the video 🙂 all doughts clear .
Waiting for flutter brother
Hey Bro, I want to ask a question from you, you created a video "zoom clone in python" in that video you told us to start a camera stream, etc. so my question is I want to close the camera window opened by clicking the button "Start Camera Stream" so how can we create a button on pressing which it would close the camera window or simply is there any way to close our camera in the way similar to the way in which we opened it.
That snake is as slow as a snail.
Nice video really love from India
Can you make Cython video like part2 advanced level.
Can you make a tutorial on Jython?
type hinting should also make it so that the types also become static. If you don't want to make it static then dont type hint
Can you make a video about Python web development, and how can we create our own website just by using Python and some lib? Thanks!
please make a video on pypy please😭.
Can u make comparison between cython, numba and pypy
What about mpi4py?
Please, give me intro song name ?
Thank you so much for the great tutorial provide.
Not sure how the video itself is a tutorial.
The solution:
c/c++ libraries for Python a.k.a. Cython etc.
Why not just use c/c++?
@@rajinfootonchuriquen
What's the point to spend all of your time for dealing with bugs and slow development?
Python lets you develop 10 times faster than C/C++ and it has less bugs to deal with.
Cyberpunk 2077 made in C++/C# and has failed... more than 8 years development and sooooooooooo many bugs...
Also, there are NOT many C/C++ developers...
@@SkyFly19853 all lenguage when using in bad ways produce bugs.
Python is slow and you are force to use modules for almost everything. Feels like you aren't even using the lenguage. It's like using chinese words with english syntax.
@@rajinfootonchuriquen
if you wanna spend your rest of your life and ignore the examples I have given you...
Then, I wish you the best of luck just like what happened to Cyberpunk 2077 which took around 8 year and more... failed financially... went bankrupt...
@@SkyFly19853Failed financially and went bankrupt? Idk about you but Cyberpunk 2077 is doing just fine lol, new DLC coming out too it looks fun
Nice bro .
I don't think that python is slow, I test with R and Julia they has the "some" time
Python doesn't make sense to me at all. The industry release new processors and system every year just to get more speed and people will throw that speed into garbage using a slow language! So its better to rewrite your program in C++ and you will not need to buy another processor in next 5 years or more.
Using Python is the same thing as to buy a Ferrari, connect it to a truck, and use your Ferrari to drag a truck around.
Speed is super important, so there's a fast innovative hardware industry.
It better to use a fast language to more important and used things and sometimes when you just need a fast development, use a easier to write language but still efficient like Nim. Nim is an almost as easy to use as python but faster by default.
Due to their disturbance towards me for 7 years
what?
The
@NeuralNine rocks!!
I use rust python
👍🏻
Use pypy if you want speed
no all libs are supported
Cython
First!
It's very very big disadvantage.. it's better ban the Python technology it's destroy developer carrier.
Please consider my comment below😢😢
slow