#rustup
Explore tagged Tumblr posts
Text
Finally did system (I use Arch btw (custom kernel I compiled myself) reinstall and switched to hyprland. Now I have become hyprland superiorist, destroyer of d env users, fuck that bloat, the gui is bloat. I should rewrite everything on my system in rust and force it to use a tui. The tui is better anyway, just as capable as any gui. Wayland is superior (until I get bored with it). Idk im jwust a silly :3
7 notes
·
View notes
Text
This Week in Rust 595
Hello and welcome to another issue of This Week in Rust! Rust is a programming language empowering everyone to build reliable and efficient software. This is a weekly summary of its progress and community. Want something mentioned? Tag us at @thisweekinrust.bsky.social on Bluesky or @ThisWeekinRust on mastodon.social, or send us a pull request. Want to get involved? We love contributions.
This Week in Rust is openly developed on GitHub and archives can be viewed at this-week-in-rust.org. If you find any errors in this week's issue, please submit a PR.
Want TWIR in your inbox? Subscribe here.
Updates from Rust Community
Official
March Project Goals Update
Newsletters
The Embedded Rustacean Issue #43
Project/Tooling Updates
Shadertoys ported to Rust GPU
Meilisearch 1.14 - composite embedders, embedding cache, granular filterable attributes, and batch document retrieval by ID
rust-query 0.4: structural types and other new features
Observations/Thoughts
Rebuilding Prime Video UI with Rust and WebAssembly
ALP Rust is faster than C++
what if the poison were rust?
A surprising enum size optimization in the Rust compiler
Two Years of Rust
An ECS lite architecture
A 2025 Survey of Rust GUI Libraries
BTrees, Inverted Indices, and a Model for Full Text Search
Cutting Down Rust Compile Times From 30 to 2 Minutes With One Thousand Crates
SIMD in zlib-rs (part 1): Autovectorization and target features
Avoiding memory fragmentation in Rust with jemalloc
[video] Bevy Basics: Who Observes the Observer
Rust Walkthroughs
Rust Type System Deep Dive From GATs to Type Erasure
Async from scratch 1: What's in a Future, anyway? | natkr's ramblings
Async from scratch 2: Wake me maybe | natkr's ramblings
Building a search engine from scratch, in Rust: part 4
Pretty State Machine Patterns in Rust
[video] Build with Naz : Declarative macros in Rust
Miscellaneous
March 2025 Jobs Report
Rust resources
Crate of the Week
This week's crate is wgpu, a cross-platform graphics and compute library based on WebGPU.
Despite a lack of suggestions, llogiq is pleased with his choice.
Please submit your suggestions and votes for next week!
Calls for Testing
An important step for RFC implementation is for people to experiment with the implementation and give feedback, especially before stabilization.
If you are a feature implementer and would like your RFC to appear in this list, add a call-for-testing label to your RFC along with a comment providing testing instructions and/or guidance on which aspect(s) of the feature need testing.
No calls for testing were issued this week by Rust, Rust language RFCs or Rustup.*
Let us know if you would like your feature to be tracked as a part of this list.
RFCs
Rust
Rustup
If you are a feature implementer and would like your RFC to appear on the above list, add the new call-for-testing label to your RFC along with a comment providing testing instructions and/or guidance on which aspect(s) of the feature need testing.
Call for Participation; projects and speakers
CFP - Projects
Always wanted to contribute to open-source projects but did not know where to start? Every week we highlight some tasks from the Rust community for you to pick and get started!
Some of these tasks may also have mentors available, visit the task page for more information.
rama - add serve command to rama-cli
rama - add support for include_dir for to ServeDir and related
rama - add curl module to rama-http-types
If you are a Rust project owner and are looking for contributors, please submit tasks here or through a PR to TWiR or by reaching out on X (formerly Twitter) or Mastodon!
CFP - Events
Are you a new or experienced speaker looking for a place to share something cool? This section highlights events that are being planned and are accepting submissions to join their event as a speaker.
If you are an event organizer hoping to expand the reach of your event, please submit a link to the website through a PR to TWiR or by reaching out on X (formerly Twitter) or Mastodon!
Updates from the Rust Project
480 pull requests were merged in the last week
Compiler
detect and provide suggestion for &raw EXPR
don't suggest the use of impl Trait in closure parameter
make the compiler suggest actual paths instead of visible paths if the visible paths are through any doc hidden path
tell LLVM about impossible niche tags
remove Nonterminal and TokenKind::Interpolated
re-use Sized fast-path
Library
add core::intrinsics::simd::{simd_extract_dyn, simd_insert_dyn}
initial UnsafePinned implementation (Part 1: Libs)
polymorphize array::IntoIter's iterator impl
speed up String::push and String::insert
std: add Output::exit_ok
Cargo
added symlink resolution for workspace-path-hash
improved error message when build-dir template var is invalid
Rustdoc
search: add unbox flag to Result aliases
enable Markdown extensions when looking for doctests
Clippy
arbitrary_source_item_ordering should ignore test modules
implicit_return: better handling of asynchronous code
accept self.cmp(other).into() as canonical PartialOrd impl
add manual_abs_diff lint
consecutive returns dont decrease cognitive Complexity level anymore
consider nested lifetimes in mut_from_ref
correctly handle bracketed type in default_constructed_unit_struct
deprecate match_on_vec_items lint
do not propose to auto-derive Clone in presence of unsafe fields
fix: iter_cloned_collect false positive with custom From/IntoIterator impl
fix: map_entry: don't emit lint before checks have been performed
fix: redundant_clone false positive in overlapping lifetime
various fixes for manual_is_power_of_two
Rust-Analyzer
ast: return correct types for make::expr_* methods
add children modules feature
add normalizeDriveLetter
distribute x64 and aarch64 Linux builds with PGO optimizations
fix dyn compatibility code bypassing callable_item_signature query
fix a small bug with catastrophic effects
fix an incorrect ExpressionStore that was passed
prevent panics when there is a cyclic dependency between closures
shadow type by module
ignore errors from rustfmt which may trigger error notification
port closure inference from rustc
Rust Compiler Performance Triage
Relatively small changes this week, nothing terribly impactful (positive or negative).
Triage done by @simulacrum. Revision range: e643f59f..15f58c46
1 Regressions, 3 Improvements, 3 Mixed; 2 of them in rollups 35 artifact comparisons made in total
Full report here
Approved RFCs
Changes to Rust follow the Rust RFC (request for comments) process. These are the RFCs that were approved for implementation this week:
No RFCs were approved this week.
Final Comment Period
Every week, the team announces the 'final comment period' for RFCs and key PRs which are reaching a decision. Express your opinions now.
Tracking Issues & PRs
Rust
Split elided_lifetime_in_paths into tied and untied
check types of const param defaults
Stabilize flags for doctest cross compilation
Do not remove trivial SwitchInt in analysis MIR
Implement a lint for implicit autoref of raw pointer dereference - take 2
Implement Default for raw pointers
make abi_unsupported_vector_types a hard error
Stabilize let chains in the 2024 edition
Make closure capturing have consistent and correct behaviour around patterns
Stabilize the cell_update feature
Other Areas
*No Items entered Final Comment Period this week for Rust RFCs, Cargo, Language Team, Language Reference or Unsafe Code Guidelines.
Let us know if you would like your PRs, Tracking Issues or RFCs to be tracked as a part of this list.
New and Updated RFCs
No New or Updated RFCs were created this week.
Upcoming Events
Rusty Events between 2025-04-16 - 2025-05-14 🦀
Virtual
2025-04-16 | Virtual (Vancouver, BC, CA) | Vancouver Rust
Rust Study/Hack/Hang-out
2025-04-17 | Virtual and In-Person (Redmond, WA, US) | Seattle Rust User Group
April, 2025 SRUG (Seattle Rust User Group) Meetup
2025-04-22 | Virtual (Dallas, TX, US) | Dallas Rust User Meetup
Fourth Tuesday
2025-04-23 | Virtual (Cardiff, UK) | Rust and C++ Cardiff
Beyond embedded - OS development in Rust
2025-04-24 | Virtual (Berlin, DE) | Rust Berlin
Rust Hack and Learn
2025-04-24 | Virtual (Charlottesville, VA, US) | Charlottesville Rust Meetup
Part 2: Quantum Computers Can’t Rust-Proof This!"
2025-05-03 | Virtual (Kampala, UG) | Rust Circle Meetup
Rust Circle Meetup
2025-05-05 | Virtual (Tel Aviv-Yafo, IL) | Rust 🦀 TLV
Tauri: Cross-Platform desktop applications with Rust and web technologies
2025-05-07 | Virtual (Indianapolis, IN, US) | Indy Rust
Indy.rs - with Social Distancing
2025-05-08 | Virtual (Berlin, DE) | Rust Berlin
Rust Hack and Learn
2025-05-13 | Virtual (Dallas, TX, US) | Dallas Rust User Meetup
Second Tuesday
Asia
2025-04-22 | Tel Aviv-Yafo, IL | Rust 🦀 TLV
In person Rust April 2025 at Braavos in Tel Aviv in collaboration with StarkWare
Europe
2025-04-19 | Istanbul, TR | Türkiye Rust Community
Rust Konf Türkiye
2025-04-23 | London, UK | London Rust Project Group
Fusing Python with Rust using raw C bindings
2025-04-24 | Aarhus, DK | Rust Aarhus
Talk Night at MFT Energy
2025-04-24 | Edinburgh, UK | Rust and Friends
Rust and Friends (evening pub)
2025-04-24 | Manchester, UK | Rust Manchester
Rust Manchester April Code Night
2025-04-25 | Edinburgh, UK | Rust and Friends
Rust and Friends (daytime coffee)
2025-04-26 | Stockholm, SE | Stockholm Rust
Ferris' Fika Forum #11
2025-04-29 | London, UK | Rust London User Group
LDN Talks April 2025 Community Showcase
2025-04-29 | Paris, FR | Rust Paris
Rust meetup #76
2025-04-30 | Frankfurt, DE | Rust Rhein-Main
Kubernetes Operator in Rust
2025-05-01 | Nürnberg, DE | Rust Nuremberg
Hackers Hike 0x0
2025-05-06 - 2025-05-07 | Paris, FR | WebAssembly and Rust Meetup
GOSIM AI Paris 2025
2025-05-06 | Paris, FR | WebAssembly and Rust Meetup (Wasm Empowering AI)
GOSIM AI Paris 2025 (Discount available)
2025-05-07 | Madrid, ES | MadRust
VII Lenguajes, VII Perspectivas, I Problema
2025-05-07 | Oxford, UK | Oxford Rust Meetup Group
Oxford Rust and C++ social
2025-05-08 | Gdansk, PL | Rust Gdansk
Rust Gdansk Meetup #8
2025-05-08 | London, UK | London Rust Project Group
Adopting Rust (Hosted by Lloyds bank)
2025-05-13 | Amsterdam, NL | RustNL
RustWeek 2025 announcement
2025-05-13 - 2025-05-17 | Utrecht, NL | Rust NL
RustWeek 2025
2025-05-14 | Reading, UK | Reading Rust Workshop
Reading Rust Meetup
North America
2025-04-17 | Mountain View, CA, US | Hacker Dojo
RUST MEETUP at HACKER DOJO
2025-04-17 | Nashville, TN, US | Music City Rust Developers
Using Rust For Web Series 1 : Why HTMX Is Bad
2025-04-17 | Redmond, WA, US | Seattle Rust User Group
April, 2025 SRUG (Seattle Rust User Group) Meetup
2025-04-22 | Detroit, MI, US | Detroit Rust
Rust Community Meet and Conference Report - Ann Arbor
2025-04-23 | Austin, TX, US | Rust ATX
Rust Lunch - Fareground
2025-04-23 | Austin, TX, US | Rust ATX
Rust Lunch - Fareground 2025-04-23 | Spokane, WA, US | Spokane Rust
Community Show & Tell at Fuel Coworking
2025-04-24 | Atlanta, GA, US | Rust Atlanta
3rd 3RD TIME OMG YES!
2025-04-25 | Boston, MA, US | Boston Rust Meetup
Ball Square Rust Lunch, Apr 25
2025-05-01 | Saint Louis, MO, US | STL Rust
SIUE Capstone Project reflections on Rust
2025-05-03 | Boston, MA, US | Boston Rust Meetup
Boston Common Rust Lunch, May 3
2025-05-08 | México City, MX | Rust MX
Calculando con el compilador: Compiler time vs Run time
2025-05-08 | Portland, OR, US | PDXRust
Apache DataFusion: A Fast, Extensible, Modular Analytic Query Engine in Rust
2025-05-11 | Boston, MA, US | Boston Rust Meetup
Porter Square Rust Lunch, May 11
Oceania
2025-04-22 | Barton, AC, AU | Canberra Rust User Group
April Meetup
If you are running a Rust event please add it to the calendar to get it mentioned here. Please remember to add a link to the event too. Email the Rust Community Team for access.
Jobs
Please see the latest Who's Hiring thread on r/rust
Quote of the Week
IEEE 754 floating point, proudly providing counterexamples since 1985!
– Johannes Dahlström on rust-internals
Thanks to Ralf Jung for the suggestion!
Please submit quotes and vote for next week!
This Week in Rust is edited by: nellshamrell, llogiq, cdmistman, ericseppanen, extrawurst, U007D, joelmarcey, mariannegoldin, bennyvasquez, bdillo
Email list hosting is sponsored by The Rust Foundation
Discuss on r/rust
5 notes
·
View notes
Text
i need to log off because listening to transgender dysphoria blues i hear the line as "rustup on the coast i wish i could've spent the whole day alone"
2 notes
·
View notes
Text
rm -rf $HOME/.rustup covers a multitude of sins
5 notes
·
View notes
Text
i like that rustup and volta and rye are all the same gender of tool. its like a very specific way to do a version manager but its really nice
6 notes
·
View notes
Text
me but w coding projects and @rustup-official encouraging me
63K notes
·
View notes
Text
Rust 1.88 adds support for naked functions
Rust 1.88 has been released, featuring support for writing naked functions, as well as backing for Boolean literals. The update of the popular fast and safe programming language was announced June 26 by the Rust Release Team. Current Rust users can get Rust 1.88 by running rustup update stable. Rust 1.88 adds language support for writing naked functions with no compiler-generated epilogue and…
0 notes
Text
Learning Rust for Programmers
Rust is a modern programming language that prioritizes safety, performance, and concurrency. Originally developed by Mozilla, Rust is designed for systems programming but has grown in popularity for a wide range of applications, including web development and game programming. In this post, we’ll explore what makes Rust unique and how you can get started learning it.
Why Learn Rust?
Memory Safety: Rust's ownership model ensures memory safety without the need for a garbage collector.
Performance: Rust offers performance comparable to C and C++, making it suitable for system-level programming.
Concurrency: Built-in support for concurrent programming helps avoid data races.
Growing Ecosystem: A vibrant community and ecosystem with libraries and tools (crates) available via Cargo.
Interoperability: Can easily integrate with existing C and C++ codebases.
Getting Started with Rust
To start programming in Rust, follow these steps:
Install Rust: Use rustup, the Rust toolchain installer. Follow the instructions at rust-lang.org.
Set Up Your Environment: Use an IDE like Visual Studio Code with the Rust extension for syntax highlighting and IntelliSense.
Create a New Project: Use Cargo, Rust’s package manager and build system.
Basic Syntax and Features
Here are some fundamental concepts in Rust:
Variables and Mutability
fn main() { let x = 5; // immutable let mut y = 10; // mutable y += 5; println!("x: {}, y: {}", x, y); }
Control Flow
fn main() { let number = 6; if number % 2 == 0 { println!("Even"); } else { println!("Odd"); } }
Functions
fn add(a: i32, b: i32) -> i32 { a + b } fn main() { let result = add(5, 3); println!("Result: {}", result); }
Key Concepts in Rust
Ownership: Each value in Rust has a single owner, preventing data races.
Borrowing: References allow functions to access data without taking ownership.
Lifetime: Rust tracks how long references are valid to prevent dangling references.
Learning Resources
The Rust Programming Language: The official book, available for free online.
Rust by Example: Hands-on tutorials to learn Rust through examples.
Exercism: Practice Rust coding exercises with mentorship.
Rustlings: Small exercises to get you familiar with Rust syntax and concepts.
Best Practices
Write clear and concise code with meaningful variable names.
Use the Rust compiler's warnings to improve code quality.
Leverage Cargo for dependency management and building projects.
Participate in the Rust community through forums, Discord, or local meetups.
Conclusion
Learning Rust can open doors to systems programming, high-performance applications, and much more. Its focus on safety and concurrency makes it an ideal choice for modern development. Dive into Rust today, and start building efficient and robust applications!
0 notes
Text
Master Rust Error Handling: A Practical Guide
Step-by-Step Explanation Introduction to Rust Error Handling Objective: Understand the importance of robust error handling in Rust for writing reliable software. Prerequisites: Basic Rust syntax and concepts. Tools Needed: Rustup, Cargo, and a code editor. Resources: Rust Book, Cargo Documentation. Understanding Core Concepts Result and Option: Handle errors gracefully with Result for…
0 notes
Text
Rust: Die Grundlagen - 1. Installation und Konfiguration

In diesem Eröffnungsbeitrag werde ich dir Schritt für Schritt erklären, wie du deinen Windows-PC optimal für die Rust-Programmierung einrichtest. Dabei verwende ich Windows 10 als Betriebssystem und Visual Studio Code als Entwicklungsumgebung. Doch keine Sorge, ich werde später noch ausführlicher darauf eingehen.

Installieren von Microsoft Visual Studio
Starten wir zunächst damit und installieren Microsoft Visual Studio (dieses ist noch nicht das Paket Visual Studio Code!). Du kannst dort zwischen drei Versionen wählen, von diesen wählen wir die Community Version und laden die knapp 3,8 MB große Installationsdatei herunter und starten diese anschließen. Zunächst werden einige Dateien heruntergeladen und installiert.


Im Anschluss wird dann der eigentliche Installer gestartet und wir können die Pakete auswählen. Hier sind bereits einige Pakete vorausgewählt wo wir zunächst den Haken entfernen. - ASP.NET und Webentwicklung, - Azure-Entwicklung Nun wählen wir die drei nachfolgenden Pakete aus: - .NET-Desktopentwicklung, - Desktopentwicklung mit C++, - Entwicklung für die universelle Windows-Plattform

Der angezeigte knapp 23 GB benötigte Speicherplatz wird für diese Auswahl nicht benötigt, es werden lediglich knapp 6 GB an Daten heruntergeladen. Wenn die Pakete heruntergeladen sind dann empfiehlt das Programm einen Neustart des Computers, jedoch empfehle ich dieses erst im Abschluss der Installation und Konfiguration zu machen.
Installieren von Rust
Im nächsten Schritt installieren wir die Programmiersprache Rust. Dafür laden wir das Entsprechende Paket (32-Bit oder 64-Bit je nach System) von https://www.rust-lang.org/tools/install herunter.

Wenn das Paket ausgewählt und heruntergeladen wurde dann starten wir die Datei rustup-init.exe. Es öffnet sich dann ein Terminalfenster wo wir über die Auswahl 1 die Installation starten können.

Während der Installation werden noch einige Daten aus dem Netz geladen und installiert.

Wenn auch dieser Vorgang abgeschlossen ist, dann bestätigen wir das Fenster mit Enter und es eschließt sich von selbst.
Installation und Konfiguration von Rust in Visual Studio Code
Nun installieren wir die Entwicklungsumgebung Visual Studio Code. Eigentlich können wir auch in einem einfachen Texteditor oder Notepad++ programmieren und über die Kommandozeile Kompilieren und ausführen. Eine Entwicklungsumgebung wie Visual Studio Code bietet jedoch einigen Komfort wie Codevervollständigung, Syntaxhighlighting etc. Das Paket Visual Studio Code können wir ebenso kostenfrei von Microsoft herunterladen. Im Installer müssen wir zunächst die Lizenzbedingung akzeptieren, den Rest belasse ich so wie dieser vorgegeben ist.







Wenn der Installer beendet ist, dann wird sofort Visual Studio Code ausgeführt.

Nun müssen wir den Computer einmal neustarten damit dieser Vorgang abgeschlossen ist (und auch die Umgebungsvariablen neu eingelesen werden). Installieren der Erweiterungen für Rust Damit wir noch etwas komfortabler mit Rust in Visual Studio Code programmieren können, installieren wir zwei Erweiterungen. - rust-analyzer, - CodeLLDB

Erstellen eines Projektes mit Rustc
Nachdem wir alle benötigten Schritte zur Installation und Konfiguration von Rust auf dem PC ausgeführt haben können wir nun ein erstes Projekt erzeugen. Dazu navigieren wir zum Terminalfenster über Terminal > New Terminal und gelangen dann im UserHome. In diesem Verzeichniss erstellen wir zunächst unser Verzeichniss für die Ablage aller Projekte, ich benenne dieses einfach mal mit Rust und wechsle auch gleich in dieses. PS C:UsersDraeS> mkdir Rust PS C:UsersDraeS> cd Rust In diesem Ordner möchte ich nun ein erstes Projekt erstellen dazu geben wir den nachfolgenden Befehl ein. PS C:UsersDraeSRust> cargo new hello_world Created binary (application) `hello_world` package PS C:UsersDraeSRust> Den neuen Ordner können wir nun über VSC öffnen indem wir im Explorer (1) die Schaltfläche "Open Folder" (2) betätigen. Nun müssen wir noch den Ordner wählen (4) und das ganze mit "Ordner auswählen" (5) bestätigen.

Wenn der Ordner eingebunden wurde, dann muss man noch bestätigen das man diesem Vertraut dieses ist besonders wichtig wenn du von unbekannter Quelle ein Projekt übernimmst denn immerhin bekommst du ggf. ein kompilat in form einer EXE-Datei mit dazu.

Wenn wir dieses bestätigt haben dann sehen wir im Explorer einen Baum mit einigen Dateien welche für uns angelegt wurden. Dazu zählt unter anderem die Datei main.rs unter .src. Mit einem doppelklick öffnen wir diese und sehen bereits eine Funktion main mit der Ausgabe "Hello, world!"

Diese Datei können wir nun über zwei wege ausführen. Kompilieren und ausführen über das Terminal dfhgsgfsg

Kompilieren und ausführen über rust-analyzer Im Abschnitt "Installation & Konfiguration" haben wir die Erweiterung "rust-analyzer" installiert. Diese Erweiterung bringt unter anderem noch zwei Shortcuts mit über welche wir den Ausführen oder Debuggen können. Zum bloßen ausführen reicht hier ein klick auf "Run" aus.

Es wird neu kompiliert und ausgeführt. Die Ausgabe im Terminal bleibt die gleiche nur das wir uns bei diesem Weg die Eingabe im Terminalfenster sparen.

Abschluss & Ausblick
Im Abschluss dieses Beitrags haben wir erfolgreich Visual Studio Code installiert und bereits ein erstes Projekt mithilfe von Cargo erstellt und ausgeführt. Im nächsten Beitrag widmen wir uns einer detaillierten Betrachtung der Rust-Programmiersprache. Du wirst eine umfassende Übersicht über Datentypen erhalten und lernen, wie du Variablen, Konstanten und vieles mehr in Rust anlegst. Bleib dran, denn wir setzen unsere Reise in die Welt von Rust fort! Read the full article
0 notes
Text
This Week in Rust 599
Hello and welcome to another issue of This Week in Rust! Rust is a programming language empowering everyone to build reliable and efficient software. This is a weekly summary of its progress and community. Want something mentioned? Tag us at @thisweekinrust.bsky.social on Bluesky or @ThisWeekinRust on mastodon.social, or send us a pull request. Want to get involved? We love contributions.
This Week in Rust is openly developed on GitHub and archives can be viewed at this-week-in-rust.org. If you find any errors in this week's issue, please submit a PR.
Want TWIR in your inbox? Subscribe here.
Updates from Rust Community
Official
Announcing Google Summer of Code 2025 selected projects
Foundation
10 Years of Stable Rust: An Infrastructure Story
Newsletters
This Month in Rust OSDev: April 2025 | Rust OSDev
The Embedded Rustacean Issue #45
Project/Tooling Updates
Avian Physics 0.3
Two months in Servo: CSS nesting, Shadow DOM, Clipboard API, and more
Cot v0.3: Even Lazier
Streaming data analytics, Fluvio 0.17.3 release
CGP v0.4 is Here: Unlocking Easier Debugging, Extensible Presets, and More
Rama v0.2
Observations/Thoughts
Bad Type Patterns - The Duplicate duck
Rust nightly features you should watch out for
Lock-Free Rust: How to Build a Rollercoaster While It’s on Fire
Simple & type-safe localization in Rust
From Rust to AVR assembly: Dissecting a minimal blinky program
Tarpaulins Week Of Speed
Rustls Server-Side Performance
Is Rust the Future of Programming?
Rust Walkthroughs
Functional asynchronous Rust
The Power of Compile-Time ECS Architecture in Rust
[video] Build with Naz : Spinner animation, lock contention, Ctrl+C handling for TUI and CLI
Miscellaneous
April 2025 Rust Jobs Report
Crate of the Week
This week's crate is brush, a bash compatible shell implemented completely in Rust.
Thanks to Josh Triplett for the suggestion!
Please submit your suggestions and votes for next week!
Calls for Testing
An important step for RFC implementation is for people to experiment with the implementation and give feedback, especially before stabilization.
If you are a feature implementer and would like your RFC to appear in this list, add a call-for-testing label to your RFC along with a comment providing testing instructions and/or guidance on which aspect(s) of the feature need testing.
No calls for testing were issued this week by Rust, Rust language RFCs or Rustup.
Let us know if you would like your feature to be tracked as a part of this list.
RFCs
Rust
Rustup
If you are a feature implementer and would like your RFC to appear on the above list, add the new call-for-testing label to your RFC along with a comment providing testing instructions and/or guidance on which aspect(s) of the feature need testing.
Call for Participation; projects and speakers
CFP - Projects
Always wanted to contribute to open-source projects but did not know where to start? Every week we highlight some tasks from the Rust community for you to pick and get started!
Some of these tasks may also have mentors available, visit the task page for more information.
rama - add ffi/rama-rhai: support ability to use services and layers written in rhai
rama - support akamai h2 passive fingerprint and expose in echo + fp services
If you are a Rust project owner and are looking for contributors, please submit tasks here or through a PR to TWiR or by reaching out on X (formerly Twitter) or Mastodon!
CFP - Events
Are you a new or experienced speaker looking for a place to share something cool? This section highlights events that are being planned and are accepting submissions to join their event as a speaker.
No Calls for papers or presentations were submitted this week.
If you are an event organizer hoping to expand the reach of your event, please submit a link to the website through a PR to TWiR or by reaching out on X (formerly Twitter) or Mastodon!
Updates from the Rust Project
397 pull requests were merged in the last week
Compiler
async drop fix for async_drop_in_place<T> layout for unspecified T
better error message for late/early lifetime param mismatch
perf: make the assertion in Ident::new debug-only
perf: merge typeck loop with static/const item eval loop
Library
implement (part of) ACP 429: add DerefMut to Lazy[Cell/Lock]
implement VecDeque::truncate_front()
Cargo
network: use Retry-After header for HTTP 429 responses
rustc: Don't panic on unknown bins
add glob pattern support for known_hosts
add support for -Zembed-metadata
fix tracking issue template link
make cargo script ignore workspaces
Rustdoc
rustdoc-json: remove newlines from attributes
ensure that temporary doctest folder is correctly removed even if doctests failed
Clippy
clippy: item_name_repetitions: exclude enum variants with identical path components
clippy: return_and_then: only lint returning expressions
clippy: unwrap_used, expect_used: accept macro result as receiver
clippy: add allow_unused config to missing_docs_in_private_items
clippy: add new confusing_method_to_numeric_cast lint
clippy: add new lint: cloned_ref_to_slice_refs
clippy: fix ICE in missing_const_for_fn
clippy: fix integer_division false negative for NonZero denominators
clippy: fix manual_let_else false negative when diverges on simple enum variant
clippy: fix unnecessary_unwrap emitted twice in closure
clippy: fix diagnostic paths printed by dogfood test
clippy: fix false negative for unnecessary_unwrap
clippy: make let_with_type_underscore help message into a suggestion
clippy: resolve through local re-exports in lookup_path
Rust-Analyzer
fix postfix snippets duplicating derefs
resolve doc path from parent module if outer comments exist on module
still complete parentheses & method call arguments if there are existing parentheses, but they are after a newline
Rust Compiler Performance Triage
Lot of changes this week. Overall result is positive, with one large win in type check.
Triage done by @panstromek. Revision range: 62c5f58f..718ddf66
Summary:
(instructions:u) mean range count Regressions ❌ (primary) 0.5% [0.2%, 1.4%] 113 Regressions ❌ (secondary) 0.5% [0.1%, 1.5%] 54 Improvements ✅ (primary) -2.5% [-22.5%, -0.3%] 45 Improvements ✅ (secondary) -0.9% [-2.3%, -0.2%] 10 All ❌✅ (primary) -0.3% [-22.5%, 1.4%] 158
Full report here
Approved RFCs
Changes to Rust follow the Rust RFC (request for comments) process. These are the RFCs that were approved for implementation this week:
No RFCs were approved this week.
Final Comment Period
Every week, the team announces the 'final comment period' for RFCs and key PRs which are reaching a decision. Express your opinions now.
Tracking Issues & PRs
Rust
Tracking Issue for non_null_from_ref
Add std::io::Seek instance for std::io::Take
aarch64-softfloat: forbid enabling the neon target feature
Stabilize the avx512 target features
make std::intrinsics functions actually be intrinsics
Error on recursive opaque ty in HIR typeck
Remove i128 and u128 from improper_ctypes_definitions
Guarantee behavior of transmuting Option::<T>::None subject to NPO
Temporary lifetime extension through tuple struct and tuple variant constructors
Stabilize tcp_quickack
Change the desugaring of assert! for better error output
Make well-formedness predicates no longer coinductive
No Items entered Final Comment Period this week for Cargo, Rust RFCs, Language Reference, Language Team or Unsafe Code Guidelines.
Let us know if you would like your PRs, Tracking Issues or RFCs to be tracked as a part of this list.
New and Updated RFCs
RFC: Extended Standard Library (ESL)
Upcoming Events
Rusty Events between 2025-05-14 - 2025-06-11 🦀
Virtual
2025-05-15 | Hybrid (Redmond, WA, US) | Seattle Rust User Group
May, 2025 SRUG (Seattle Rust User Group) Meetup
2025-05-15 | Virtual (Girona, ES) | Rust Girona
Sessió setmanal de codificació / Weekly coding session
2025-05-15 | Virtual (Joint Meetup, Europe + Israel) | Rust Berlin + Rust Paris + London Rust Project Group + Rust Zürisee + Rust TLV + Rust Nürnberg + Rust Munich + Rust Aarhus + lunch.rs
🦀 Celebrating 10 years of Rust 1.0 🦀
2025-05-15 | Virtual (Zürich, CH) | Rust Zürisee
🦀 Celebrating 10 years of Rust 1.0 (co-event with berline.rs) 🦀
2025-05-18 | Virtual (Dallas, TX, US) | Dallas Rust User Meetup
Rust Readers Discord Discussion: Async Rust
2025-05-19 | Virtual (Tel Aviv-yafo, IL) | Rust 🦀 TLV
Tauri: Cross-Platform desktop applications with Rust and web technologies
2025-05-20 | Hybrid (EU/UK) | Rust and C++ Dragons (former Cardiff)
Talk and Connect - Fullstack - with Goetz Markgraf and Ben Wishovich
2025-05-20 | Virtual (London, UK) | Women in Rust
Threading through lifetimes of borrowing - the Rust way
2025-05-20 | Virtual (Tel Aviv, IL) | Code Mavens 🦀 - 🐍 - 🐪
Rust at Work a conversation with Ran Reichman Co-Founder & CEO of Flarion
2025-05-20 | Virtual (Washington, DC, US) | Rust DC
Mid-month Rustful
2025-05-21 | Hybrid (Vancouver, BC, CA) | Vancouver Rust
Linking
2025-05-22 | Virtual (Berlin, DE) | Rust Berlin
Rust Hack and Learn
2025-05-22 | Virtual (Girona, ES) | Rust Girona
Sessió setmanal de codificació / Weekly coding session
2025-05-25 | Virtual (Dallas, TX, US) | Dallas Rust User Meetup
Rust Readers Discord Discussion: Async Rust
2025-05-27 | Virtual (Dallas, TX, US) | Dallas Rust User Meetup
Fourth Tuesday
2025-05-27 | Virtual (Tel Aviv, IL) | Code Mavens 🦀 - 🐍 - 🐪
Rust at Work - conversation with Eli Shalom & Igal Tabachnik of Eureka Labs
2025-05-29 | Virtual (Nürnberg, DE) | Rust Nuremberg
Rust Nürnberg online
2025-05-29 | Virtual (Tel Aviv-yafo, IL) | Rust 🦀 TLV
שיחה חופשית ווירטואלית על ראסט
2025-06-01 | Virtual (Dallas, TX, US) | Dallas Rust User Meetup
Rust Readers Discord Discussion: Async Rust
2025-06-03 | Virtual (Tel Aviv-yafo, IL) | Rust 🦀 TLV
Why Rust? למה ראסט? -
2025-06-04 | Virtual (Indianapolis, IN, US) | Indy Rust
Indy.rs - with Social Distancing
2025-06-05 | Virtual (Berlin, DE) | Rust Berlin
Rust Hack and Learn
2025-06-07 | Virtual (Kampala, UG) | Rust Circle Meetup
Rust Circle Meetup
2025-06-08 | Virtual (Dallas, TX, US) | Dallas Rust User Meetup
Rust Readers Discord Discussion: Async Rust
2025-06-10 | Virtual (Dallas, TX, US) | Dallas Rust User Meetup
Second Tuesday
2025-06-10 | Virtual (London, UK) | Women in Rust
👋 Community Catch Up
Asia
2025-05-17 | Delhi, IN | Rust Delhi
Rust Delhi Meetup #10
2025-05-24 | Bangalore/Bengaluru, IN | Rust Bangalore
May 2025 Rustacean meetup
2025-06-08 | Tel Aviv-yafo, IL | Rust 🦀 TLV
In person Rust June 2025 at AWS in Tel Aviv
Europe
2025-05-13 - 2025-05-17 | Utrecht, NL | Rust NL
RustWeek 2025
2025-05-14 | Reading, UK | Reading Rust Workshop
Reading Rust Meetup
2025-05-15 | Berlin, DE | Rust Berlin
10 years anniversary of Rust 1.0
2025-05-15 | Oslo, NO | Rust Oslo
Rust 10-year anniversary @ Appear
2025-05-16 | Amsterdam, NL | RustNL
Rust Week Hackathon
2025-05-16 | Utrecht, NL | Rust NL Meetup Group
RustWeek Hackathon
2025-05-17 | Amsterdam, NL | RustNL
Walking Tour around Utrecht - Saturday
2025-05-20 | Dortmund, DE | Rust Dortmund
Talk and Connect - Fullstack - with Goetz Markgraf and Ben Wishovich
2025-05-20 | Aarhus, DK | Rust Aarhus
Hack Night - Robot Edition
2025-05-20 | Leipzig, SN, DE | Rust - Modern Systems Programming in Leipzig
Topic TBD
2025-05-22 | Augsburg, DE | Rust Augsburg
Rust meetup #13:A Practical Guide to Telemetry in Rust
2025-05-22 | Bern, CH | Rust Bern
2025 Rust Talks Bern #3 @zentroom
2025-05-22 | Paris, FR | Rust Paris
Rust meetup #77
2025-05-22 | Stockholm, SE | Stockholm Rust
Rust Meetup @UXStream
2025-05-27 | Basel, CH | Rust Basel
Rust Meetup #11 @ Letsboot Basel
2025-05-27 | Vienna, AT | Rust Vienna
Rust Vienna - May at Bitcredit 🦀
2025-05-29 | Oslo, NO | Rust Oslo
Rust Hack'n'Learn at Kampen Bistro
2025-05-31 | Stockholm, SE | Stockholm Rust
Ferris' Fika Forum #12
2025-06-04 | Ghent, BE | Systems Programming Ghent
Grow smarter with embedded Rust
2025-06-04 | München, DE | Rust Munich
Rust Munich 2025 / 2 - Hacking Evening
2025-06-04 | Oxford, UK | Oxford Rust Meetup Group
Oxford Rust and C++ social
2025-06-05 | München, DE | Rust Munich
Rust Munich 2025 / 2 - Hacking Evening
2025-06-11 | Reading, UK | Reading Rust Workshop
Reading Rust Meetup
North America
2025-05-15 | Hybrid (Redmond, WA, US) | Seattle Rust User Group
May, 2025 SRUG (Seattle Rust User Group) Meetup
2025-05-15 | Mountain View, CA, US | Hacker Dojo
RUST MEETUP at HACKER DOJO
2025-05-15 | Nashville, TN, US | Music City Rust Developers
Using Rust For Web Series 2 : Why you, Yes You. Should use Hyperscript!
2025-05-15 | Hybrid (Redmond, WA, US) | Seattle Rust User Group
May, 2025 SRUG (Seattle Rust User Group) Meetup
2025-05-18 | Albuquerque, NM, US | Ideas and Coffee
Intro Level Rust Get-together
2025-05-20 | San Francisco, CA, US | San Francisco Rust Study Group
Rust Hacking in Person
2025-05-21 | Hybrid (Vancouver, BC, CA) | Vancouver Rust
Linking
2025-05-28 | Austin, TX, US | Rust ATX
Rust Lunch - Fareground
2025-05-29 | Atlanta, GA, US | Rust Atlanta
Rust-Atl
2025-06-05 | Saint Louis, MO, US | STL Rust
Leptos web framework
South America
2025-05-28 | Montevideo, DE, UY | Rust Meetup Uruguay
Primera meetup de Rust de 2025!
2025-05-31 | São Paulo, BR | Rust São Paulo Meetup
Encontro do Rust-SP na WillBank
If you are running a Rust event please add it to the calendar to get it mentioned here. Please remember to add a link to the event too. Email the Rust Community Team for access.
Jobs
Please see the latest Who's Hiring thread on r/rust
Quote of the Week
If a Pin drops in a room, and nobody around understands it, does it make an unsound? #rustlang
– Josh Triplett on fedi
Thanks to Josh Triplett for the self-suggestion!
Please submit quotes and vote for next week!
This Week in Rust is edited by: nellshamrell, llogiq, cdmistman, ericseppanen, extrawurst, U007D, joelmarcey, mariannegoldin, bennyvasquez, bdillo
Email list hosting is sponsored by The Rust Foundation
Discuss on r/rust
2 notes
·
View notes
Text
this is actually surprisingly common! it’s a strategy that rustup uses in some situations where dropping requires some complicated/expensive work (according to a talk i watched a year ago or so), and also (kinda) used by the mold linker as well.
I think it may be useful to have a dedicated thread that you use for this sort of thing, instead of spinning up a new thread each time, but honestly who knows. maybe it doesn’t actually have that much of a performance impact.
so im implementing asynchronous deallocation and like
this feels so wrong??? but it works perfectly and doesnt hog the main thread so im keeping it
9 notes
·
View notes
Text
Getting Rusty
In the ongoing effort to teach an old Data collector new tricks, with a steadfast desire to stay focused and undistracted, lets.....
learn a new coding language!
why Rust? to be perfectly honest, it started with a small clickbait ad at the bottom of my screen one day. A quoted headline about this new language creating a small buzz in the industry, like a new undiscovered vacation island...click!
I also like the name. For me, it sort of embraces that feeling I get when I start to think about learning to code again, its the same feeling I get when I find rust forming on a prized metallic possession.
Rust is touted for runtime speed, safe memory usage, and advantages using multiple processors, making it ideal for web applications and services requiring high performance, CLI applications and embedded devices.
Lastly, in my research I also became aware that Rust has a reputation of being hard to learn. That alone is enough of an invitation to try.
so then, lets get started.
I dug up an old macbook pro running OS X El Capitan 10.11.6 to use for this coding project. Rust can be installed on both Unix and Linux, an Windows.
I used an install script that can be found at rustup.rs like so:
step 2: choose option 1.
Install finished. Woohoo!
step 3: Check cargo install and setup a project folder.
step 4: Test run the compiler and Hello World code.
So far pretty simple, no issues thus far, Rust is installed and working and now I am ready to start writing some code. I think I am going to dig up a few useful scripts in some different languages, like C, bash, python, etc. and attempt to rewrite them in Rust.
Cheers and Stay tuned!
@hackgineer
0 notes
Text
How to install Rust in a Linux System
How to install Rust in a Linux System
Rust is a fast and memory-efficient programming language with no runtime or garbage collector that integrates seamlessly with other languages. This article will show you how to install the Rust programming language on Ubuntu 20.04 LTS and start a Rust project. Other similar guides are here :How to install Zabbix Monitoring Tool on a Linux System and How to Install MongoDB on a Linux System and…

View On WordPress
#apt install rust#cargo#clippy#Linux distro#proceed with default for rust#Rust#rust project#rust-doc#rust-fmt#rust-std#rustup shell script
0 notes