News for hackers. Stuff that matters.
Re:Microsoft built its own custom Linux kernel for its new I... by tyingq on Monday April 16, 2018 @09:24PM (#16854624)
Should be interesting to see if Fuschia gains some mindshare. Linux is "bloated" by LOC standards, but once you target a specific architecture, the LOC drops dramatically.

The whole LOC drama train is tied to code that doesn't get compiled when you specify the architecture.

Re:Microsoft built its own custom Linux kernel for its new I... by Someone1234 on Monday April 16, 2018 @10:01PM (#16854799)
Are people who call Linux bloated for IoT-like devices really talking about lines of code? I always thought the main focus was on Linux's architectural layout and how closely tied it is to the x86 memory model & the PC in general.

Realtime OSs are currently in vogue because they better match how some IoTs devices work, so there's less abstraction that doesn't apply to that circumstances (and therefore improved performance/reduced complexity).

Re:Microsoft built its own custom Linux kernel for its new I... by caf on Monday April 16, 2018 @10:39PM (#16854986)
...how closely tied it is to the x86 memory model & the PC in general.

Is it, though? Linux has had NOMMU (running without an MMU at all) support since the early 2000s, and the atomics / barriers are more based on Alpha's memory model than anything else - several of those primitives just compile out to a compiler barrier or nothing at all on x86.

Most heavyweight things you don't need in an IoT context can be compiled-out completely - I think probably the major bit of infrastructure you can't is support for multiple user IDs?

Re:Microsoft built its own custom Linux kernel for its new I... by tyingq on Monday April 16, 2018 @10:06PM (#16854834)
That's fair. What's the counterpart example though? Is it Fuschia, or QNX, or similar? If so, why are they so niche? If there is an obvious better answer I'd expect more noise.
Re:Microsoft built its own custom Linux kernel for its new I... by caf on Monday April 16, 2018 @10:26PM (#16854938)
To underline this, the LOC has actually dropped in the next version of the kernel (which has just hit -rc1), primarily because a set of no-longer-used architectures were removed.