Hacker News new | ask | show | jobs
by weberer 1481 days ago
>Java: 40 seconds

>Python 3: 1h 09 minutes

Well damn.

2 comments

:-)

"Or even acknowledge — Anyone else a bit shocked by how well Javascript on V8 performs? I might need to rethink my assumptions…"

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

Not hard to do, I once took some C code, naively converted it to python [0] and it took hours instead of seconds to run.

[0] I wanted to output an image and the C code only ran statistics so I would have had to figure out some random C image library which wasn’t how I wanted to spend my day.