3 ms·
> You should never have to do that. You shouldn't be able to do that. Someone, at somepoint, has to do this though. Custom memory allocators are more or less p
by albinofrenchy 11y ago
> You should never have to do that. You shouldn't be able to do that.
Someone, at somepoint, has to do this though. Custom memory allocators are more or less predicated on having a byte buffer you chop up and use like this.
I think the best we get -- especially in driver code -- is well thought out design that have low cost abstractions between the device details and the application logic. But that seems like a library detail more than a compiler or language one.