Why Javascript is 100x Faster than Python

preview_player
Показать описание


If you've been hearing a lot about javascript performing better than Python on the computational side or this is your first time hearing about it. Well in this video we will go into the details of why javascript performance is better than python 90% of the time on different algorithms, problems, and mathematical calculations.

⭐ Timestamps ⭐
00:00 Introduction (Javascript Vs. Python)
00:29 Skillshare Sponsorship
03:55 Simple For loop test
07:25 Increasing Number of loops to the limit
10:53 I/O Benchmark
12:47 Testing Basic HTTP Boot
15:07 Heavy calculations (Recursive)
16:46 Why is it better to use Pypy instead of Python

💻 Benchmark Repo on Github

🧭 Watch Tutorial on Designing the website on Figma

🧭 Watch Create a Modern React Login/Register Form with smooth Animations

🧭 Debug React Apps Like a Pro | Master Debugging from Zero to Hero with Chrome DevTools

🧭 Master React Like Pro w/ Redux, Typescript, and GraphQL | Beginner to Advanced in React

🧭 Learn Redux For Beginners | React Redux from Zero To Hero build a real-world app

🧭 Build Login/Register API Server w/ Authentication | JWT Express AUTH using Passport.JS and Sequelize

🧭 Introduction to GraphQL with Apollo and React

Made with 💗 by Coderone
Рекомендации по теме
Комментарии
Автор

I am learning both at the moment. I am 39 yrs old and do a re-education. Django with a JS library is a pretty powerful combination.

DIN_A
Автор

couldn't find the answer for the title "Why Javascript is 100x Faster than Python".. just running some tests

justsample
Автор

hyperfine can bench multiple commands and show the diference between them, like `hyperfine 'command 1' 'command 2' 'command 3'`. you should've used it that way.

vitorhmtts
Автор

I like your benchmark type of videos. pls make benchmark comparison about popular server frameworks - laravel, django, exress, fastfy,

eminqasimov
Автор

This is hardly fair (simple loops). Your using an iterator on Python and just a plain number on JS. This is comparing apples to oranges.

joshgoebel
Автор

I’d be interested to see the results with bun or deno. Not sure if it would make any difference for the demonstrated applications

jackburcs
Автор

cringe clickbait, i say as im a node TS dev -that actually understands python

maxwelljohnson
Автор

It's not fair to first show the slow vs fast and then switch..
If you're using the best performance implementation of JavaScript, then why you're not using the best performance implementation of python from the start? (pypy/cython/numba and not cpython as your showed)

monsieuralexandergulbu
Автор

That's the benchmark that i was waiting thanks u !

diegocascavita
Автор

I'm trying to code a basic enough Python -To-JavaScript for generating 3D graphics mainly for creating smartphone games.

ThankYouESM
Автор

Python with numba, pypy, numpy, ... is fast.

mgr
Автор

Have fun using JavaScript while coding a self driving car algorithm. Hope you get the point.

catayyyy
Автор

JAVASCRIPT CANT BE EXECUTED FROM THE GPU!!! HOW CAN JS BE FASTER THAN PYTHON???!!

DommageCollateral