Groups Similar Look up By Text Browse About



Similar articles
Article Id Title Prob Score Similar Compare
212227 TECHREPUBLIC 2021-7-21:
Let the Linux kernel Rust
1.000 Find similar Compare side-by-side
212364 ZDNET 2021-7-20:
Rust in the Linux kernel: Why it matters and what's happening next
0.981 0.609 Find similar Compare side-by-side
212455 ZDNET 2021-7-20:
Nasty Linux systemd security bug revealed
0.435 Find similar Compare side-by-side
212604 ZDNET 2021-7-21:
Patch now: Linux file system security hole, dubbed Sequoia, can take over systems
0.019 0.423 Find similar Compare side-by-side
212595 TECHREPUBLIC 2021-7-22:
Systemd can't seem to catch a break: New vulnerability found
0.419 Find similar Compare side-by-side
212563 TECHREPUBLIC 2021-7-23:
Programming languages: Learn Python basics and advanced skills in these 12 courses
0.356 Find similar Compare side-by-side
212321 TECHREPUBLIC 2021-7-19:
Linux 101: What are aliases and how do you use them?
0.337 Find similar Compare side-by-side
212325 VENTUREBEAT 2021-7-18:
Why machine programming should be the next technology you invest in
0.317 Find similar Compare side-by-side
212161 TECHREPUBLIC 2021-7-19:
Should documentation writers get paid more than developers?
0.302 Find similar Compare side-by-side
212164 ZDNET 2021-7-21:
Learn all the skills you need to be a C Suite programmer for only $50
0.301 Find similar Compare side-by-side
212176 TECHREPUBLIC 2021-7-21:
KDE is to Linux what 7 was to Windows
0.293 Find similar Compare side-by-side
212468 ZDNET 2021-7-23:
GitHub boosts supply chain security for Go modules
0.291 Find similar Compare side-by-side
212147 ZDNET 2021-7-19:
Developer tools: VS Code just got a built-in JavaScript debugger
0.282 Find similar Compare side-by-side
212497 TECHREPUBLIC 2021-7-22:
How low-code development could boost AI adoption
0.280 Find similar Compare side-by-side
212388 ZDNET 2021-7-19:
Red Hat expands Linux offerings for research and academic organizations
0.273 Find similar Compare side-by-side
212528 TECHREPUBLIC 2021-7-22:
Install the latest version of the Docker engine to avoid vulnerabilities
0.265 Find similar Compare side-by-side
212530 TECHREPUBLIC 2021-7-22:
Which universities are producing today's programming talent?
0.248 Find similar Compare side-by-side
212330 VENTUREBEAT 2021-7-18:
OpenAI Codex shows the limits of large language models
0.228 Find similar Compare side-by-side
212629 ZDNET 2021-7-22:
End of an era: Now Firefox has dropped support for FTP, too
0.228 Find similar Compare side-by-side
212323 VENTUREBEAT 2021-7-18:
Natural language understanding tough for neural networks
0.226 Find similar Compare side-by-side
212351 TECHREPUBLIC 2021-7-20:
Red Hat expands its reach into academia and research institutions
0.219 Find similar Compare side-by-side
212474 THEVERGE 2021-7-23:
Workers for Google Pittsburgh contractor HCL reach tentative union contract
0.211 Find similar Compare side-by-side
212643 ZDNET 2021-7-22:
Prepare for AI that learns to code your enterprise applications
0.210 Find similar Compare side-by-side
212345 TECHREPUBLIC 2021-7-20:
How to customize Siri's voice in iOS 14.5
0.204 Find similar Compare side-by-side
212572 ZDNET 2021-7-23:
The 25 most dangerous software vulnerabilities to watch out for
0.202 Find similar Compare side-by-side

1

ID: 212227

URL: https://www.techrepublic.com/article/let-the-linux-kernel-rust/

Date: 2021-07-21

Let the Linux kernel Rust

Rust has been threatening to creep into Linux in various ways for some time now. We're talking Rust, the programming language, not rust the iron oxide. And the creeping shows zero signs of slowing. In fact, Rust has finally (and officially) found its way into the Linux kernel. And that's a good thing. 5 Linux server distributions you should be using (TechRepublic Premium). According to the Google Security Blog, the company declared (back in April) that Android now supported Rust programming language for developing the OS and they (Google) were participating in the effort to evaluate the use of Rust as a supported programming language for the Linux kernel. Since its inception, C has been the programming language for writing operating system kernels. Why? Because the language offers a certain level of control and predictability that other languages cannot match. And in the Linux kernel, memory issues have been quite low, due to the impeccable quality of the code. However, memory safety issues still occur. And given how many enterprise businesses now depend on Linux, even a single memory safety issue is one too many. That's where Rust comes in. Google has been all-in on this programming language because it can help reduce the number of bugs and security vulnerabilities. The goal, of course, is not to convert the entire kernel from C to Rust, but to allow newly submitted code to be written in the newly included language. But don't get your hopes up that you'll see the Rust programming language in the stable kernel any time soon. The Linux kernel has more than 30 million lines of code. However, to that end, Google is now bankrolling the Internet Security Research Group (the parent company of Let's Encrypt) to sponsor the Rust for Linux organization and is paying Miguel Ojeda as a full-time developer (with a one-year contract) to help make this happen. C++ programming language: How it became the foundation for everything, and what's next (free PDF). (TechRepublic). The immediate goal is to write new Linux kernel components (such as drivers) in Rust and even (possibly) rewriting some of the riskier C code. One of the biggest reasons is that Rust will not allow a developer to create the potential for buffer overflows, thereby closing some of the various avenues hackers would normally take to break into a system. On this project, Josh Aas, ISRG's executive director, said, "When we think about what code is most critical for today's internet, the Linux kernel is at the top of the list. Bringing memory safety to the Linux kernel is a big job, but the Rust for Linux project is making great progress." Rust is a programming language that was designed, from the ground up, for performance and safety. Syntactically, the Rust programming language is similar to C++ and guarantees memory safety (without the help of garbage collection) by using a borrow checker (a way to force developers to manage ownership) to validate references. Rust was created by Graydon Hoare at Mozilla and has been voted "most loved programming language" every year (since 2016) in the Stack Overflow developer survey. On July 10, 2020, Linus made his opinion clear when he said: "No, please make it a 'is rust available' automatic config option. The exact same way we already do the compiler versions and check for various availability of compiler flags at config time. " His goal was to ensure there was widespread testing. And although Torvalds wanted the Rust programming language to be enabled by default, he did not want to not make Rust a requirement in the kernel, but rather, make sure the Rust compiler was detected on the system.  Fast forward to 2021 it was made public (during the Linux Plumbers Conference) that both Linus and other core maintainers of the kernel had expressed an openness in principle to supporting kernel development in Rust. But it's going to take considerable time if this is going to happen. Torvalds' take is as simple as it is logical. He fully understands how many people (and businesses) depend on the Linux kernel and that the days of kernel developers doing "wild and crazy things" are over. Everything has to be carefully and meticulously planned.  The best programming languages to learn--and the worst (TechRepublic Premium). If I had to make a prediction, I'd say the future is fairly clear. What we'll see is a handful of drivers (specifically those required by big industry and enterprise businesses, such as a GPU driver for container deployment) written in Rust programming language and accepted into the kernel. Once those have proven their merit, and the dust has settled from that inclusion, Rust will continue to creep further into the kernel until it shares a marked piece of the pie with C. Will it ever completely replace C? Not in my lifetime. C is just too powerful and efficient a programming language (plus... 30 million lines of C). But where security is of key importance, Rust might well overtake the default language in those particular areas. It will, however, take considerable time. But that's how rust works... slowly, methodically.  Subscribe to TechRepublic's How To Make Tech Work on YouTube for all the latest tech advice for business pros from Jack Wallen. You don't want to miss our tips, tutorials, and commentary on the Linux OS and open source applications. Delivered Tuesdays