Well, it does make up for including Rust code into the kernel.
Announcement
Collapse
No announcement yet.
Fast Kernel Headers v2 Posted - Speeds Up Clang-Built Linux Kernel Build By ~88%
Collapse
X
-
Originally posted by Michael View Post
Unfortunately I don't have any Model T or any other car pictures I've taken that would be relevant... when thinking of what to add for an image around speed, Ferrari came to mind as had some pictures during an AMD party at Ferrari HQ a few years ago.
Comment
-
Originally posted by caligula View PostHoly crap. Now C isn't the fastest language to compile. Imagine if Linux was written in Pascal. Would save millions in server hardware.
1. the more featured a language is, the more it takes to compile; you want generics, type inference, even inheritance, named parameters, be prepared to pay a price
2. longer compile times are always justified when they result in faster production code (which is almost all the time); languages like Java or C# may appear fast to compile, but they do not link anything - you'll pay a hefty runtime penalty for that
More on topic, the biggest expectation I have from these patches, whenever they manage to land, is that shorter build times will make fuzzing more feasible, so a lot more bugs will be exposed and patched.
- Likes 15
Comment
-
Originally posted by milkylainen View PostI wonder if these header changes are going to break every external kernel module build there is?
Probably a whole lot of other stuff that are halfway between userspace and whatnot.
Does anyone know how these changes interact with existing code?
Ie, how much breakage can one expect?
- Likes 4
Comment
-
-
Originally posted by perpetually high View PostDoes anyone have this patch available in a single file by chance?
Code:git clone git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git; cd tip; git diff c9e6606c7fe9..391ce485ced0
- Likes 9
Comment
-
Originally posted by rmfx View PostWow, feels like the v4 of the patch will enable an over 2x compile time speedup.
100% / (100% - 88%) = 100 / 12 = 8.3333 , i.e. over 8x speedup already.
Unless Michael misinterpreted the numbers and it's only really speeding up by 88%, which is a totally different metric which means cutting build time by about 47%:
1 / 1.88 = 0.5319
- Likes 2
Comment
Comment