Ubuntu 26.10 completes transition to Rust-based coreutils
271–280 of 338 posts
Re: Ubuntu 26.10 completes transition to Rust-based coreutils
#272Earlier quoted context omitted.
>> Will this really make coreutils more secure? In the long run yes. Sure, many logic bugs happen in Rust programs as well, but memory safety bugs are another level of hell. At least many classes of exploits will mostly be impossible. Also, Rust program failures tend to be more predictable. For example, in C/C++, if you do out of bound writes in an array or writes in a freed memory block, the behavior is undefined. T…
new C++ STL standard makes it no more undefined.
Re: Ubuntu 26.10 completes transition to Rust-based coreutils
#273Earlier quoted context omitted.
Do any widely used languages guarantee tail call optimization? It's a pretty niche feature.
Scala, ocaml, racket, clojure, zig. For recursion only kotlin. (For most of these only with syntax specifying it)
https://ziglang.org/documentation/master/#call
They have an @call built-in that guarantees: always/never tail, as well as always/never inline. That's neat, I can see how that would be useful in various situations.
Re: Ubuntu 26.10 completes transition to Rust-based coreutils
#274Earlier quoted context omitted.
I don’t know of a better tool that operates on raw blocks, maybe there is one. `dd` is a real power user command, I’d prefer that it isn’t doing “intelligent” things, especially not by default.
cp file.iso /dev/sda
&& sync
not sure why it's necessary only sometimes!Re: Ubuntu 26.10 completes transition to Rust-based coreutils
#275Earlier quoted context omitted.
Rush? This is an interim release (95% or so only tracks LTS's) that is not even out yet... Go file a bug reports if you have some time.
This is what made me move away from Ubuntu. Use LTS and encounter issues with outdated packages? "Well duh, you're supposed to upgrade to interim releases if you need remotely up to date software". Use interim releases and encounter bugs? "Well duh, it's an interim release. Of course it's a buggy mess, nobody uses those" Every Fedora release is intended to be solid and they come out twice a year.
Re: Ubuntu 26.10 completes transition to Rust-based coreutils
#276Re: Ubuntu 26.10 completes transition to Rust-based coreutils
#277Earlier quoted context omitted.
Fork Ubuntu and threaten their business model, that’ll get their attention. Only half joking.
There's very little incentive to switch. When people release for Linux they almost always first/only test it works on Ubuntu - hence it's going to be the least buggy. (ex: GOG only seemingly tested games on Ubuntu) So the switching cost is buggy software. You'd need something radically different that brings enough new features to the table to make it worth it the switch and dealing with bad/non-existant support. I th…
Re: Ubuntu 26.10 completes transition to Rust-based coreutils
#278Earlier quoted context omitted.
I don’t know of a better tool that operates on raw blocks, maybe there is one. `dd` is a real power user command, I’d prefer that it isn’t doing “intelligent” things, especially not by default.
cp file.iso /dev/sda
Re: Ubuntu 26.10 completes transition to Rust-based coreutils
#279Re: Ubuntu 26.10 completes transition to Rust-based coreutils
#280Earlier quoted context omitted.
cp file.iso /dev/sda
This isn't portable though, it's a GNU-specific "smart" things. Elsewhere, this overwrites the target device file.
cat foo.img > /dev/sda
works and should be portable. No control over the buffer size, though.