Python's slowness can be fixed by extending it using other languages. Previously, I've suggested Rust for the job. But is it really the best lang to pick?
Check out the code:
https://github.com/isaacharrisholt/yo...
Resources:
Nim: https://nim-lang.org
Nimpy: https://github.com/yglukhov/nimpy
Nimporter: https://github.com/Pebaz/nimporter
Nim for Python Programmers: https://github.com/nim-lang/Nim/wiki/...
Benchmark results: https://docs.google.com/spreadsheets/...
__________________________________________
Check out my other socials!
🐦 Twitter ▶ / isaacharrisholt
🖥️ Portfolio ▶ https://ihh.dev
📝 Blog ▶ https://isaacharrisholt.com
__________________________________________
Timestamps:
00:00 - What's occurrin'
00:33 - Intro to Nim
01:01 - Installation
01:18 - Your first Nim program
01:48 - Creating the Python extension
03:18 - Benchmarking
04:40 - Conclusion
#python #softwareengineer #nim #rust
Sur cette page du site, vous pouvez voir la vidéo en ligne Use THIS Language to Speed Up Your Python Code durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Isaac Harris-Holt 03 décembre 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 10,442 fois et il a aimé 349 téléspectateurs. Bon visionnage!