News for hackers. Stuff that matters.
Re:Memory Safe Languages in Android 13 by steveklabnik on Friday December 02, 2022 @02:03PM (#33835154)
Ah yeah no worries :)

It’s sort of tough because I am only familiar in passing with the patterns in that type of code, but Layout is an allocator API, so I’m not 100% sure why it would be used here. I’d guess that if I was doing something like this, I’d be casting it to and from a struct that’s defined correctly. This is one area where stuff is a little simpler than C, thanks to the lack of TBAA, though many projects do turn that off.

There are no comments on this comment yet.