pub ThisWeekInRust {} – Telegram
pub ThisWeekInRust {}
993 subscribers
2 photos
2.41K links
Handpicked Rust updates,
delivered to your telegram.

Contacts: @sergeysova
Reposted from: https://this-week-in-rust.org
Source code: https://github.com/sergeysova/this_week_in_rust.rs
Another: @this_week_in_react
Download Telegram
Crate of the week: cargo-unfmt

This week's crate is cargo-unfmt, a formatter that formats your code into block-justified text, which sacrifices some readability for esthetics.
🎉8👎3😢1
Updates from Rust Community

Official
Announcing Rust 1.77.2
blog.rust-lang.org

Security advisory for the standard library (CVE-2024-24576)
blog.rust-lang.org

Changes to Rust's WASI targets
blog.rust-lang.org

Rust Nation UK
Hannah Aubrey - A Web of Rust: The Future of the Internet Depends on Trust
www.youtube.com

JD Nose - Rust Infrastructure: What it takes to keep Rust running
www.youtube.com

Amanieu D'Antras - The path to a stable ABI for Rust
www.youtube.com

Luca Palmieri - Pavex: re-imaging API development in Rust
www.youtube.com

Lachezar Lechev - Typed for Safety
www.youtube.com

Marco Concetto Rudilosso - Building a profiler for web assembly
www.youtube.com

Jon Gjengset - Towards Impeccable Rust
www.youtube.com

Nicholas Yang - Porting Turborepo From Go To Rust
www.youtube.com

David Haig - What’s that behind your ear? An open source hearing aid in Rust.
www.youtube.com

Frédéric Ameye - Renault want to sell cars with rust!
www.youtube.com

Nikita Lapkov - Type-safe and fault-tolerant mesh services with Rust
www.youtube.com

Andre Bogus - Easy Mode Rust
www.youtube.com

Lars Bergstrom - Beyond Safety and Speed: How Rust Fuels Team Productivity
www.youtube.com

Tim McNamara - Unwrapping unsafe
www.youtube.com

Nicholas Matsakis - Rust 2024 and beyond
www.youtube.com

Project/Tooling Updates
Shipping Jco 1.0, WASI 0.2
blog.yoshuawuyts.com

This month in Pavex, #10
www.lpalmieri.com

"Containerize" individual functions in Rust with extrasafe
harrystern.net

rust-analyzer changelog #228
rust-analyzer.github.io

Rerun 0.15.0 - Blueprints from Python · rerun-io/rerun
rerun-io/rerun/releases/tag/0.15.0

Bevy 0.13.2, Curves, Gizmos, and Games
thisweekinbevy.com

What's new in SeaORM 1.0-rc.x
www.sea-ql.org

Observations/Thoughts
Improve performance of you Rust functions by const currying
blog.cocl2.com

Ownership in Rust
smallcultfollowing.com

Thoughts on the xz backdoor: an lzma-rs perspective
gendignoux.com

hyper HTTP/2 Continuation Flood
seanmonstar.com

Leaky Abstractions and a Rusty Pin
medium.com/itnext

[audio] Launching RustRover: JetBrains' Investment in Rust
rustacean-station.org

[audio] Pavex with Luca Palmieri
rustacean-station.org

[video] Decrusting the tokio crate
www.youtube.com

[video] Rust 1.77.0: 70 highlights in 30 minutes
www.youtube.com

[video] Simulate the three body problem in #rustlang
www.youtube.com

[video] Exploring Fiberplane's 3-Year Rust Journey - with Benno van den Berg
www.youtube.com

Rust Walkthroughs
Working with OpenAPI using Rust
www.shuttle.rs

Zed Decoded: Async Rust
zed.dev

Writing a Unix-like OS in Rust
vmm.dev

Fivefold Slower Compared to Go? Optimizing Rust's Protobuf Decoding Performance
www.greptime.com

Write Cleaner, More Maintainable Rust Code with PhantomData
aayushyavajpayee.substack.com

[video] Extreme Clippy for an existing Rust Crate
www.youtube.com

[video] developerlife.com - Build a color gradient animation for a spinner component, for CLI, in Rust
www.youtube.com

[video] developerlife.com - Build a spinner component, for CLI, in Rust
www.youtube.com

[video] developerlife.com - Build an async readline, and spinner in Rust, for interactive CLI
www.youtube.com

Research
"Against the Void": An Interview and Survey Study on How Rust Developers Use Unsafe Code
arxiv.org

Sound Borrow-Checking for Rust via Symbolic Semantics
arxiv.org

Miscellaneous
Rust indexed - Rust mdbooks search
rust-indexed.com/

March 2024 Rust Jobs Report
filtra.io

Rust Meetup and user groups (updated)
rust.code-maven.com

Embedding the Servo Web Engine in Qt
www.kdab.com

A memory model for Rust code in the kernel
lwn.net

Building Stock Market Engine from scratch in Rust (II)
medium.com/@harshiljani2002

Ratatui Received Funding: What's Next?
blog.orhun.dev
👍3
Crate of the week: archspec-rs

This week's crate is archspec-rs, a library to track system architecture aspects.
Updates from Rust Community

Rust Nation UK
Tim McNamara - 4 levels of error handling
www.youtube.com

Mithun Hunsur - Ambient: A Rust and WebAssembly Runtime for Cross-Platform Multiplayer Games
www.youtube.com

Alice Ryhl - What it takes to keep Tokio running
www.youtube.com

Chris Biscardi - Bevy: A case study in ergonomic Rust
www.youtube.com

Pietro Albini - How Ferrocene qualified the Rust Compiler
www.youtube.com

Ben Wishovich - Full Stack Rust - Building Rust Websites with Leptos
www.youtube.com

Natalie Serebryakova - Rustic Persistence: Automating PVC Lifecycles with Rust in Kubernetes
www.youtube.com

Daniel McKenna - Creating a Text-To-Speech System in Rust
www.youtube.com

Konstantin Grechishchev - Java and Rust Integration
www.youtube.com

Heiko Seeberger - EventSourced – async_fn_in_trait in anger
www.youtube.com

Tim Janus - Let's get interdisciplinary: Rust Design Patterns for Chemical Plants
www.youtube.com

Marco Ieni - How Rust makes open-source easier
www.youtube.com

Newsletters
New Meshes, New Examples, and Compute Shaders
thisweekinbevy.com

Project/Tooling Updates
futures-concurrency v7.6.0: Portable Concurrent Async Iteration
yoshuawuyts/futures-concurrency/releases/tag/v7.6.0

Ratatui v0.26.2
ratatui.rs

Rust on Espressif chips
mabez.dev

Introducing Dust DDS – A native Rust implementation of the Data Distribution Service (DDS) middleware
www.s2e-systems.com

Announcing the first audited Rust implementation of CGGMP21, the state-of-the-art ECDSA threshold protocol
www.dfns.co

Nutype 0.4.2 - newtype with guarantees
greyblake/nutype/releases/tag/v0.4.2

venndb 0.2.1 - any filters
plabayo/venndb/releases/tag/0.2.1

[ZH|EN] Announcing async-openai-wasm, and thoughts on wasmization and streams
ideas.reify.ing

Observations/Thoughts
Climbing a (binary) Tree - Noise On The Net
noiseonthenet.space

Why is there no realloc that takes the number of bytes to copy?
shift.click

Some useful types for database-using Rust web apps
boinkor.net

My logging recipe for server side Rust
www.matildasmeds.com

Rust Walkthroughs
Getting started with SurrealDB using Docker and a Rust client
rust.code-maven.com

[video] developerlife.com - Rust testing deep dive with r3bl_terminal_async crate
www.youtube.com

Research
Rust Digger: 7.53% of crates have both 'edition' and 'rust-version', 11.21% have neither
rust-digger.code-maven.com

Miscellaneous
Iced Tutorial 0.12
leafheap.com

[video] Infinite Pong in the Bevy Game Engine - Let's Code!
www.youtube.com

[audio] Release-plz with Marco Ieni
rustacean-station.org
👍3
Crate of the week: venndb

This week's crate is venndb, an append-only memory DB whose tables can be build via a derive macro.
👍1
Updates from Rust Community

Foundation
Guest Blog: Attending CISA’s Open Source Software Security Summit
foundation.rust-lang.org

Newsletters
This Month in Rust OSDev: March 2024
rust-osdev.com

Project/Tooling Updates
lilos v1.0 released
cliffle.com

medium-to-markdown v0.1.1 : Convert your medium blogs easily into markdown files
medium.com/@harshiljani2002

Fluvio v0.11.6 release and project updates
www.fluvio.io

venndb 0.4.0 - custom validators
plabayo/venndb/releases/tag/0.4.0

Tantivy 0.22: Performance improvements, new aggregations and stability fixes
quickwit.io

Announcing r3bl_terminal_async - build async interactive CLIs in Rust
developerlife.com

[video] Demo + architecture overview of Ferrostar, a cross-platform turn-by-turn navigation SDK with a Rust core
www.youtube.com

Observations/Thoughts
The Rust Calling Convention We Deserve
mcyoung.xyz

Sized, DynSized, and Unsized
smallcultfollowing.com

Coroutines and effects
without.boats

Porting a cross-platform GUI application to Rust
hacks.mozilla.org

Adventures In Rust: Bringing Exchange Support To Thunderbird
blog.thunderbird.net

Rust Walkthroughs
Why SQLite Performance Tuning made Bencher 1200x Faster
bencher.dev

drop, the destructor of Rust structs
rust.code-maven.com

Building with AWS S3 using Rust
www.shuttle.rs

Rust tokio task cancellation patterns
cybernetist.com

[video] Build with Naz - Published crate r3bl_terminal_async for building async interactive CLIs in Rust
www.youtube.com

[video] Trent Billington - Bevy ECS - Power tool for data oriented applications
www.youtube.com

[video] Building a procedural art generator
www.youtube.com

[audio] Isograph with Robert Balicki
rustacean-station.org

Research
A Study of Undefined Behavior Across Foreign Function Boundaries in Rust Libraries
arxiv.org

Rust Digger: Does size matter? The biggest crate is 450MB; More than 100 crates are over 50MB
rust-digger.code-maven.com

Miscellaneous
GitHub Sponsor Rust developer David Tolnay
dev.to

Learn how to write TCP servers using Rust's std::net module
app.codecrafters.io

RustFest Zürich 🇨 Talks announced
rustfest.ch
👍1
Crate of the week: scandir

This week's crate is scandir, a high-performance file tree scanner.
Updates from Rust Community

Newsletters
Motion Blur, Visualizations, and beautiful renders
thisweekinbevy.com

Project/Tooling Updates
r3bl_trerminal_async v0.5.1 released
r3bl-org/r3bl-open-core/blob/main/CHANGELOG.md#v051-2024-04-28

minbpe-rs v0.1.0: Port of Andrej Karpathy's minbpe to Rust
gnp/minbpe-rs

Message retention and replay with Selium
selium.com

Observations/Thoughts
Leaving Rust gamedev after 3 years
loglog.games

Tasks are the wrong abstraction
blog.yoshuawuyts.com

Go or Rust? Just Listen to the Bots
cybernetist.com

Cracking the Cryptic (with Z3 and Rust)
hugopeters.me

So, you want to write an unsafe crate
blog.dureuill.net

Designing an efficient memory layout in Rust with unsafe & unions, or, an overlong guide in avoiding dynamic dispatch
alonely0.github.io

Event driven Microservices using Kafka and Rust
www.shuttle.rs

Writing ergonomic async assertions in Rust
www.niklaslong.ch

Making an HTML parsing noscript a hundred times faster with Rayon
medium.com/@sam.van.overmeire

Rust binaries stability
mirekdlugosz.com

[audio] Ratatui with Orhun Parmaksiz :: Rustacean Station
rustacean-station.org

The Mediocre Programmer's Guide to Rust
www.hezmatt.org

Rust Walkthroughs
Boosting Dev Experience with Serverless Rust in RustRover
blog.jetbrains.com

developerlife.com - Rust Polymorphism, dyn, impl, using existing traits, trait objects for testing and extensibility
developerlife.com

Performance optimization with flamegraph and Divan
hegdenu.net

Research
Rust Digger: There are 4,907 interesting Crate homepages
rust-digger.code-maven.com

Miscellaneous
Writing A Wasm Runtime In Rust
skanehira.github.io

GitHub Sponsor Rust developer Andrew Gallant (BurntSushi)
dev.to

Giving Rust a chance for in-kernel codecs
lwn.net

Zed Decoded: Rope & SumTree
zed.dev

An almost infinite Fibonacci Iterator
rust.code-maven.com

[video] From C to Rust: Bringing Rust Abstractions to Embedded Linux
www.youtube.com
Crate of the week: efs

This week's crate is efs, a no-std ext2 filesystem implementation with plans to add other file systems in the future.
Updates from Rust Community

Official
Announcing Rust 1.78.0
blog.rust-lang.org

Announcing Rustup 1.27.1
blog.rust-lang.org

Automatic checking of cfgs at compile-time
blog.rust-lang.org

Announcing Google Summer of Code 2024 selected projects
blog.rust-lang.org

Rust participates in OSPP 2024
blog.rust-lang.org

This Development-cycle in Cargo: 1.79
blog.rust-lang.org

Rust Project Goals Submission Period
blog.rust-lang.org

Foundation
$1M Microsoft Donation to Fund Key Rust Foundation & Project Priorities
foundation.rust-lang.org

Newsletters
This Month in Rust OSDev: April 2024
rust-osdev.com

This Month in Rust GameDev #50 - April 2024
gamedev.rs

RustFest.ch - All talks announced
rustfest.ch

Project/Tooling Updates
image v0.25: performance improvements, production-ready WebP
www.reddit.com

Changelog #232
rust-analyzer.github.io

rustc_codegen_gcc: Progress Report #32
blog.antoyo.xyz

Introducing graphql-lint and gqlint
grafbase.com

Meilisearch releases v1.8
blog.meilisearch.com

r3bl_terminal_async v0.5.2 released
r3bl-org/r3bl-open-core/blob/main/CHANGELOG.md#v052-2020-05-06

Zed Decoded: Linux when?
zed.dev

Observations/Thoughts
Pair Your Compilers At The ABI Café - Faultlore
faultlore.com

Unwind considered harmful?
smallcultfollowing.com

Async Rust Complexity
v5.chriskrycho.com

Download Accelerator - Async Rust Edition
ochagavia.nl

[video] David Lattimore - A Linker in the Wild
www.youtube.com

[audio] curl - Daniel Stenberg, Open Source Maintainer and Public Speaker
corrode.dev

Rust Walkthroughs
How to rewrite a C++ codebase successfully
gaultier.github.io

Building a Redis / Kafka Data Sink in Rust
www.sea-ql.org

[ZH | EN] Writing a GPT Plugin in Rust, and Lost Gems
ideas.reify.ing

What is in a Rust Allocator?
blog.sulami.xyz

How hard can generating 1024-bit primes really be?
glitchcomet.com

STM32F4 Embedded Rust at the PAC: System Clock Configuration
blog.theembeddedrustacean.com

[video] Make a port scanner in #rustlang with Tokio and learn async Rust
www.youtube.com

Research
Rust Digger: 47,764 (32.92%) of the crates include a Cargo.lock file
rust-digger.code-maven.com

VERT: Verified Equivalent Rust Transpilation with Few-Shot Learning
arxiv.org

Miscellaneous
Elapsed time logger
rust.code-maven.com
👍2
Crate of the week: derive_more

This week's crate is derive_more, a crate for deriving a whole lot of traits
👍1
Updates from Rust Community

Official
May 2024 Leadership Council Update
blog.rust-lang.org

Newsletters
ClearCoat, new examples, and game updates
thisweekinbevy.com

Project/Tooling Updates
Rust for embedded Linux kernels
lwn.net

kira - release v0.9.0
tesselode/kira/releases/tag/v0.9.0

Cushy v0.3: New widgets, offscreen capture, Plotters and Tokio integrations, and more
ecton.dev

bbolt-rs v1.3.8
ambaxter/bbolt-rs/blob/v1.3.8/docs/announcement.md

Maelstrom: A Hermetic, Clustered Test Runner for Rust (and It’s Fast)
www.reddit.com

r3bl_cmdr version v0.0.12 released
r3bl-org/r3bl-open-core/blob/main/CHANGELOG.md#v0012-2024-05-12

Iroh 0.16 - A Better Client
iroh.computer

Observations/Thoughts
Long-term Rust Project Maintenance
corrode.dev

Methods Should Be Object Safe
nora.codes

References are like jumps
without.boats

Rust 1.78: Performance Impact of the 128-bit Memory Alignment Fix
codspeed.io

HowTo: Egui with webworkers
voelklmichael.github.io

Using build.rs to integrate rust applications with system libraries like a pro
neosmart.net

Rust actors + ArcMutex: handle with care
dgroshev.com

Rust through the ages
www.ncameron.org

Mixing rayon and tokio for fun and (hair) loss
blog.dureuill.net

Long-running backend async tasks in tauri v2
sneakycrow.dev

Blazingly Fast Linked Lists
dygalo.dev

Existential types in Rust
lwn.net

Error Handling for Large Rust Projects - A Deep Dive into GreptimeDB's Practices
greptime.com

Rust Walkthroughs
Let's build a Load Balancer in Rust - Part 1
marcobacis.com

[video] Build with Naz : tokio tracing & OTel and how to use it in Rust
www.youtube.com

Miscellaneous
April 2024 Rust Jobs Report
filtra.io

VS Code Extensions and WebAssembly
code.visualstudio.com
👍1
Crate of the week: stated-scope-guard

This week's crate is stated-scope-guard, a library supporting a more flexible RAII pattern for stated resouce management.
😢1
Updates from Rust Community

Official
Faster linking times on nightly on Linux using rust-lld
blog.rust-lang.org

Foundation
Announcing the First Set of RustConf 2024 Talks & Keynotes
foundation.rust-lang.org

Unsafe Rust in the Wild: Notes on the Current State of Unsafe Rust
foundation.rust-lang.org

Project/Tooling Updates
100 Exercises To Learn Rust
rust-exercises.com/

RustRover Is Released and Includes a Free Non-Commercial Option
blog.jetbrains.com

Mysqlclient-sys 0.3.0: Bundled builds and updated bindings
blog.weiznich.de

Ratatui 0.26.3 is released! - a Rust library for cooking up terminal user interfaces
ratatui.rs

Maelstrom v0.9.0: Added local-only tests, LPT scheduling, and more
maelstrom-software/maelstrom/releases/tag/v0.9.0

r3bl_terminal_async v0.5.3 released
r3bl-org/r3bl-open-core/blob/main/CHANGELOG.md#v053-2024-05-22

Observations/Thoughts
Some notes on Rust, mutable aliasing and formal verification
graydon2.dreamwidth.org

Rust's iterators optimize nicely—and contain a footgun
ntietz.com

Towards fast thread_local! context
swatinem.de

Rust's iterators optimize nicely—and contain a footgun
ntietz.com

Why We Forked Quinn
iroh.computer

[audio] AMP - Rust in Production Podcast
corrode.dev

[audio] Rama with Glen De Cauwsemaecker
rustacean-station.org

[video] What's New in Rust 1.72-1.78 Rustacean Station marathon
www.youtube.com

[video] Rust 1.78.0: Last Rust News Video...ever?
www.youtube.com

[video] Devoxx UK - Rust 101: Understand the Hype
www.youtube.com

Rust Walkthroughs
Using Rust Macros for Custom VTables
lucumr.pocoo.org

NULL BITMAP Builds a Database #1: The Log is Literally the Database
buttondown.email

The rainbow bridge between sync and async Rust
www.sea-ql.org

developerlife.com - Effective async Rust, non-blocking, concurrent, parallel, event loops, cancellation safety
developerlife.com

Let's build a Load Balancer in Rust - Part 2
marcobacis.com

Miscellaneous
Free Rust ebooks for Amazon Kindle
rust-ebooks.code-maven.com/
👍2