Olaf Schlüter
1 min readJul 16, 2024

Unfortunately, that is not necessarily true. I found that the more concise and problem-oriented a programming language is, the more bloated, memory consuming and slow code it produces. Swift is much worse here than Rust or C++, Haskell even more so. As a rule of thumb fewer lines of code need more time and space to execute. A list comprehension in Python is powerful and reduces complex problems to one-liners, but execution of that involves tons of unnecessary operations for the machine. Given that these days much code runs in the cloud, where you pay for CPU and memory usage as you go, efficiency has become important again. Obviously it was important back in the 90s when hardware was way less powerful than what we have today.

I totally agree with you on the shortcomings of C and C++, but I also remember the reasons why C and C++ were so successful in the early PC era: machines had limited resources then and you got the most out of these using those languages.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Olaf Schlüter
Olaf Schlüter

Written by Olaf Schlüter

IT security specialist, Physicist by education, believing in God as for the exceptional harmony of the laws of nature to create and support life.

Responses (1)

Write a response

Hello Olaf. Thank you for the comment. The last part is easier to address. We should not have to deal with the shortcomings of C/C++ these days which were compromises for the constraints of limited resource systems.
However, even in pre-90s days…

--