News for hackers. Stuff that matters.
Re:Comparing the Cost of Different Multiple-return Technique... by justincormack on Monday December 23, 2013 @12:17PM (#6955305)
I didnt know that. Apparently amd64 lets you return two 64 bit values in registers too, but no more.
Re:Comparing the Cost of Different Multiple-return Technique... by mprovost on Monday December 23, 2013 @05:11PM (#6956852)
Two is still an incredibly handy feature. I would guess that the most common case for returning multiple values is data and size, like all the functions that return a string and the length of the string.
Re:Comparing the Cost of Different Multiple-return Technique... by justincormack on Tuesday December 24, 2013 @04:06AM (#6958801)
Yes. Or the value. error style as used by node.js. forcing errors unto the domain gets messy.