🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #37

Re: Optimization by programmers

#37
From: MitchAlsup
Date: Sun, 11 Oct 2026 18:14
21 lines
1552 bytes
Terje Mathisen <terje.mathisen@tmsw.no> posted:

> Dan Cross wrote:
---------
> 
> My old asm/C brain _knows_ that a slice of something with a known 
> address and total length is effectively the same thing as an unmutable 
> array.

Can I get a definition of what mutable in Rust means ??

Intuition would imply the inverse of opposite of const from C.

> Even if it isn't, the fact that I start by verifying that the slice 
> extends at least 7 bytes past the p index means that all of p, 
> p+1,p+2...p+6 must be valid, right?
----------
> 
> Terje
> 
Technical Details
Message-ID: <1791742457-5857@newsgrouper.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mail
References: <1177fdi$26ea4$1@dont-email.me> <11a3ofn$2ak3s$1@dont-email.me> <11a5hd5$4qb$1@reader2.panix.com> <11a5lqo$2v5bq$1@dont-email.me> <11a6870$41j$1@reader2.panix.com> <11a6a6h$37i1n$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mail
From: MitchAlsup <user5857@newsgrouper.org.invalid>
Newsgroups: comp.arch
Subject: Re: Optimization by programmers
References: <1177fdi$26ea4$1@dont-email.me> <11a3ofn$2ak3s$1@dont-email.me>
  <11a5hd5$4qb$1@reader2.panix.com> <11a5lqo$2v5bq$1@dont-email.me>
  <11a6870$41j$1@reader2.panix.com> <11a6a6h$37i1n$1@dont-email.me>
Date: Sun, 11 Oct 2026 18:14:17 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <1791742457-5857@newsgrouper.org>
Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user5857
Injection-Date: Sun, 11 Oct 2026 18:14:17 GMT
User-Agent: Newsgrouper/0.9.0