1326
24
1327
4

The process of porting Rust to the WinChipHead CH32V003 microcontroller. They start off by porting the Rust compiler itself to a new variant of RISC-V and then they go through the details of interfacing with the hardware on the lowest levels.

1328
5

An opinionated DynamoDB ODM library for Rust that maps structs to native Dynamo items using serde and serde_json.

1329
15
1330
6
1331
19
1332
16
Rust Kernel Programming (coderjoshdk.github.io)
1333
45

This post will analyze some data covering years of early adoption of Rust at Google. At Google, they have been seeing increased Rust adoption, especially in their consumer applications and platforms. Pulling from the over 1,000 Google developers who have authored and committed Rust code as some part of their work in 2022, they willl address some rumors head-on, both confirming some issues that could be improved and sharing some enlightening discoveries we have made along the way.

1334
21
Memory Safe Languages in Android 13 (security.googleblog.com)

"Android 13 is the first Android release where a majority of new code added to the release is in a memory safe language."

"In Android 13, about 21% of all new native code (C/C++/Rust) is in Rust. There are approximately 1.5 million total lines of Rust code in AOSP across new functionality and components such as Keystore2, the new Ultra-wideband (UWB) stack, DNS-over-HTTP3, Android’s Virtualization framework (AVF), and various other components and their open source dependencies."

1335
15

A mocking and unit test framework for rust called MURF. It is inspired by the gmock testing framework by google.

1336
8
1337
4

A Rust library/framework for the ASCOM Alpaca standard for communication with astronomy devices, as well as implementing custom drivers (servers) for them.

Screenshot:

1338
10

Wouldn’t it be cool to be able to develop terminal applets like UI components? Visual scripts to help you automate your workflow, shareable with others and written in Rust?

The Zellij team has just overhauled our WebAssembly plugin system, and we’d like to invite plugin developers to build this with us.

1339
6
1340
18
1341
9
IntelliJ Rust Changelog #197 (intellij-rust.github.io)
1342
14
Rust Analyzer Changelog #187 (rust-analyzer.github.io)
1343
5
1344
11
1345
8
1346
32
1347
7
submitted 3 years ago by danyel@lemmyrs.org to c/rust@programming.dev

[disclaimer: initially posted on Reddit r/rust]

unrar is a library for listing and extracting RAR archives.

Hi lemmyrs!

Almost 8 years ago, I release my first Rust crate. Today, before I leave Reddit at the end of the month due to the recent controversy, after months and years working on and off on this update, as a parting gift, I'm happy to announce the crate's biggest release ever. This really is a milestone release that, among others, allows one to extract files directly into memory -- something people have been asking forever how to do.

I've also completely rewritten major parts of the library and am very proud of the way things are looking right now. Utilizing the typestate pattern, the library enforces correct usage at compile time, only exposing methods when they make sense (depending on a combination of open mode and current cursor position).

Before this release, the library was hard to use and it was not possible to skip some files in the archive while, for instance, extracting others. One operation had to be chosen for all files. That has changed now. However, the drawback is that iterating archives is now a bit harder since the Iterator trait is not implemented for archives that are opened in Process mode (since it's hard to enforce an operation at call-site). I have a few ideas how to improve this going forward but input is also always welcome.

Anyway, this sets the groundwork architecture and paves the way forward for upcoming releases where ergonomics and other improvements like error types can be the focus.

Another major focus of this release was documentation: all API items are documented now except for very few exceptions. The crate docs also features a very extensible introduction as well.

GitHub repository can be found here: https://github.com/muja/unrar.rs

Feel free to discuss / ask questions here or over on Reddit.

Thanks!

1348
8
1349
10
1350
16
submitted 3 years ago by mmstick@lemmy.world to c/rust@programming.dev
view more: ‹ prev next ›

Rust

8256 readers
32 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 3 years ago
MODERATORS