Node vs Python 3: Which Is Fastest?

Back in April 2010, Russ Cox charitably suggested that only fannkuch-redux, fasta, k-nucleotide, mandlebrot, nbody, reverse-complement and spectral-norm were close to fair comparisons. As someone who implemented programming languages, his interest was “measuring the quality of the generated code when both compilers are presented with what amounts to the same program.”

Differences in approach - to memory management, parallel programming, regex, arbitrary precision arithmetic, implementation technique - don’t fit in that kind-of fair comparison — but we still have to deal with them.

These are only the fastest programs. There may be additional measurements for programs which seem more-like a fair comparison to you. Always look at the source code.

n-body: Node js vs Python 3

mandelbrot: Node js vs Python 3

spectral-norm: Node js vs Python 3

fasta: Node js vs Python 3

fannkuch-redux: Node js vs Python 3

regex-redux: Node js vs Python 3

binary-trees: Node js vs Python 3

k-nucleotide: Node js vs Python 3

reverse-complement: Node js vs Python 3

pidigits: Node js vs Python 3

#node-js #python

Node vs Python 3: Which Is Fastest?
1 Likes45.30 GEEK