Why is CPython is so much slower than Node.js? this is fucking embarrassing

Why is CPython is so much slower than Node.js? this is fucking embarrassing

Other urls found in this thread:

benchmarksgame.alioth.debian.org/u64q/compare.php?lang=node&lang2=python3
youtube.com/watch?v=ame2PH67gnk
twitter.com/AnonBabble

benchmarksgame.alioth.debian.org/u64q/compare.php?lang=node&lang2=python3

THIS CAN'T BE HAPPENING BROS!!!!!

youtube.com/watch?v=ame2PH67gnk

Because CPython is a reference implementation, use PyPy if you want Python to be fast.

>why is Node.js faster than PyPy
Because Google spent a lot of time and money on V8, PyPy is not supported by any company aside from an occasional donation.

>PyPy
Nobody uses this shit in production
I want CPython to be as fast as fucking V8,
they both interpreted languages, they both should perform similarly

EVE Online runs on PyPy

nvm, it runs on Stackless Python instead

>Nobody uses this shit in production
PyPy is a drop-in replacement today.
You might encounter some issues if you are using one of the scientific extensions which abuse (e.g. writing to a const pointer) the CPython api but then you are probably not bottlenecked by Python code anyway.

>they both should perform similarly
Then throw more money at them.

>against c++
What kind of sorcery is this?

Node.js regex library is written in c++ so that is comparing a c++ library to another c++ library.

>posting rigged benchmarks

What made you think python is faster than js , or faster than anything else for that matter , actually it's faster than ruby so at least it's not the worst..
Stop taking Sup Forums memes seriously idiot

>comparing two interpreted languages' speed
the moment you stopped compiling to native code is the moment you stopped giving a shit about performance

I really wish people would stop posting benchmarksgame.
The implementations vary too much and trivial numeric benchmarks have no value, except for when you do trivial numeric stuff like a statistics memer.

>actually it's faster than ruby
It was prior to Ruby 1.9.

It's called trivial numeric benchmark, aka the shit that actually can be optimized by a JIT compiler trivially.

Python is for scripting and glue.

Node.js is for webdevs, don't be a webdev.

> Node.js is for webdevs

Node is now used in Electron, the most popular desktop development framework. Javascript is used in everything

webshit is cancer, I hope wasm ends this nightmare

> electron

FIRE UP THE OVENS

This is great

Every time she says "dev" it sounds like "dead" because of that goddamn vocal fry

node slash jay ess

I hope facebook and friends would stop pushing javascript fucking everywhere.
>hurr durr everyone knows javascript
And everyone who's not a poser hipster hates the guts out of it.

>Electron, the most popular desktop development framework
please be trolling