#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
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.