I mean, have you ever looked at any low level code from any language that came out in the last 30 years? Its always C.
Sure, but they don’t usually have the audacity to market themselves as a viable alternative and cannibalize its system interfaces (or, in this case, claim to)
This is correct and fine?
It’s also a c wrapper
So? It’s
logname, what do you expect, for them to read the bits directly from memory? If you’re going to criticise this for anything, it should be that it doesn’t support Windows, not that it calls out tolibc.See the third clause in the kitty’s train of thought. If it’s of any consolation to you, I’d never have gone looking if I’d known what to expect.
yeah, all of this to call libc::getlogin().
I no longer use any wrappers or utils, they’re just bloat. Now I just use my dousing rod to read and set bits in my RAM, way more efficient
it’s wrappers and utils all the way down.
I’m not that well versed in rust, is this literally just wrapping the C library in rust, and calling it a rust implementation of it?




