Announcing Rust 1.84.0 | Rust Blog
Empowering everyone to build reliable and efficient software.
#Rust 1.84 has been released. Beginning the migration to the much awaited next-gen trait solver. Cargo now takes Rust version into consideration for dependency version selection, the MSRV-aware resolver is opt-in for now but will be default for projects using 2024 edition.
#rustlang #programming
09.01.2025 18:48
π 0
π 0
π¬ 0
π 0
Helix
A post-modern modal text editor.
#Helix editor 25.01 has just been released bringing improvements to path and snippet completions, diagnostics (with support for inlining), tabular picker UI, macro keybindings, and commenting.
helix-editor.com/news/release...
#rust #rustlang #programming #helixeditor
04.01.2025 10:56
π 1
π 0
π¬ 0
π 0
Already testing the new release on some small services I'm running at home, other than the breaking changes to path parameters it's been a painless upgrade. I'm going to upgrade the Axum services at work in the coming weeks.
01.01.2025 12:34
π 2
π 0
π¬ 0
π 0
Announcing axum 0.8.0 | Tokio - An asynchronous Rust runtime
Tokio is a runtime for writing reliable asynchronous applications with Rust. It provides async I/O, networking, scheduling, timers, and more.
Celebrating the new year with the release of #axum 0.8.0, the most popular web framework for #Rust. Bringing path parameter syntax changes, Option<T> as an extractor, and removing the async_trait dependency resulting in a MSRV bump to Rust 1.75.0.
#rustlang #programming #webdev
01.01.2025 12:34
π 6
π 0
π¬ 1
π 0
I've only written projects in Rust either from the beginning or rewritten in parallel with an existing version, so it's quite inspiring to see a project successfully doing an in-place rewrite. Gaining insight into this process definitely helps with some things I'm working on.
π§΅ 2/2
29.12.2024 01:01
π 0
π 0
π¬ 0
π 0
Fish 4.0: The Fish Of Theseus
A smart and user-friendly command line shell
Interesting blog post about the 2 year process of rewriting fish-shell in #Rust. Gradually replacing C++ components with Rust versions and using various techniques to maintain interoperability while the rewrite was underway.
π§΅ 1/2
#programming #rustlang #fishshell
29.12.2024 01:01
π 8
π 4
π¬ 1
π 0
Linux 6.14 Looks To Land Rust PCI / Platform Device Driver Support
The patch series in the works for a while to provide the necessary kernel abstractions for the Rust programming language to actually implement real device drivers looks like it will finally premiere i...
Looks like #Linux 6.14 is getting the necessary abstractions for #Rust PCI / platform device drivers. Making it possible to implement real device drivers in Rust. We are at a tipping point for Rust drivers in Linux.
#rustlang
27.12.2024 00:06
π 8
π 1
π¬ 0
π 0
Stabilize async closures (RFC 3668) by compiler-errors Β· Pull Request #132706 Β· rust-lang/rust
Async Closures Stabilization Report
This report proposes the stabilization of #![feature(async_closure)] (RFC 3668). This is a long-awaited feature that increases the expressiveness of the Rust lan...
Async closures (RFC 3668) for #Rust has finally been stabilized and merged into nightly! Assuming the merge doesn't get reverted, async closures will be released with stable Rust 1.85 late February next year. Looking forward to this one!
#rustlang #programming
13.12.2024 23:45
π 7
π 3
π¬ 0
π 0
Rust-Based, Memory-Safe PNG Decoders "Vastly Outperform" C-Based PNG Libraries
Video and image encoders/decoders written in the Rust programming language for its memory safety guarantees is often viewed as one of the compelling areas for the programming language to better protec...
#Rust based, memory-safe PNG decoders are outperforming established C-based PNG libraries, while bringing memory safety guarantees to the table. In the future they could help protect against malformed/malicious content targeting bugs in current decoders, especially in web browsers.
#rustlang
09.12.2024 21:14
π 5
π 1
π¬ 0
π 0
Tracking issue for RFC 3681: Default field values Β· Issue #132162 Β· rust-lang/rust
This is a tracking issue for the RFC "3681" (rust-lang/rfcs#3681). The feature gate for the issue is #![feature(default_field_values)]. Allow struct definitions to provide default values for indivi...
#Rust RFC 3681 for default field values in the type definition looks mighty interesting. It simplifies writing defaults for a type significantly in some cases. It's not implemented yet, but I'm looking forward to it hitting stable, even if it is far in the future.
#rustlang #programming
08.12.2024 01:01
π 1
π 0
π¬ 0
π 0
Rustc Trait System Refactor Initiative Update: Stabilizing `-Znext-solver=coherence` | Inside Rust Blog
Want to follow along with Rust development? Curious how you might get involved? Take a look!
Development for the next-generation trait solver for #Rust is moving along smoothly, and will be used as the default for coherence checking from Rust 1.84. It will remove inconsistencies and theoretical soundness issues, and enable future type system improvements.
#rustlang #programming
06.12.2024 11:40
π 0
π 0
π¬ 0
π 0
Linux 6.12 Officially Promoted To Being An LTS Kernel
Linux stable maintainer Greg Kroah-Hartman officially designated Linux 6.12 as this year's long-term support (LTS) kernel version.
New #Linux LTS kernel version promoted. Linux 6.12 is now the latest LTS version with a projected end-of-life of December 2026, the same EOL as many earlier LTS kernels. The EOL may be extended but it depends on the support from hardware/software vendors, testers, and the open-source community.
05.12.2024 22:14
π 0
π 0
π¬ 0
π 0
βTis the Season for COSMIC Alpha 4!
New additions include settings and COSMIC app updates, plus an early Accessibility applet.
COSMIC Desktop Alpha 4 just got released and it's continually getting closer to being a daily driver with all these new features and fixes. I still haven't replaced KDE with it yet, but I'm really looking forward to the first stable release.
#rust #rustlang #cosmic #cosmicde #linux #system76
05.12.2024 22:05
π 3
π 0
π¬ 0
π 0
Combined with a proper CI/CD stack which notifies the ones involved about errors and prevents deploying broken builds and you're golden. 95% of the time it's not about pinning blame, but rather helping everyone improve.
As a bonus it helps onboard juniors and establish good practices from day 1.
2/2
30.11.2024 17:54
π 1
π 0
π¬ 1
π 0
Unfortunately some people have to be forced to use a strict compiler or linter to prevent them from doing stupid, fast and easy fixes. Even if they know better. Having tools which slap you and say "NO! That's stupid, do this instead" is very useful in a corporate context.
1/2
30.11.2024 17:53
π 0
π 0
π¬ 1
π 0
I fully agree with you. In this case we have to be 200% sure the data is correct and valid, while dealing with unsanitized user input. Most of my frustration is with the sanitization "layer", it should be implemented in something strict. Afterwards the data can and should flow freely.
30.11.2024 16:46
π 1
π 0
π¬ 1
π 0
There's always the possibility we could cook up our own monad data structures or converting things to #Typescript so we could use fp-ts or effect-ts. The only problem is the huge codebase. We are already considering converting it to #Rust, #Elixir with typespecs, or #Gleam.
#programming #rustlang
30.11.2024 15:33
π 3
π 0
π¬ 0
π 0
After working on a #Javascript Node backend project for a while it's so good to get back to #Rust. No need to check if a variable is null or undefined, if a string is a string, exceptions, and so on, all the time. Knowing what data type you're dealing with helps immensely.
#programming #rustlang
30.11.2024 15:32
π 3
π 0
π¬ 2
π 0
βοΈCargo in Rust 1.83 has changed default lockfile format to v4.βοΈ
Rust 1.78+ supports this format, if you need backwards compatibility with earlier versions consider setting MSRV (package.rust-version) to 1.82 or earlier in Cargo.toml.
Burned myself on this while testing 1.83.
#rust #rustlang
28.11.2024 21:29
π 0
π 1
π¬ 0
π 0
Announcing Rust 1.83.0 | Rust Blog
Empowering everyone to build reliable and efficient software.
It's that time of the 6 week cycle again, a new Rust release!
Rust 1.83 brings new const capabilities and a trove of new stabilized APIs. A lot of new features are now available with compile-time evaluation.
blog.rust-lang.org/2024/11/28/R...
#rust #rustlang #programming
28.11.2024 14:53
π 3
π 2
π¬ 0
π 0
Imagine a future where we are developing on a #System76 computer running #RedoxOS with #COSMICdesktop and either a #alacritty or a #wezterm terminal with #zellij as the multiplexer and #helixeditor as the development environment.
Running #rustlang from top to bottom on your computer.
#rust
27.11.2024 22:04
π 4
π 0
π¬ 0
π 0
Zellij 0.41.0: Solutions for Colliding Keybindings, Plugin Manager, new UI
A solution for the colliding keybindings problem, a new plugin manager and UI, reloading configuration at runtime and a new setup wizard.
A bit late to the party, but Zellij has added a "non-colliding" by default mode. I can finally switch out tmux for Zellij, without setting up tons of manual key bindings to prevent collisions.
zellij.dev/news/collidi...
#rust #rustlang #zellij
27.11.2024 21:51
π 0
π 0
π¬ 0
π 0
Rust 2024 call for testing | Rust Blog
Empowering everyone to build reliable and efficient software.
Really looking forward to playing with the new features in Rust 2024 when it hits stable February next year. Some of them I know will come in handy at work.
blog.rust-lang.org/2024/11/27/R...
#rust #rustlang #programming #coding
27.11.2024 13:21
π 1
π 0
π¬ 0
π 0
25.11.2024 02:03
π 28157
π 2143
π¬ 403
π 168
Is it really going to manifest into something if it's "years away" though? There's been rumors and reports of a Xbox handheld since the 360 era.
25.11.2024 21:30
π 0
π 0
π¬ 0
π 0