4 ms·
Nim doesn't make existing python vide bases faster. Also, do you really think the Python team should just give up on performance just because faster languages
by turbinerneiter 5y ago
Nim doesn't make existing python vide bases faster.
Also, do you really think the Python team should just give up on performance just because faster languages exist?
Should Tesla stop building cars as soon as someone builds a faster car than them?
- planetis 5y agoActually it is possible, Nim compiles to C and is a viable alternative to CPython. nimpy https://github.com/yglukhov/nimpy https://github.com/yglukhov/nimpy PyGotham talk: https://www.youtube.com/watch?v=IVgNVJdizHg https://www.youtube.com/watch?v=IVgNVJdizHg another blog post: https://robert-mcdermott.gitlab.io/posts/speeding-up-python-with-nim/ https://robert-mcdermott.gitlab.io/posts/speeding-up-python-...
- turbinerneiter 5y agoThis doesn't make existing python code bases faster. You have to rewrite in nim.
- planetis 5y agoYeah (rewrite) just the hotpaths like you would with Cython. Also there is https://github.com/Pebaz/Nimporter https://github.com/Pebaz/Nimporter which makes it easier.
- dvfjsdhgfv 5y agoI believe OP means new code bases; rewriting the existing ones obviously makes sense only in specific cases where performance is a key factor.