(...since it happens at compile time?) I.e., a monomorphized function call is equivalent to a non-polymorphic function call. So that seems truly zero-cost.
-
-
True. And it is not an "abstraction" either. It is a layer.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
That's an extremely interesting claim. I have no idea how to evaluate it, though; would you recommend just comparing the assembly generated by template-heavy code to some hand-written code doing the same thing? Do you have an example of a specific resource you could point me to?
-
Not to beat a dead horse, but evaluating my claim that there _aren't_ "zero cost abstractions" is also approaching the problem the wrong way around. Shouldn't the goal be to evaluate the _original_ claim that there _are_ zero cost abstractions?
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.