🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Tim Rentsch Mon, 12 Oct 2026 08:49
Re: Optimization by programmers
#51
Author: Tim Rentsch
Date: Mon, 12 Oct 2026 08:49
39 lines
2806 bytes
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.
Re: Optimization by programmers
#53
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads