6 ms·
Yes. There is, quite literally, no way to ensure data is not leaked (namely, that data is zeroed / etc) in portable C / C++.
by TheLoneWolfling 11y ago
Yes.
There is, quite literally, no way to ensure data is not leaked (namely, that data is zeroed / etc) in portable C / C++.
- alain94040 11y agoOr in assembly, for that matter. You never what data the CPU is duplicating behind your back: store buffers, prediction, etc.
- TheLoneWolfling 11y agoAt least with assembly most of the time you can't ever get that data back. Although not always. With C it's far too easy to get the data back. Also, you missed the worst example: CPU cache.