Search
Items tagged with: rustlang
Linus Torvalds: Rust will go into Linux 6.1
At the Kernel Maintainers Summit, the question wasn't, "Would Rust make it into Linux?" Instead, it was, "What to do about its compilers?"
The Rust in Linux debate is over. The implementation has begun. In an email conversation, Linux's creator @torvalds told, "Unless something odd happens, it [Rust] will make it into 6.1."
🐧 zdnet.com/article/linus-torval…
#linux #rust #linustorvalds #rustlang #it #code #opensource #kernel #linuxkernel
Today I discovered a pretty cool utility for listing USB devices! 🔌
🌸 **cyme**: A modern and cross-platform lsusb!
🔥 Displays manufacturer, serial number, speed, current information (mA) and more!
🦀 Written in Rust!
⭐ GitHub: github.com/tuna-f1sh/cyme
#rustlang #lsusb #usb #devices #utility #commandline #tool #libusb
Question for the rust pros: can anybody do a TL;DR with the right amount of technical details for a experienced operating system person with many years of C and C++ experience that answers the following question?
What’s the advantage of using Rust in low-level and bare metal contexts, eg to access memory maps, raw pointers, etc (eg with features like “unsafe”)?
Please, I’m genuinely technically curious. That will help me figure out my next steps (what to learn and how). 😅☺️
David Airlie, Red Hat kernel maintainer, about the Rust-for-Linux drama: "if people start acting as active roadblocks to work, rather than sideline commentators who we can ignore, then I will ask Linus to step in and remove roadblocks"
Discussions: discu.eu/q/lwn.net/Articles/98…
#linux #programming #rustlang #unix
Rust conf is next week in town. Apparently I couldn't find the mask policy nor did I get an answer when I asked over mastodon, so I decided it wasn't for me.
Is this *too much*? Historically, having two crate versions in your dependency tree and accidentally mixing types from them led to horribly obtuse error messages (expected `Foo`, found `Foo`). We've slowly chipped away at them, but somethings I fear I might have gone overboard with detail. 😬
Reminder that my book—Rust Atomics and Locks—is freely available online: marabos.nl/atomics/ 😊
(If you read it, please leave a review on goodreads.com/book/show/632918…)
Rust Atomics and Locks by Mara Bos
Low-level Concurrency in Practice. This practical book helps Rust programmers of all levels gain a clear understanding of low-level concurrency. You'll learn everything about atomics and …marabos.nl
Is there a way in Rust to do `fn my_function<T>(&self, value: T)` with T being a float type (currently f32 or f64, but why not f128 - trying f64 already trigger the OOM).
I tried `where T: num_traits::Float` but this cause a lot of other compilaton issues with plain arithmetics.
Non-withstanding `nalgebra` that doesn't have a trait-bound.
I feel like Rust is missing something. Or do I miss it?
Can't believe this runs in a terminal! 🤯
🐠 **lifecycler**: Terminal aquarium 🫧
🆙 ASCIIquarium reaches a new level! 🐟
🦀 Written in Rust & built with @ratatui_rs + @bevy
⭐ GitHub: github.com/cxreiff/lifecycler
#rustlang #ratatui #tui #aquarium #terminal #asciiquarium #bevy #gamedev #game #gamejam
GitHub - cxreiff/lifecycler: Bevy Game Jam #5 submission. Terminal aquarium.
Bevy Game Jam #5 submission. Terminal aquarium. Contribute to cxreiff/lifecycler development by creating an account on GitHub.GitHub
My MR which implements a new image mounting dialog for #GNOME Disks in #Rust has been merged 🎉
The new dialog allows not only to mount and view disk images, but also to edit, inspect, write or, if the disk image is already mounted, unmount it.
Thanks to @tbernard for the design and to @pothos for the review and help.
After many years away from the stage, I am back! It looks like I’m accepted to give a talk at the Matrix Conference (2024.matrix.org/) to present ✨ native simplified sliding sync ✨: how it differs from the first version of sliding sync (an experimental project implemented inside a proxy), how we’ve implemented it inside the Matrix Rust SDK etc. Gonna be fun!
Matrix.org
The Matrix Conference is coming to Berlin, Germany on September 19–22, 2024.2024.matrix.org
I'm happy to announce the release of diesel-async 0.5.
It introduces support for the SQLite backend via a new SyncWrapperConnection type and it provides support for the new diesel Instrumentation interface. Checkout the full release block for more details:
Thanks to @slomo the #gstreamer gtk4-paintable-sink just got support for video rotations. This is nice for video apps, making playback of video recorded on phones (portrait mode) more easy or faster (avoiding a copy compared to using a dedicated gst videoflip element).
The change is even better for Snapshot, the #gnome camera app: it uses the sink for its viewfinder and avoiding additional copies here has quite an impact on #mobilelinux devices.
The Matrix Rust SDK now provides a room list that is sorted on the client-side instead of server-side, github.com/matrix-org/matrix-r….
It has landed in Element X iOS nightly and soon on Android.
I’m going to publish blog posts to explain all the technical details but it’s really pretty neat!
#matrix #RustLang #stream #future #asynchronous
feat(ui): Client-side sorting in `RoomList` by Hywan · Pull Request #3585 · matrix-org/matrix-rust-sdk
The goal of this PR is to implement client-side sorting in RoomList. So far, we used to use the sort parameter of sliding sync to sort the rooms. It is set to by_recency and by_name (see Sliding Wi...GitHub
Are you (or know) a blind programmer? What is your set-up? TTS or Braille? What OS do you use? IDE/editor? What limitations, annoyances or show-stopper issues have you encountered? Particularly interested if you use Rust, but happy to hear about the state of developer experience for blind programmers more generally.
Microsoft Surface's UEFI implementation is in Rust
techcommunity.microsoft.com/t5…
Discussions: discu.eu/q/techcommunity.micro…
Surface UEFI: Evolution in boot, security & device management to build an industry leading secure PC
Take a deep dive into the enabling technologies supporting UEFI developmentTECHCOMMUNITY.MICROSOFT.COM
In today's live stream we finished off the "!todo" plugin of our Matrix bot that tracks todo items for us.
video.infosec.exchange/w/kT1tS…
Coding Matrix in Rust | 2024-06-13
This time: Finished off the TODO plugin!, Started thinking about verifying our device, Next time: Verifying our device so there are no more red shields on our messagesInfosec.Exchange Video
The Rust+Gnome hackfest sponsored by gtk-rs (opencollective.com/gtk-rs) just ended, it allowed us to make great improvements like:
- rewrite the
clone!
macro so it can now be formatted and have rust-analyzer run on it - rewrite rustdoc-stripper so it now uses rustc internal API directly and can be called with cargo. Some work remains to be done but it's already useable.
- finally finished the release blog post (we're months late but better late than never :p)
- lots of other cleanups and bugfixes
#rust #rustlang #gnome #gstreamer #gtk #hackfest #thessaloniki #greece
GitHub - GuillaumeGomez/rustdoc-stripper at cargo-binary
rustdoc-stripper is a tool used to edit/remove rustdoc comments from your code - GitHub - GuillaumeGomez/rustdoc-stripper at cargo-binaryGitHub
Doing a code review today made me realize how writing safety comments in Rust is all about writing down tautologies
We're a bit late but we finally finished writing the release blog post for the last gtk-rs release!
Rust is not about memory safety
o-santi.github.io/blog/rust-is…
Discussions: discu.eu/q/o-santi.github.io/b…
This looks interesting
Hurl is a command line tool that runs HTTP requests defined in a simple plain text format.
It can chain requests, capture values and evaluate queries on headers and body response. Hurl is very versatile: it can be used for both fetching data and testing HTTP sessions.
Hurl makes it easy to work with HTML content, #REST / SOAP / GraphQL APIs, or any other XML / JSON based APIs.
(Built with #rustlang powered by #curl)
Hurl - Run and Test HTTP Requests
Hurl, run and test HTTP requests with plain text and curl. Hurl can run fast automated integration tests.hurl.dev
Got very excited by @matt demo of AccessKit integration in #GTK
AccessKit is a cross-platform abstraction for accessibility infrastructure written in Rust.
His work will bring a11y support for GTK on macOS and Windows as well as for the new accessibility architecture on Linux code-named "Newton".
github.com/AccessKit/accesskit
blogs.gnome.org/a11y/2023/10/2…
#GNOME #rustlang #accessibility #a11y #Linux #Windows #macOS
GitHub - AccessKit/accesskit: UI accessibility infrastructure across platforms and programming languages
UI accessibility infrastructure across platforms and programming languages - AccessKit/accesskitGitHub
🦀 The first episode of 'Rust in Production' season 2 is live!
corrode.dev/podcast/s02e01-cur…
Super excited about talking to @bagder about using Rust in curl!
#rustlang #rust #rustinproduction #podcast
curl - Rust in Production Podcast | corrode Rust Consulting
In the season premier we talk to none other than Daniel Stenberg! We focus on integrating Rust modules in curl, their benefits, ways in which Rust and Rust crates helped improve curl, but also how curl helped those crates, and where curl is used in t…Corrode Rust Consulting
Workbench 46.1 is out!
flathub.org/apps/re.sonny.Work…
Happy International Workers' Day
See what's new and details at blog.sonny.re/workbench-46-1
#GNOME #GTK #JavaScript #rustlang #Python #Vala #Linux #development
Workbench 46.1
Labor day marks the release of Workbench 46.1 This new release comes with Save/restore window state and dimensions for each session/pro...Sonny's
GOSIM 2024 Europe Will Be Held in the Netherlands on May 6th: Embrace the Global Open Source Wave and Build a New Era of AI Here comes the GOSIM 2024 Europe!
medium.com/@gosimfoundation/th…
For more information please visit: europe2024.gosim.org
Scan or register here:
eventbrite.com/e/gosim-2024-co…
#rust #rustlang #rustnl #opensource #gui #mobile #app #ai #fediverse #matrix #gosim
The Latest Guest Lineup of GOSIM 2024 Europe Revealed, Gathering Global Masters in AI Open Source field
May 6th, 2024, GOSIM 2024 Europe hosted by the organization of Global Open-Source Innovation Meetup (GOSIM) will be officially held in Delft, Netherlands, Europe. This grand event has provided a…GOSIM Foundation (Medium)
Lessons learned after 3 years of fulltime Rust game development, and why we're leaving Rust behind
loglog.games/blog/leaving-rust…
Discussions: discu.eu/q/loglog.games/blog/l…
I like to minimize the size of binaries I build. Unremovable debugging strings annoyed me, so I've added an option to completely neuter `Debug::fmt` in #Rustlang
github.com/rust-lang/rust/pull…
debug-fmt-detail option by kornelski · Pull Request #123940 · rust-lang/rust
I'd like to propose a new option that makes #[derive(Debug)] generate no-op implementations that don't print anything, and makes {:?} in format strings a no-op. There are a couple of motivations fo...GitHub
Some useful types for database-using Rust web apps
I’ve been writing a little web app in rust lately, and in it I decided to try to do it without an ORM.boinkor.net
I wrote a guest post on the Rust Foundation blog on my experience attending the #CISA Open Source Software Security Summit:
foundation.rust-lang.org/news/…
Rust Foundation
The Rust Foundation is an independent non-profit organization to steward the Rust programming language and ecosystem, with a unique focus on supporting the set of maintainers that govern and develop the project.foundation.rust-lang.org
Today I found a TUI frontend for curl! 🔥
🌀**cute**: TUI HTTP client with API/auth key management and request history/storage.
🌐 Supports importing Postman collections!
🦀 Written in Rust & built with @ratatui_rs
⭐ GitHub: github.com/PThorpe92/CuTE
#rustlang #ratatui #tui #curl #http #request #api #auth
GitHub - PThorpe92/CuTE: HTTP client/libcurl TUI front end in Rust, with request + key storage
HTTP client/libcurl TUI front end in Rust, with request + key storage - PThorpe92/CuTEGitHub
#rust #rustlang devs: “inheritance is a plague! A pox upon beautiful programming! It must be banished and we shall never allow it!”
Also Rust devs: 🦀 can have a little inheritance as a treat uwu 🥺
aayushyavajpayee.substack.com/…
Write Cleaner, More Maintainable Rust Code with PhantomData
Solving the Redundancy Problem: How PhantomData Saves the Day in RustAayushya Vajpayee (Aayushya’s Substack)
New blog post: on that time when I decided that if being able to panic one Rust program is good, then a feature that lets you panic _other_ programs would be better, right?
No, really, it's awesome. Here's Hubris's oddest syscall.