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
На этой странице сайта вы можете посмотреть видео онлайн Use THIS Language to Speed Up Your Python Code длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Isaac Harris-Holt 03 Декабрь 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 10,442 раз и оно понравилось 349 зрителям. Приятного просмотра!