News for hackers. Stuff that matters.
Re:Baby Steps: Slowly Porting Musl to Rust by programmer_dude on Wednesday June 15, 2016 @08:11AM (#11908775)
> caller shouldn't know specifics on what is valid for the callee

Why? How do you even use an API if you don't know what you can pass into it?

Re:Baby Steps: Slowly Porting Musl to Rust by nwmcsween on Wednesday June 15, 2016 @01:21PM (#11910638)
For example strtol, you may pass whatever (implicitly nul terminated, which is bad) and it either returns a value or an error. I wasnt advocating _you_ don't know what to pass but that the caller doesn't include specifics of the callee.