<p>After all these years, the core developers of Linux keep innovating. New versions will be faster and more stable.</p><p>Linux runs pretty much everything: all 500 of the&nbsp;<a target="_blank" href="https://www.zdnet.com/article/arm-and-linux-take-supercomputer-top500-crown/">world&#39;s 500 fastest supercomputers</a>; most of the public cloud,&nbsp;<a target="_blank" href="https://www.zdnet.com/article/microsoft-developer-reveals-linux-is-now-more-used-on-azure-than-windows-server/">even on Microsoft Azure</a>; and&nbsp;<a target="_blank" href="https://gs.statcounter.com/os-market-share/mobile/worldwide">74 percent of smartphones</a>. Indeed, thanks to Android, Linux is the most popular end-user operating system,&nbsp;<a target="_blank" href="https://gs.statcounter.com/os-market-share">nudging out Windows by 4 percent</a>&nbsp;(39% vs. 35%).</p><p>So, where does Linux go next? After covering&nbsp;<a target="_blank" href="https://www.zdnet.com/pictures/linux-turns-29-the-biggest-events-in-its-history-so-far/">Linux for almost all 29 years of its history</a>&nbsp;and knowing pretty much anyone who&#39;s anyone in Linux development circles, up to and including Linus Torvalds, I think I have a clue.</p><p>Recent Linux kernel improvements</p><p>The biggest recent improvement&mdash;and nothing else is even close&mdash;is Linux will now become the platform for virtual private networks (VPNs). While Linux, thanks largely to&nbsp;<a target="_blank" href="https://openvpn.net/">OpenVPN</a>, has long been an important VPN player, the addition of&nbsp;<a target="_blank" href="https://www.wireguard.com/">WireGuard</a>, a revolutionary approach to VPNs, changes everything.</p><p>Torvalds really, really likes WireGuard: &quot;Can I just once again state&nbsp;<a target="_blank" href="https://lkml.org/lkml/2018/8/2/663">my love for it</a>&nbsp;and hope it gets merged soon?&quot; he wrote. What Linus wants, Linus gets. Wireguard was merged into the Linux 5.6 kernel in March 2020.</p><p>Why is it such a big deal? WireGuard has a rare quality in a security program: Its code is clean and simple. It also comes with state-of-the-art cryptography technology support for the&nbsp;<a target="_blank" href="http://www.noiseprotocol.org/">Noise protocol framework</a>,&nbsp;<a target="_blank" href="http://cr.yp.to/ecdh.html">Curve25519</a>,&nbsp;<a target="_blank" href="http://cr.yp.to/chacha.html">ChaCha20</a>,&nbsp;<a target="_blank" href="http://cr.yp.to/mac.html">Poly1305</a>,&nbsp;<a target="_blank" href="https://blake2.net/">BLAKE2</a>,&nbsp;SipHash24, and HKDF.</p><p>What&#39;s even more important for users is it&#39;s much faster than its rivals. Benchmarks have shown&nbsp;<a target="_blank" href="https://restoreprivacy.com/vpn/wireguard-vs-openvpn/">WireGuard is more than twice as fast as OpenVPN</a>. It&#39;s also cross-platform, so while you can run on a Linux server, your clients can be on Windows, macOS, BSD, iOS, Android, and of course, the Linux desktop.</p><p>The Linux 5.6 kernel also boasted several other major improvements. First, for those still running 32-bit systems, Linux solved its &quot;end of time&quot; problem. You see, at 03:14:08 Greenwich Mean Time (GMT, a.k.a. Coordinated Universal Time) on Tuesday, Jan. 19, 2038, the world ends.</p><p>What will happen is the value for time in 32-bit-based Unix-based operating systems, like Linux and older versions of macOS, will run out of 32-bit numbers. They would then start counting time backward with negative numbers. And you thought the Y2K bug was scary!</p><p>It all began because Unix, Linux&#39;s dad, dates the beginning of time in seconds from the Epoch: 00:00:00 GMT on Jan. 1, 1970. The rub was, since Unix started as a 32-bit operating system, it kept time as a single signed 32-bit integer number. Those are a lot of seconds, but it&#39;s not enough. The fix retrofits even 32-bit Linux to use 64-bit numbers. Of course, this only delays the problem until 5:30:08 GMT Sunday, Dec. 4, 29,227,702,659. I&#39;m OK with that.</p><p>Android and Linux get into sync</p><p>Everyone who pays attention to operating systems knows that Android is a mobile-specialized Linux distribution. What may not be known is that, for many years,&nbsp;<a target="_blank" href="https://www.computerworld.com/article/2468908/android-and-linux-are-growing-back-together.html">Android was a Linux fork</a>. Even now, 10 years after Android and core Linux developers started to work and play nicely with each other again, they&#39;re not quite on the same page. That&#39;s changing.</p><p>As&nbsp;<a target="_blank" href="https://lwn.net/">Jonathan Corbet</a>, Linux kernel developer and writer, said in his annual&nbsp;<a target="_blank" href="https://www.youtube.com/watch?v=kJNNQgJPY3M">Linux Kernel Report</a>, the &quot;latest stable kernel is on its way to becoming part of the Android generic system image, then they will track the stable updates. This will mean they&#39;re much closer to the current state of the art.&quot;</p><p>That may not sound like a big deal to you, but it is.</p><p>Here&#39;s why. Today, before Linux ends up on that shiny new Android phone in your hand, it goes through three separate, time-consuming stages. First, Google takes a Long Term Support (LTS) kernel and adds in Android-specific code to make the&nbsp;<a target="_blank" href="https://source.android.com/devices/architecture/kernel/android-common">Android common kernel</a>. Next, Google ships that Android common kernel to a system-on-a-chip (SoC) manufacturer, such as&nbsp;<a target="_blank" href="https://www.qualcomm.com/">Qualcomm</a>. The OEM then customizes the kernel to a specific SoC and chipset. Finally, the SoC kernel goes to the smartphone manufacturer. The manufacturer, in turn, adds its home brew, proprietary drivers for the display, camera, and Wi-Fi/cellular modem. This device kernel is what&#39;s on your phone.</p><p>Along the way, every phone picks up literally millions of lines of kernel code not part of the standard distribution. Most of this is device drivers. Each smartphone or Android tablet comes with its own blend of drivers. That&#39;s why making a true universal Android smartphone distribution, such as the&nbsp;<a target="_blank" href="https://e.foundation/">/e/ operating system</a>, is so hard. The result? That sharp new phone in your pocket has a 2-year-old Linux kernel. It&#39;s because of these ancient kernels that&nbsp;<a target="_blank" href="https://fossbytes.com/linux-lts-kernel-4-19-and-5-4-will-now-be-supported-for-6-years-instead-of-2/">Linux LTS kernels now come with six years of support</a>.</p><p>Google and the vendors are no more eager than you would be to backport security patches to dusty, old kernels. So Google, along with the developer community, is trying to bring the shipping versions of Android in line with mainline, current Linux kernels.</p><p>This is going to take a while. A pair of eternal Android problems&mdash;the refusal of Linux developers to support a stable application binary interface (ABI) and the equally firm refusal of hardware vendors to open source their drivers&mdash;are still with us for the time being. An ABI defines how a program works with hardware when you don&#39;t know how to work with it at an application code level. Open source developers want to work at an API level, while vendors all too often want to keep their devices mysterious hidden data that can be reached only by an ABI. Despite this, we&#39;re finally closer to speeding up the integration of Linux in the Android production pipeline. This means Android will be more secure out of the box.</p><p>eBPF: The network firewall that became a Linux debugger</p><p>Corbet also talked about the continued rise of the&nbsp;<a target="_blank" href="https://prototype-kernel.readthedocs.io/en/latest/bpf/">extended Berkeley Packet Filter (eBPF)</a>&nbsp;as a powerful Linux kernel debugger tool. How could that possibly happen you ask? Like this.</p><p>While eBPF, like any firewall, can capture, filter, and block network packets, it does this by running user-space code inside an in-kernel virtual machine. Ah, you begin to see.</p><p>You can make eBPF run in response to activities on&nbsp;<a target="_blank" href="https://www.kernel.org/doc/Documentation/trace/tracepoints.txt">tracepoints</a>,&nbsp;<a target="_blank" href="https://www.kernel.org/doc/html/v4.18/trace/kprobetrace.html">kprobes</a>, and&nbsp;<a target="_blank" href="https://perf.wiki.kernel.org/index.php/Main_Page">perf</a>&nbsp;events. This enables you to debug kernel problems and run performance analysis. Better still, since eBPF programs can access kernel data structures, you can write, add, and test new debugging code without recompiling the kernel. This is a major time-saver for busy developers. Now, system administrators and programmers outside of the Linux kernel&#39;s inner circle are beginning to use eBPF&#39;s power.</p><p>Rust becomes Linux&#39;s second language</p><p>Since day one, if you wanted to develop in the Linux kernel, or anything that runs close to it, you had to do it in C. Indeed, you could argue Linux is the reason why C remains a popular language. Not anymore.</p><p>At the virtual&nbsp;<a target="_blank" href="https://www.linuxplumbersconf.org/blog/2020/">2020 Linux Plumbers Conference,</a>&nbsp;where the top Linux kernel developers hash out Linux&#39;s future, they talked about introducing&nbsp;<a target="_blank" href="https://linuxplumbersconf.org/event/7/contributions/804/attachments/641/1168/barriers-to-in-tree-rust.pdf">Rust as the kernel&#39;s second language</a>.&nbsp;<a target="_blank" href="https://www.rust-lang.org/">Rust</a>&nbsp;is a high-level system language that is&nbsp;<a target="_blank" href="https://research.mozilla.org/rust/">sponsored by Mozilla</a>, Firefox&#39;s parent organization. Believe it or not, this notion is receiving widespread support. Torvalds himself is sure Linux won&#39;t end up being written in Rust. But then, that&#39;s not the goal. No one&#39;s going to rewrite the kernel&#39;s 25 million lines of C in Rust.</p><p>Led by Josh Triplett, Rust language lead, and Nick Desaulniers, a Google engineer, they proposed using the system-level Rust language inside the kernel. Why? Because, it&#39;s much safer than C, especially when it comes to handling memory.</p><p>As Ryan Levick, a Microsoft principal cloud developer advocate, explained, &quot;<a target="_blank" href="https://msrc-blog.microsoft.com/2019/07/22/why-rust-for-safe-systems-programming/">Rust is completely memory safe</a>.&quot; Since roughly two-thirds of security issues can be traced back to handling memory badly, this is a major improvement. In addition, &quot;Rust prevents those issues usually without adding any runtime overhead,&quot; he said.</p><p><a target="_blank" href="https://www.zdnet.com/article/linus-torvalds-looks-at-the-future-of-linux-kernel-developers-and-development/">Torvalds sees the advantages</a>. While he&#39;s encouraging a&nbsp;<a target="_blank" href="https://lore.kernel.org/lkml/CAKwvOdmuYc8rW_H4aQG4DsJzho=F+djd68fp7mzmBp3-wY--Uw@mail.gmail.com/T/#u">slow but steady approach to introducing Rust into Linux</a>, he has also said that using Rust interfaces for drivers and other non-core kernel programs makes sense: &quot;I&#39;m convinced it&#39;s going to happen. It might not be Rust, but it is going to happen that we will have different models for writing these kinds of things, and C won&#39;t be the only one.&quot;</p><p>While the core kernel developers are moving slowly, other Linux distribution developers have wasted no time in adopting Rust. Amazon Web Services (AWS) has announced that its just-released&nbsp;<a target="_blank" href="https://aws.amazon.com/blogs/opensource/announcing-the-general-availability-of-bottlerocket-an-open-source-linux-distribution-purpose-built-to-run-containers/">Bottlerocket Linux</a>&nbsp;for containers is largely written in Rust.</p><p>Like Microsoft and Firefox, to name two others incorporating Rust into their development plans, AWS likes Rust for its memory security features. Samartha Chandrashekar, an AWS product manager, said it &quot;helps ensure thread safety and prevent memory-related errors, such as buffer overflows that can lead to security vulnerabilities.&quot;</p><p>Looking ahead, it&#39;s clear that Rust will soon be playing a major role in both Linux kernel and distribution development. Who would have ever thought that C would be displaced in even a small way in these programming circles?</p><p>Linux 6.0 Kernel and beyond</p><p>By the end of the year, Linux 6.0 will appear. But don&#39;t get too excited about the number. As&nbsp;<a target="_blank" href="https://www.zdnet.com/article/linux-5-0-a-major-milestone-with-minor-improvements/">Torvalds said about the 5.0 release,</a>&nbsp;&quot;I&#39;d like to point out (yet again) that we don&#39;t do feature-based releases, and that &#39;5.0&#39; doesn&#39;t mean anything more than that the 4.x numbers started getting big enough that I ran out of fingers and toes.&quot;</p><p>Looking ahead, most of Linux 6, like almost all Linux releases, will consist of new and improved hardware drivers. One prospective change, however, will be noticed by everyone: Linux will finally support the&nbsp;<a target="_blank" href="https://lwn.net/Articles/821723/">AMD and Intel FSGSBASE instruction set</a>. OK, unless you&#39;re a seriously hard-core developer, I&#39;ve just lost you. Here&#39;s the important thing about Linux supporting this chip instruction set: Your machine will run significantly faster.</p><p>How much faster?&nbsp;<a target="_blank" href="https://www.phoronix.com/scan.php?page=article&amp;item=linux-59-fsgsbase&amp;num=1">Early benchmarks with the first Linux 5.9 beta</a>&nbsp;show significant I/O improvements. With Redis, the open source, in-memory data structure store, which is often used as a database, there was more than a 50 percent performance boost. That&#39;s none too shabby!</p><p>So what it all comes down to is Linux is continuing to improve both its speed and security. And, as amazing as it may seem, Linux is continuing to expand its markets, thanks to its newly integrated WireGuard VPN.</p><p>Who knows? Perhaps, 2021 will be the year of the Linux desktop. After all, 2020 was the year of&nbsp;<a href="https://www.hpe.com/us/en/insights/articles/3-good-ways-to-run-linux-on-windows-2007.html">Linux on the Windows desktop.</a></p><p>What&#39;s new in Linux: Lessons for leaders</p><ul><li>Systems running on old software are probably not running as well as they might.</li><li>New generations of software, certainly including Linux, create new technology and business opportunities.</li><li>Operating systems are not a completely mature technology; there are still big improvements to be made.</li></ul>