WeSearch

Python as a Declarative Programming Language (2017)

Ben Frederickson· ·6 min read · 0 reactions · 0 comments · 13 views
#programming#python#data analysis#machine learning#declarative programming
⚡ TL;DR · AI summary

Python is often considered a slow programming language, particularly when compared to C or C++. However, its popularity in data analysis and machine learning remains high due to the efficiency of its libraries. By treating Python as a declarative language, developers can leverage its capabilities while minimizing performance drawbacks.

Key facts
Original article
Benfrederickson · Ben Frederickson
Read full at Benfrederickson →
Opening excerpt (first ~120 words) tap to expand

Python as a Declarative Programming Language If you look at the programming languages benchmarks game, Python is one of the slowest commonly used programming languages out there. Typical programs written in pure Python average around 40 times slower than the equivalent program written in C or C++. Despite the performance penalty, Python is still probably the most popular language choice out there for doing Data Analysis and Machine Learning. Most of the recent Deep Learning frameworks target Python for development: TensorFlow, Theano, and Keras all use Python. Torch originally was written for Lua, which is substantially faster than Python when using LuaJIT - but Torch failed to gain traction until switching to Python with the release of PyTorch.

Excerpt limited to ~120 words for fair-use compliance. The full article is at Benfrederickson.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from Benfrederickson