Re: The Case for Rust (in any system)

From: Steffen Nurpmeso <steffen_at_sdaoden.eu>
Date: Sat, 07 Sep 2024 01:41:12 UTC
Alan Somers wrote in
 <CAOtMX2gxSfFFv7Xp50iNNS8kzENOB=CGu506t3YT1T5NtXRwoQ@mail.gmail.com>:
 |On Fri, Sep 6, 2024 at 3:07 PM Steffen Nurpmeso <steffen@sdaoden.eu> wrote:
 |>
 |>|>|/Kristoffer Eriksson
 |>|>  --End of <202409052313.aa18097@berenice.pkmab.se>
 |>|>
 |>|> In support for that swedish hm virgin, yes, sweden is not a clean
 |>|> country for sure.
 |>|
 |>|Again, I don't know what you mean.  But it looks like a personal
 |>|attack to me.  Please try to keep your discourse on the public mailing
 |>|lists respectful.
 |>
 |> I cannot understand how you come to the conclusion the above was
 |> addressed to you; it referred for example to the attached picture.
 |
 |I apologize for my ambiguous grammar.  I meant that the comment looks

No need for that.  (In general, to me, these so-called social
guidelines appear strange to me in hindsight to what our society,
not only the western, but that the most, of course, de-facto has
done, and is actively doing.)

 |to me like a personal attack, not that it looks like a personal attack
 |against me.  I should've said "it looks to me like a personal attack
 |against Kristoffer".  But I still don't know what you meant by it, and
 |the attached picture did not help.

Well maybe it in the end was aggression under the hood even.
But that not consciously and definitely not anti-persona.
If it was then likely because of the thread i should better not
have anticipated in at all.
Well, yes, a headline of "not preventable by a safer language" is
indeed almost complete bullshit, and it maybe was the funky "get
the quick meat" a la pacman in return that cause the reference
to Greta Thunberg, aka to the reality under the carpet.
Btw looking again at

  https://marc.info/?l=freebsd-hackers&m=172557576903954&w=2

of yours i am still totally unimpressed except maybe for "Circular
references are almost impossible to create due to the lifetime
borrow checker" given how deeply inter-referenced several
complicated objects i have encountered by the occasional look into
kernel systems (VFS was mentioned) are.
I could now give exact counterparts, this thread kills the last
midsummer day for me, tomorrow, i will not be in bed before
7 o'clock in the morning, what a mess.  But *everybody* who reads
this *knows* how to address the problems we are talking about.

Ie unions, if used like that (?), can be solved by an outer struct
with an ident field, and you can test that (sockaddr).  More data,
more (at least debug) test(macro)s.  There could be a barray or
bvec type with accessor (inline) functions.  "Zero initializing
a structure, but with the wrong size"; then use macros or inline
functions like TYPENAME_init etc, which do that right, instead of
memset(PTR, 0, SOME_SIZE_I_GOT_WRONG_BECAUSE_IT_IS_LATE) or
something in a thousand different places.  Where is the problem?
That it is not done, that is the problem.  Etc etc, you know all
that.  Why this other planet Rust.  Ah na, like Pink Floyd's
Animal Dog

  You gotta sleep on your toes, and when you're on the street You
  gotta be able to pick out the easy meat with your eyes closed
  And then moving in silently, down wind and out of sight

Which brings me back to Miss Greta Thunberg again.

 --End of <CAOtMX2gxSfFFv7Xp50iNNS8kzENOB=CGu506t3YT1T5NtXRwoQ@mail.gmail\
 .com>

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)