Comment

Comment by danfo

Let me help you detox that:

> An interpreter with a JIT is faster than one without. Especially when dealing with CPU bound work. Would be interesting to compare to pypy.

Sure, here is pypy:

  > pypy3 main.py
  282 ms

  > node main.js
  105 ms
Without JIT:

  > python3 main.py
  2818 ms

  > node --jitless main.js
  998 ms
For fun:

  > cargo run --release -q
  20 ms
I enjoy brrrrrm's post for its brevity and the acknowledgement of common folk tools.
parent danfo 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton