#Haskell has zero cost abstractions.

But the cost here refers to programming effort, not performance (well sometimes performance as well).

#Rust #RustLang #ZeroCostAbstractions

Follow

@haskman Zero cost abstractions are old pie. Ask for negative-cost abstractions!

@dpwiz actually not far from the truth. The various typeclasses are basically patterns that tell you how to abstract something, often already having the exact code you desire. So abstracting often turns out to be cheaper than not abstracting!

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.