News for hackers. Stuff that matters.
Re:Resigning as Asahi Linux project lead by kmeisthax on Thursday February 13, 2025 @12:53PM (#43038963)
Implementing (or removing) Drop on a type is a breaking change for that type's users, not the language as a whole. And only if you actually write a trait that depends on types directly implementing Drop[0].

Linux breaks internal compatibility far more often than people add or remove Drop implementations from types. There is no stability guarantee for anything other than user-mode ABI.

[0] AFAIK there is code that actually does this, but it's stuff like gc_arena using this in its derive macro to forbid you from putting Drop directly on garbage-collectable types.

Re:Resigning as Asahi Linux project lead by cbsmith on Thursday February 13, 2025 @01:05PM (#43039128)
> Linux breaks internal compatibility far more often than people add or remove Drop implementations from types. There is no stability guarantee for anything other than user-mode ABI.

I think that's missing the point of the context though. When Linux breaks internal compatibility, that is something the maintainers have control over and can choose not to do. When it happens to the underlying infrastructure the kernel depends on, they don't have a choice in the matter.

Re:Resigning as Asahi Linux project lead by busterarm on Thursday February 13, 2025 @02:05PM (#43039869)
> is a breaking change _for that type's users_, not the language as a whole.

And yet the operating mantra...the single policy that trumps all others in Linux kernel development...

is don't break user space.

Re:Resigning as Asahi Linux project lead by dezgeg on Friday February 14, 2025 @03:18AM (#43046107)
Rust compiler upgrades being backwards incompatible has nothing to do whatsoever with keeping userspace ABI compatible.

GCC also occassionally breaks compability with the kernel, btw.