|
|
|
|
|
by codygman
3357 days ago
|
|
>> In Haskell (or indeed in C) it doesn't necessarily have performance implications; an 8-element structure may have exactly the same runtime representation as those 8 elements being passed distinctly. > Wow, okay, this conversation is over. I'm confused as to why this was a conversation ender. An 8 element structure using newtypes in haskell would have the same runtime. For more info, see: https://skillsmatter.com/skillscasts/5296-safe-zero-cost-coe... |
|
If you want to talk about Haskell, fine ... I don't know anything about Haskell, though, and I am interested in high-performance programming, which is an area where Haskell cannot currently play (nor can any GC'd language). Making claims about how the performance of an operation in a slow language doesn't get any slower under certain circumstances isn't that interesting to me.