Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Infosec people have been showing the C folks for decades, showing alone isn't enough, when people refuse to change their habits.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: