🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #53

Re: Optimization by programmers

#53
From: Dan Cross
Date: Mon, 12 Oct 2026 13:05
53 lines
2953 bytes
In article <86mrsji9qt.fsf@linuxsc.com>,
Tim Rentsch  <tr.17687@z991.linuxsc.com> wrote:
>cross@spitfire.i.gajendra.net (Dan Cross) writes:
>
>> In article <86pkxtplou.fsf@linuxsc.com>,
>> Tim Rentsch  <tr.17687@z991.linuxsc.com> wrote:
>>
>>> Terje Mathisen <terje.mathisen@tmsw.no> 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.

Oh?  Which ones?  I saw few responses to your question, and the
only other references given were to the standard library source
code or, "Learning Rust With Entirely Too Many Linked Lists"
(https://rust-unofficial.github.io/too-many-lists/), by Aria
Desires.

What did you find useful about those, and how, for you, did they
improve on the references you had already reviewed?

	- Dan C.
Technical Details
Message-ID: <11ailv5$k3$1@reader2.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
References: <1177fdi$26ea4$1@dont-email.me> <86pkxtplou.fsf@linuxsc.com> <11a0580$gjj$1@reader2.panix.com> <86mrsji9qt.fsf@linuxsc.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cross@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.arch
Subject: Re: Optimization by programmers
Date: Mon, 12 Oct 2026 13:05:41 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <11ailv5$k3$1@reader2.panix.com>
References: <1177fdi$26ea4$1@dont-email.me> <86pkxtplou.fsf@linuxsc.com> <11a0580$gjj$1@reader2.panix.com> <86mrsji9qt.fsf@linuxsc.com>
Injection-Date: Mon, 12 Oct 2026 13:05:41 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
	logging-data="643"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)