Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.arch
Subject: Re: Optimization by programmers
Date: Mon, 12 Oct 2026 01:49:46 -0700
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <86mrsji9qt.fsf@linuxsc.com>
References: <1177fdi$26ea4$1@dont-email.me> <119j4g4$4kn$1@reader1.panix.com> <119jbt5$cn3a$1@dont-email.me> <86pkxtplou.fsf@linuxsc.com> <11a0580$gjj$1@reader2.panix.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Mon, 12 Oct 2026 08:49:49 +0000 (UTC)
Injection-Info: dont-email.me; logging-data="3592157"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19a6r0MPVkRpwZ/1PuJI/Mq9u3yBrEOxlQ="; posting-host="1f2789f15d316c232bd9e49999d71d7c"
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:Ipz5NPc04dSDnnwU3pYMH+BYejo= sha1:dhlrALXAcDpT8SLD7oQi75lnoQU= sha256:EUcDXk4IOBVriYFZFqdxngC8Rdrpjt8x8cQIaYhkSNQ= sha1:tKf7Gflf7uNfCUGLH5YyhX81UpU= sha256:N8+3TlH/LlBk4TSTAguZp60gaB1LvjW9rbAHTF8WXPc=
Xref: csiph.com comp.arch:118555
cross@spitfire.i.gajendra.net (Dan Cross) writes:
> In article <86pkxtplou.fsf@linuxsc.com>,
> Tim Rentsch wrote:
>
>> Terje Mathisen writes:
>>
>> [on learning Rust]
>>
>>> Quite often, when "fighting the borrow checker", typically because
>>> I'm updating a complicated data structure in two locations at the
>>> same time, I'll fall back to "write Fortran in Rust", with every
>>> access indexed.
>>>
>>> This is BTW one of those problems the brand new upcoming borrow
>>> checker is supposed to be far better at figuring out: If I'm
>>> updating totally separate parts of the same larger structure,
>>> then it should be OK to mutate both at the same time.
>>>
>>> I do realize that there are far more Rusty ways to solve this
>>> type of issue, they just don't come naturally to me yet.
>>
>> (Please excuse my pursuing this non-arch topic...)
>>
>> Question for any Rusters in the group --
>>
>> What is the best was to learn the Rust programming language?
>> Which books or other documents are the best introductory or
>> reference materials?
>>
>> Disclaimer: My experience with Rust is more than zero but
>> not a lot more than zero.
>
> Without knowing what methods you have tried, what books you have
> already explored, what you found dissatisfying about them, and
> why, it is impossible to give you a good answer.
Fortunately some other people found it possible to give
helpful replies.