Sujet : Re: Computer architects leaving Intel...
De : mitchalsup (at) *nospam* aol.com (MitchAlsup1)
Groupes : comp.archDate : 16. Sep 2024, 18:57:49
Autres entêtes
Organisation : Rocksolid Light
Message-ID : <e2b59c7c7ed1e4075182717959279ff8@www.novabbs.org>
References : 1 2 3 4 5 6 7 8 9 10 11 12
User-Agent : Rocksolid Light
On Mon, 16 Sep 2024 13:04:02 +0000, Michael S wrote:
On Mon, 16 Sep 2024 14:48:50 +0200
David Brown <david.brown@hesbynett.no> wrote:
It's not less efficient. usize in Rust is approximately the same as
size_t in C. With one exception that usize overflow panics under debug
build.
One can and should argue that::
#p++;
should panic if p++ crosses an address space boundary (user->OS, or
OS->HyperVisor,...) as no array is allowed to cross such a boundary.