Every time I stumble upon Scrap Your Boilerplate again (a.k.a. Data.Data) I feel sad that it didn’t take off the way GHC.Generics did. #haskell

@dpwiz Yeah… I wouldn’t recommend GHC.Generics anywhere that performance matters, either.

Follow

@ttuegel Actually, GHC Genetics are fast enough for automatic Storable instances. Almost no degradation from hand-rolled code without a chance for segfaults.

@dpwiz Generics is fast as long as everything gets inlined the right way. Ensuring that inlining happens correctly as a project scales is, in my experience, a cost that doesn’t scale well.

@ttuegel At least it has a chance to be inlined. SYB is slow however you slice it.

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.