Re: Planned obsolescence ? (*BSD, Rust)
- To: Jan-Daniel Kaplanski <jd.kaplanski@aol.de>, jbranso@dismail.de, Diederik de Haas <didi.debian@cknow.org>, Marc Haber <mh+debian-release@zugschlus.de>, Romain Dolbeau <romain@dolbeau.org>, paultag@debian.org
- Cc: debian-release@lists.debian.org, debian-kernel@lists.debian.org, debian-toolchain@lists.debian.org, debian-ports@lists.debian.org
- Subject: Re: Planned obsolescence ? (*BSD, Rust)
- From: Riccardo Mottola <riccardo.mottola@libero.it>
- Date: Tue, 4 Nov 2025 09:48:43 +0100
- Message-id: <[🔎] 19d20f04-c21e-f06e-eff9-32373e89d214@libero.it>
- In-reply-to: <[🔎] 37905678-6efb-40d1-8acb-525cbb1d2f74@aol.de>
- References: <20251026122129.qhuo7s5y6ezbmyh7@shell.thinkmo.de> <ab9726c3-81ed-4d2d-b202-5cbb4d6f6451@debian.org> <CADuzgbrck--xBw8OtY+pTS129N75N+JGQ9B1GMVWZk-zssZTsQ@mail.gmail.com> <aQCHuzU7VCMamQRd@torres.zugschlus.de> <DDU0CZ0BTM9C.2WF0YC4J3W8TP@cknow.org> <[🔎] d0318771d205821b7568567427e6ba561b8233e8@dismail.de> <[🔎] 37905678-6efb-40d1-8acb-525cbb1d2f74@aol.de>
Hi Jan-Daniel,
Jan-Daniel Kaplanski wrote:
Also, let's not forget that while Rust is memory safe per default, it
isn't a bug-free paradise. You can still have logic bugs. Of which
there was one recently in the Rust implementation of coreutils,
specifically '"date -r file" returns a wrong date'[4], which directly
caused unattended upgrades to break in Ubuntu 25.10 [5] (or any other
program that relied on a date check of a file for that matter). It
goes to show that a rewrite introduces a potential for new bugs that
are unrelated to the original implementation, even if that rewrite
happens to be in Rust.
nice example where a tool is the issue, certain tools are sold for their
safety and might give a false sense of safety when using them.
It feels like the movement to introduce Rust everywhere is more
because Rust has become such a buzzword that everyone must use it now
and less because of the capabilities of Rust. Not to throw shade, but
if the only benefit is memory safety you might as well do a rewrite in
any other memory safe language that provides I/O access (e.g. Haskell)
instead.
I stand to this analysis... rust has now an aura of safety beyond its
own merit, it is clearly a buzz or hype. I would rather keep it out of a
"core" system and leave the language issue to user applications.
However, we might soon disagree what "core" is and today it becomes
rapidly complex (e.g. you may want to expect both a SSH and a command
line package manager which connects through various network options, a
framebuffer... ).
Perhaps if rust on GCC gives "enough rust" do compile the needed tools,
it might be enough to support also architectures whic gcc supports, that
is for now 68k, PPC, Alpa, HP-PA...
Riccardo
[1] https://rust-gcc.github.io/
Reply to: