News for hackers. Stuff that matters.
Re:A Linux kernel without struct buffer_head by cratermoon on Friday May 05, 2023 @11:43PM (#35837767)
I aspire to one day work for an organization that balances backward compatibility with necessary changes as well as the linux community can. It's not just the attention to maintaining it, it's the sophistication in how to manage the variant needs.
Re:A Linux kernel without struct buffer_head by kazinator on Friday May 05, 2023 @11:55PM (#35837826)
Microsoft is hiring. In the past, Microsoft had gone as far as emulating undocumented/undefined API behavior for misbehaving/buggy applications, to keep them working under new OS releases.

Nobody in GNU/Linux tests old binaries; only whatever they recompiled for their current distro, and screw the rest.

The kernel is pretty good about maintaining syscall compatibility.

Re:A Linux kernel without struct buffer_head by NotYourLawyer on Saturday May 06, 2023 @12:33AM (#35838017)
Raymond Chen has about a million blog posts describing some of these efforts.

https://devblogs.microsoft.com/oldnewthing/

Re:A Linux kernel without struct buffer_head by smegsicle on Saturday May 06, 2023 @02:05AM (#35838541)
is redmond-chan even a real person ?
Re:A Linux kernel without struct buffer_head by kazinator on Saturday May 06, 2023 @02:46AM (#35838775)
Yes; have you checked the Hong Kong telephone book? There is probably 150 of them there alone.
Re:A Linux kernel without struct buffer_head by cratermoon on Saturday May 06, 2023 @02:12PM (#35843845)
The difference between Microsoft and the linux kernel community as demonstrated in this case is what I termed 'balance'.

> Microsoft had gone as far as emulating undocumented/undefined API behavior for misbehaving/buggy applications

Yeah, I believe Chen writes about code for SimCity. This is where Microsoft loses balance. They keep backwards compatibility to a fault. Literally a fault. At some point the kernel will no longer have `struct buffer_head`, at least not in the mainline, though it may be a while. That backwards compatibility will go away. Microsoft has been and continues to be bad about end-of-life for their software. They keep things around that should be gone, and remove or stop supporting things that should stay.

Re:A Linux kernel without struct buffer_head by rasz on Sunday May 07, 2023 @03:18AM (#35848803)
also 'Woe unto PROGMAN.INI' https://devblogs.microsoft.com/oldnewthing/20090903-00/?p=16...

> Sad but true: Once you document a file format, it becomes a de facto API.