Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
meetups323
on Feb 9, 2021
|
parent
|
context
|
favorite
| on:
Node.js 14 is over 20x faster than Python3.8 for f...
Numba (asked by a commenter that haas since deleted:
638.8082504272461 ms
PartiallyTyped
on Feb 9, 2021
[–]
I asked, run it twice. The first time is for compilation. The second time it reaches 90ms on my machine.
meetups323
on Feb 9, 2021
|
parent
|
next
[–]
Second run was 200ms for me, still 2x node.
whimsicalism
on Feb 9, 2021
|
parent
|
prev
[–]
I would expect numba to win, but I also do not think it is a fair comparison.
PartiallyTyped
on Feb 9, 2021
|
root
|
parent
[–]
To be fair, python itself isn't jitting anything, while node is.
meetups323
on Feb 9, 2021
|
root
|
parent
[–]
Numba doesn't really qualify as JIT if what it's really doing is compiling it and caching the results to disk then reading from them in the future for faster execution... that's just a compiler.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
638.8082504272461 ms