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: Fri, 02 Oct 2026 21:23:03 -0700
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <86ik3jo1js.fsf@linuxsc.com>
References: <1177fdi$26ea4$1@dont-email.me> <119btc7$1n32h$1@dont-email.me> <86bj9hr91x.fsf@linuxsc.com> <20260928195833.00001d42@yahoo.com> <119j4g4$4kn$1@reader1.panix.com> <119jbt5$cn3a$1@dont-email.me> <86pkxtplou.fsf@linuxsc.com> <119otm8$2c89q$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Sat, 03 Oct 2026 04:23:04 +0000 (UTC)
Injection-Info: dont-email.me; logging-data="2834329"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19N8CVUIJItP0Cx3phhHQY+OpsfJpp/B8E="; posting-host="b0e28b4afc9fd8b2450f610d134fbfb4"
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:9VGRmpcYkrr0QVjf8WnD6Es4zXA= sha1:f0ZBfgMrh2sMsrllJ/Bo4ZebGKw= sha256:rupOAZzie1zvliGPeC0ca7GTX6EMg72FSBvd4SUBibM= sha1:dgDvb25HoGq5ywx9R1ZELMmeUjA= sha256:4SsCih8sA+obXb5JoKsaGoIb45klzB0rGvfZ9UGvGlY=
Xref: csiph.com comp.arch:118413
Terje Mathisen writes:
> 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.
>
> My personal Rust journey has been driven by a desire to match or
> beat the fastest known times for the Advent of Code puzzles, from
> 2015 to 2025.
That's good to know but what is a good resource to learn the Rust
language? I've looked at the Rust book several times and each
time come away rather frustrated.