Community hotspot

  • Source: Rust Daily
  • The author:RustDaily newspaper group
  • Post editor: Zhang Handong

Huawei | openEuler community was formally established on March 29, the Rust SIG

The openEuler community has formed Rust SIG. In addition to maintaining the Rust tool chain software packages in the openEuler operating system, it is also committed to introducing excellent open source projects in the upstream Rust community into the openEuler operating system. In the future, openEuler will continue to cooperate with the Rust community and related manufacturers in China to promote the development of the Rust language in China and attract more developers to pay attention to and use the Rust language.

Join the community by subscribing to the [email protected] mailing list.

Subscription method:

Openeuler.org/zh/communit… Find Rust SIG on this page, then go to the SubScribe button and enter your email to SubScribe. And then you get an email, and you just respond to that email.

Niko | our AWS Rust how the team will make a contribution to the success of Rust in the future

The AWS Rust team has been drafting our charter and purpose since the beginning of the year. The Charter and purpose is the framework that AWS teams use to define our scope and priorities. The charter tells your team what to do, and the mission statement tells your team how to do it. Since our team mission has always been to operate openly and transparently, we would like to share our charter and mission statement with you, and we want you to know what we are doing.

It is easy to draw up our constitution. This is just one sentence: the AWS Rust team is committed to making Rust efficient and reliable for all of its users. Enough said! However, writing these objectives requires more work.

Wait, AWS has a Rust group?

Yes! In fact, AWS has been using Rust for several services since at least 2017. For example, Firecracker, written in Rust and launched in 2018, offers open source virtualization technology that powers AWS Lambda and other serverless offerings. AWS recently released Bottlerocket, a Linux-based container operating system written in Rust, The Amazon Elastic Compute Cloud(Amazon EC2) team uses Rust as the preferred language for new AWS Nitro system components, including sensitive applications such as Nitro Enclaves. As the adoption of Rust in AWS grows, so does our investment in Rust projects and communities. In 2019, AWS announced its sponsorship of the Rust project. In 2020, AWS began to build a team of Rust maintainers and contributors, and in 2021, AWS launched the Rust Foundation in collaboration with other Rust users and Rust projects. The AWS Rust team started by figuring out how best to connect with AWS and the broader open source community. We know that we want to operate in an open environment and be part of society as a whole. At the same time, we knew we wanted to make the most of our opportunities at AWS. Drafting charters and purposes is part of our approach and process of finding ways to do both.

Click here to read a Chinese translation of the article

Rust for Linux

The Linux-Next branch has now been merged.

Linus Torvalds discusses the case where Rust fits Linux

Key contents:

  1. The Rust version of Coreutils has been ported to Linux by Mozilla director Sylvestre Ledru. With that, Ledru started Linux and ran the most popular Debian packages.
  2. The proponents of Linux Rust are not: “Propose to rewrite the Linux kernel as Rust.” They just focus on moving into a world where it’s possible to write new code.
  3. The three potential aspects of Rust support are leveraging existing apis in the kernel, architectural support, and handling application binary interface (ABI) compatibility between Rust and C.
  4. Linus’ attitude so far is: wait and see. He is interested in Rust for Linux, and personally, he would never crowd Rust out, but Linus sees the current issue as being driven by people who have a strong interest in Rust (Linus is more philosophical) and wants to see how Rust ultimately works in practice.
  5. Linux thinks the likely scenario for Rust: Rust’s primary primary target seems to be the driver, simply because there are many different possible targets to be found there, and these parts of the kernel are fairly small and independent. This may not be a very interesting goal. To some, it’s obvious.
  6. Kroah-hartman’s take: “It all boils down to how to map the interaction between kernel core structures and lifetime rules written in C to Rust structures and lifetime rules”
  7. While we almost certainly won’t see Linux migrating from C to Rust anytime soon, the next few years are expected to be interesting: the introduction of Rust-based user-space programs/drivers/Rust-based kernels migrating to Linux, etc.

A collection of related links, sorting rules: the top is the most recent

The Linux Kernel ‘s Preliminary Rust Code Seeing 64 – bit POWER Support www.phoronix.com/scan.php?pa…

www.phoronix.com/scan.php?pa…

www.zdnet.com/article/lin…

Lore.kernel.org/rust-for-li…

Git.kernel.org/pub/scm/lin…

Free RISCV courses from the Linux Foundation and RISCV Foundation

The course is posted on edx.org and consists of two courses:

  • Introduction to RISC-V (LFD110x)
  • Building a RISC-V CPU Core (LFD111x)

www.zdnet.com/article/lin…

Rust and LLVM in 2021

The writer is a core team member of Rust, formerly at Mozilla, now at Facebook. Wrote the original LLVM-based Rust code generator, as well as much Rust related work.

This Keynote talks about LLVM work in Rust:

New features bring LLVM enhancements to Rust. LLVM related enhancements and fixes. Challenges ahead for those interested in the Rust compiler layer.

Keynote address

Rust coreutils can now run Debian

You can now use Rust Coreutils (cp, chmod, ls, rm, tail, install..) To run Debian.

  • GitHub project address
  • To read more

curlHalf of the bugs in the tool are C bugs

The author analyzes this problem and suggests that if Rust were used to write curl, these loopholes would be cut in half.

link

Rust and C speed comparison

Rust and C have very different programming styles, but they develop programs that run at roughly the same speed and memory usage. There is a big difference between what languages can achieve in theory and how they are used in practice. The authors summarize where Rust and C are respectively faster.

In a nutshell

  • Rust can optimize it in a low-level enough way if necessary to achieve the same performance as C;
  • Rust has higher levels of abstraction, convenient memory management, and rich third-party libraries;
  • The biggest potential of Rust is its ability to be fearless.

The article links

GitHub Action Changes Rust warning to Review Comments

A Rust Action can convert a Rust Check warning to code Review comments after it starts executing.

ReadMore

INTELLIJ RUST CHANGELOG #143

Provides initial support for program macros that resemble functions. Plug-ins can now extend this procedural macro call; As a result, they automatically get some of the functionality that declarative macros already do: highlighting, name resolution, limited code completion, intents, and so on.

Veloren 0.9

An open source multiplayer RPG, released today! It will be published on public servers at 18:00 GMT on 20th March!

Veloren is a multi-anthropogenic RPG. It was inspired by games such as Rubik’s Cube world, The Legend of Zelda: Breath of the Wild, Dwarf Fortress and Minecraft.

Veloren is fully open source under the GPL 3 license. It uses raw graphics, music and other assets created by the community of assets. Its development community and user community are contributor driven: developers, players, artists and musicians work together to make games.

The article links

Actix Actor Framework V0.11 is out

~40% performance improvement, upgraded to Tokio V1

Actix 0.11 Change Log

Zhihu | search engine research and development (Rust) engineer

responsibility

  • Responsible for the architecture construction of search engine platform, optimized system stability, and designed a good architecture to support rapid business iteration
  • Abstract general search engine deployment solution for fast support of various vertical search engines
  • Participate in zhihu search business optimization

Job Requirements:

  • Have solid programming ability, have good data structure and algorithm foundation
  • Good team work spirit, good communication skill
  • Familiar with Linux development environment, Go/Rust language, network programming, multithreaded programming
  • Familiar with search engine, experience with Elasticsearch, Kubernetes is preferred
  • Highly reliable distributed system architecture design experience is preferred

Zhihu Search Rust Open Source project: github.com/zhihu/rucen…

Email address:

Zl 【at】 zhihu dot com

Ant Group campus recruitment: Rust intern check it out

@2021.11.1 ~ 2022.10.31 Graduate students can see, to recommend can consult me, can also directly contact.

Recruitment Department:

  • Ants intelligent monitoring team JD (containing contact information) : mp.weixin.qq.com/s/mi5woh-bt…

  • Ant Confidential Computing Department: Direct contact: wechat 32713933, email [email protected]

For information about the department, see the following link:

Mp.weixin.qq.com/s/9t6_RrgSu…

3.27 Rust Meetup shenzhen video and materials

Activity PPT and live video link:

  • Disk. Solarfs. IO/sd / 6 e7b909b…

B station:

  • b23.tv/aKsBq3
  • b23.tv/UR07IW

Contents: Rust Chinese Collection (Rust_Magazine) march issue