ohai.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A cozy, fast and secure Mastodon server where everyone is welcome. Run by the folks at ohai.is.

Administered by:

Server stats:

1.7K
active users

#rustlang

96 posts74 participants0 posts today

Linux 6.16 disponibile 🐧💻

Nonostante il cuore del kernel rimanga saldamente in C, Rust sta facendo passi da gigante con nuove integrazioni. Ora abbiamo binding Rust per il driver core e il sottosistema PCI. Inoltre, porta anche nuove astrazioni nel DRM, migliorando la gestione della memoria e riducendo le vulnerabilità. Mi aspetto, di conseguenza, prestazioni grafiche meglio ottimizzate per GPU di #AMD, #Nvidia e #Intel. 🎮🖥️

Vediamo.

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

Two (very) nice improvements got merged today in docs.rs:

  1. Content is now streamed directly from storage, allowing a much smoother experience for users: github.com/rust-lang/docs.rs/p
  2. You can search for Rust project crates like std on docs.rs search directly: github.com/rust-lang/docs.rs/p

Enjoy!

This will start streaming also rustdoc html files from S3 to the client.
First for simple cases, release specific rustdoc assets, which can directly be streamed.
Then I also added a streaming HTML ...
GitHubstream rustdoc html content from S3, use streaming rewriter, stream to client by syphar · Pull Request #2872 · rust-lang/docs.rsBy syphar

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.

#Rust #RustLang, #AerynOS #Linux #packagekit #GUI