Suositut tekstit

tiistai 27. syyskuuta 2022

Rust Linuxiin

Linuxissa otetaan käyttöön Rust. En ole Rustilla ohjelmoinut. C:llä ja C++:lla olen jonkun verran, siitä on tosin aikaa. Rustissahan automaatio on viety paljon pidemmälle kuin C:ssä. Erityisesti Rustissa on hyvä muistin varauksen automaatio. Itse tykkään kielistä, joissa on paljon automaatiota. Ei ohjelmoijan tule kaikkia pikkujuttuja itse hoitaa vaan koneen pitää hoitaa ne automaattisesti.

This week, Linux’s Benevolent Dictator For Life Linus Torvalds mentioned that the Rust programming language would be used in the upcoming Linux 6.1 kernel. Currently, the Linux kernel is at preview version 6.0-rc6 (codenamed “Hurr durr I’ma ninja sloth”) so we have a bit of time before we all have Rust powering the kernel, but the mere announcement is news-worthy. It’s the author’s opinion that this embrace of Rust at the very core of Linux will be a huge boost to the robotics community.

There are a few reasons for my optimism. First, let’s acknowledge that those in charge of the capital-K Linux Kernel have traditionally forbidden the use of any language other than good old-fashioned C; leaving those confines willingly is remarkable. This will do two important things for the community: start to relieve tech’s complete reliance on C as a programming protocol, and invite programmers who are Rust-forward to make a mark on Linux as a whole. After all, this movement has already started as Android incorporated Rust in 2021.

https://www.therobotreport.com/linux-embracing-rust-will-boost-robotics-community/

Ei kommentteja:

Lähetä kommentti