3 min read
|
Saved February 14, 2026
|
Copied!
Do you care about this?
The Linux kernel is considering enabling the -fms-extensions flag, which could improve code aesthetics and save stack space. Linus Torvalds supports this move, indicating it may be included in the upcoming Linux 6.19 release.
If you do, here's more
The Linux kernel is looking to enable Microsoft C extensions, specifically the `-fms-extensions` flag, which could lead to more aesthetically pleasing code and potentially save stack space. Rasmus Villemoes argues that while previous discussions deemed the benefits of this compiler flag minor, adopting it could eliminate the need for individual cases to justify its use, making it readily available for future applications. This approach reflects a common dilemma in software development where the initial hesitance to embrace a change can hinder progress.
The patch also aims to ensure that CPU architectures with specific CFLAGS receive the `-fms-extensions` option. Linus Torvalds has expressed support for this change in the upcoming Linux 6.19 kernel, indicating a shift towards accommodating Microsoft C behavior within the mainline Linux kernel. While some developers may be apprehensive about this integration, the overall sentiment is that enabling the extension could enhance coding practices without significant downsides.
The conversation around `-fms-extensions` highlights an ongoing effort to balance innovation with traditional coding standards in Linux development. As the kernel evolves, leveraging features from other compilers could make a substantial impact on code quality and maintainability.
Questions about this article
No questions yet.