Python(PyPy) is faster than C++ or NOT !

  Рет қаралды 5,420

Ulas Dikme

Ulas Dikme

Күн бұрын

Пікірлер: 15
@ddkinput
@ddkinput Жыл бұрын
you are just trying to find the weak point in pypy to prove that c++ always wins, no one would use function to open file a million time at onec. this is a missleading here.
@ulasdikme7307
@ulasdikme7307 Жыл бұрын
No I am not looking for any weak points. I saw that in the internet some developers(most of them working in big companies) assume that python is faster than c++ without any examples or with wrong examples. The intention of this video is to show C++ is faster than python. But as I told it, there are other advantages with python too. If you have any examples that python is faster than C++, I will be happy to create content about it :)
@ddkinput
@ddkinput Жыл бұрын
@@ulasdikme7307 my comment was not meant to prove python is faster than c++ or not , but to complain about the way you used to prove PyPy is slow. anyway python has a different purposes than c++ like Data Analysis/Micro Coding/Web Scraping/Web Development/Magic Functions/etc which c++ can't compite python in fast coding and performance, in the other hand Python can't compite c++ in many cases as well, this is what it should be clarified.
@ulasdikme7307
@ulasdikme7307 Жыл бұрын
​@@ddkinput Okay, then what is the proper case to show the difference? I can use it in my next contents?
@eriliaerish4967
@eriliaerish4967 2 жыл бұрын
When you use -O compiler removes unuseless variables , I guess in c++ optimized program , app NOT add something to variable. you should to see assembly code what executed of compiler
@letsplaychannel6276
@letsplaychannel6276 Жыл бұрын
Using -O just tells the compiler to rename the executable. Your confusing -O with -o2
@blabla-kk8bl
@blabla-kk8bl 2 жыл бұрын
The reality is , C++ is much more faster than python ,even pypy interpreter cannot come closer. But the fact that if you want to get job done the only way to go is using python. Also combining python with C plugings give faster results. Python is in-time compiling language, also it has uncompareable abilities like libs so it makes it slower too. Good things comes with a cost ,not free. In otherwords ; C++ can run for you very fast calculator but the real products is not just a calculator, there is authentication, payment gateways, data visualising , web development the python is the filler in this position. So better approach can be deploying c++ microsrvices around tha python (Django can managage an app very well) main python app.
@kasi0
@kasi0 2 жыл бұрын
Make a comparison using the pyautogui library with python vs. pypy to see which one does better
@johnkim8063
@johnkim8063 2 жыл бұрын
Oh.. I'm shocked..!! I don't have used the c++ with 100% speed of one because I didn't write the -O3!! Thank you very much!
@klangrein9389
@klangrein9389 3 жыл бұрын
after showing assemler code of optimized c++ why aren't you showing the same xor operation for python as well? It could be programmed and compared likewise. Otherwise there is really no point in showing a measurement without a useful comparision.
@patricior7300
@patricior7300 2 жыл бұрын
Could You compare Julia language vs C++ please? Tnx
@kefrov
@kefrov Жыл бұрын
Time to learn C++ for competitive programming then.
@ahmeta.112
@ahmeta.112 3 жыл бұрын
Hocam aksanınız çok güzel.
@LevelUpGA
@LevelUpGA 2 жыл бұрын
8.4e-5 ms*10/10=84e-6 ms= 84 ns, but you wrote 840 ns, it's 10 times faster 😂
@ДиамондКарбонов
@ДиамондКарбонов 2 жыл бұрын
👍
Python Быстрее чем Си?! Ускоряем Python До Максимума!
15:22
Псевдо Программист
Рет қаралды 22 М.
Using PyPy instead of Python for speed by Niklas Bivald
23:36
PyCon Sweden
Рет қаралды 26 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Cython makes Python INSANELY FAST
19:08
Carberra
Рет қаралды 36 М.
C++ Super Optimization: 1000X Faster
15:33
Dave's Garage
Рет қаралды 334 М.
PyPy: The Faster Brother of CPython
10:26
NeuralNine
Рет қаралды 8 М.
C++ Websocket Introduction with Boost library   Part 1
44:57
Ulas Dikme
Рет қаралды 30 М.
Let's Create a Compiler (Pt.1)
1:11:03
Pixeled
Рет қаралды 603 М.
Compiled Python is FAST
12:57
Doug Mercer
Рет қаралды 125 М.
Writing Code That Runs FAST on a GPU
15:32
Low Level
Рет қаралды 578 М.
Lecture 1: Introduction to CS and Programming Using Python
1:03:30
MIT OpenCourseWare
Рет қаралды 1 МЛН
Speed Up Your Code With Cython
16:37
NeuralNine
Рет қаралды 123 М.