News for hackers. Stuff that matters.
Re:Linear Address Spaces: Unsafe at any speed by raverbashing on Thursday June 30, 2022 @04:24AM (#31929976)
So instead of giving that metadata to the programmer the C language says F U and tells me only knowing where to put it is enough, right?

"hey you allocated it you should know about it right?" right yeah

Re:Linear Address Spaces: Unsafe at any speed by simiones on Thursday June 30, 2022 @09:09AM (#31931897)
To be clear, that metadata only (generally) exists in principle - it is not actually materialized and stored anywhere, even at compile time (definitely not at runtime). There may be cases where the compiler actually tracks it, but most often it is only tracked "best effort" - the compiler only needs to prove that two pointers can't be aliased based on any possible value of that metadata, not actually compute that metadata and use it.