Re:Considering C99 for Curl
by pjmlp on Wednesday November 23, 2022 @03:12AM
(#33716472)
Like every other systems programming language with a slice like feature, including those that predate C.
[ Parent
| on HN ]
Please show, don't tell. Your sibling explained that they meant only function call optimization. And I would say it's debatable that this is an "optimization" since slices would be a new concept that is distinct from structs. I agree though that the obvious naive choice would be to pass them in the same way that structs of { ptr, len } are passed in the ABI.