Coding in Rust after some time while being a Python fulltime dev is a great experience.
Coding in Rust after some time while being a Python fulltime dev is a great experience.
New blog post from FractalFir, our Rust GCC backend Google summer of code student: https://fractalfir.github.io/generated_html/cg_gcc_bootstrap_2.html
Enjoy!
The next release of #RustLang will start warning about "mismatched lifetime syntaxes".
You can already automatically fix many of these cases by applying an auto-fix for the `elided_lifetimes_in_paths` warning:
RUSTFLAGS="-Welided_lifetimes_in_paths" cargo fix --all --all-targets
Did you miss our last virtual #Bevy meetup? Here are the recordings of the individual talks and the interesting panel discussion: https://www.youtube.com/playlist?list=PLbvvWoCXmXkIQgt14jQ0XcnFcP5JDGdU_ have a watch #rustlang #gamedev
Two (very) nice improvements got merged today in docs.rs:
std
on docs.rs search directly: https://github.com/rust-lang/docs.rs/pull/2868Enjoy!
Finally, I can chat with my rat friends over Bluetooth
Communicate off-grid with E2E encryption, public channels, and direct messaging.
Written in Rust & built with @ratatui_rs
New to #rustlang? Don’t miss these sessions at #rustconf25 from Sept 2-5!
Async Fundamentals Workshop: Build fast APIs with async Rust
Ellie Huxtable: Use Rust at every layer
Joey Riches has been working on packagekit integration for moss so that we can have a nicer GUI experience for package installation of our stone based packages.
A short summary of his progress:
- Generated rust bindings for packagekit
- Wrote the moss backend for packagekit and implemented all functionality that moss supports
- Gnome software can list, install & update packages - working on getting a appstream catalog hosted for full functionality
TODO:
- Figure out C/rust interop story to minimise usage of unsafe
- Get support for misc. items implemented in moss such as repo origin of packages
- Get progress bar callback support in
- Implement support for remaining more niche packagekit filters e.g. newest, devel, basename, etc
- Figure out build system: integrate rust bindings & our backend upstream or develop it downstream for now?
It sometimes needs saying that we are fleshing out our distro from scratch, which means we are having to build new integrations like this from scratch. This is a good thing as we have been finding opportunities for optimisation across our code base, but it does require time.
The fifteenth chapter of the ray tracing book is a bit more exciting as it adds the triangle and smooth triangle shapes as well as a parser for OBJ files. This makes it possible to load 3D models and add them to the scene.
I also made an optimization to cache the inverse of the transformation matrix which sped up the calculations a lot.
Here is an image of a smooth high polygon version of the Utah Teapot.
I had to do a lot of refactoring of my ray-tracer to get Chapter 14 working where Groups are added. Making it possible to combine shapes and translate them at the same time.
The end result is not very exciting though. This is a hexagon made up of six cylinders as edges and six spheres as corners.
Currently on the Bioconductor & Rust meeting: https://blog.bioconductor.org/posts/2025-07-09-developers-forum-july28/ #rstats #rust #rustlang
100 Exercises to Learn Rust: RustRover Edition
#RustLang #Jetbrainsacademy #Learnprogramming #Rust #Rustrover
https://blog.jetbrains.com/education/2025/07/28/rust-exercises-rustrover/
Beta Update - Advanced Hands-on Rust
by Herbert Wolverson
@herberticus
pragprog.com/titles/hwmrust?utm_source=m
B5.0 Release Notes:
* The book is final draft complete and headed to production
(Already purchased? Check your email for a download link.)
#RustLang #Rust
A little update on my Guitar + Ratatui project
Now shows the realtime fretboard by connecting directly to your guitar.
Ignore the breadboard mess / PCB coming soon!
All powered by embedded Rust & @ratatui_rs
GitHub: https://github.com/orhun/tuitar
Can Rust meet functional safety requirements in real-world embedded systems? Espen Albrektsen (Sonair) tells the story of building an ADAR sensor for certification on multicore Cortex-A hardware: https://oxidizeconf.com/sessions/keeping-humans-safe-around-robots-with-rust #RustLang #SafetyCritical #Embedded
What are you doing during a rainy weekend? Instructing CoPilot in #VScode to implement a fully working Blockchain implementation in Rust - with a TUI and WASM-based frontend. I haven't written any line of code, just prompted CoPilot in the right direction. In sum I have spent less than 4 hours on this. I learned a lot about CoPilot, Generative AI, cryptography, and the blockchain technology itself. #GenAI #rust #rustlang #ratatui #wasm #blockchain #crypto #crytography
Ok I'm tired... In #ratatui How Am I supposed to return a Span<'_> from a function ? Where does this lifetime comes from? #rustlang
everything is owned in my function:
fn display_battery_level(bat: f32) -> Span<'_> {
let bat_s = bat.to_string();
match bat {
_ if bat > 50.0 => bat_s.green(),
_ if bat > 25.0 => bat_s.yellow(),
_ => bat_s.red(),
}
}