Search
Items tagged with: rust
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
#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 🥺
https://aayushyavajpayee.substack.com/p/coming-soon
Write Cleaner, More Maintainable Rust Code with PhantomData
Solving the Redundancy Problem: How PhantomData Saves the Day in RustAayushya Vajpayee (Aayushya’s Substack)
We've got a new Developer Digest, and this one is full of updates on Rust and Exchange support, a better mailing list subscription experience, and a successful ESMification! 🎉
Read all about these developments and small but meaningful fixes and upgrades here: https://blog.thunderbird.net/2024/04/thunderbird-monthly-development-digest-march-24/
#Thunderbird #Development #Rust
Thunderbird Monthly Development Digest: March 2024 - The Thunderbird Blog
In this month's Thunderbird Development Digest, Alex updates us on Rust and Exchange, list management, and successful ESMification.Alessandro Castellani (The Thunderbird Blog)
Are you experienced with GTK and Rust ? ❤️
We are looking to contract someone to work on the new GNOME Password Manager 🔑
We want it to become a core/default app and help secure millions of users.
You'll be working with the GNOME Foundation, a non-profit dedicated to building emancipatory technologies for everyone.
Please send resume / portfolio to stf@gnome.org
Boosts welcome
#GTK #Rust #rustlang #GNOME #Linux #Ubuntu #Linux #Fedora #OpenSUSE #Debian
So when is native Exchange Support coming to Thunderbird - and what role does Rust play? Get the answer in this clip from our most recent office hours! 📼 🦀
Also, this video and ALL our videos going forward will have German subtitles. Ausgezeichnet! 🇩🇪
https://tilvids.com/w/u3MGYXHcNcS8G6HVHh2QoB
Q&A: EXCHANGE Support In Thunderbird (Desktop + Android)
Is support for Microsoft's Exchange protocol coming to the desktop version of Thunderbird? What about K-9 Mail and Thunderbird for Android? What's the timeline? Here's your answer in a short video clip from our recent Community Office Hours session.TILvids
With the upcoming stabilization of the diagnostic namespace, I want to take stock of the compile time error messages generated by diesel and see what messages can be improved.
Please contribute your example of a bad diesel related compiler error message here: https://github.com/diesel-rs/diesel/discussions/3972
Review Diesel compile time error message · diesel-rs diesel · Discussion #3972
Diesel is known for sometimes generating sub-optimal compile time error messages. With the upcoming stabilization of the #[diagnostic] attribute namespace and the #[diagnostic::on_unimplemented] at...GitHub
GitHub - johnthagen/min-sized-rust: 🦀 How to minimize Rust binary size 📦
🦀 How to minimize Rust binary size 📦. Contribute to johnthagen/min-sized-rust development by creating an account on GitHub.GitHub
Workbench 46 is out! 🛠️
https://flathub.org/apps/re.sonny.Workbench
Actually it was a couple of hours ago before GNOME 46 but I didn't want to steal the show 😎
Here are the highlights 💡
Inline diagnostics for #Rust and #Python
New Library demos: 📚
"Snapshot" to demonstrate one of GTK4 coolest feature.
"Dialog" and "Message Dialogs" to demonstrate libadwaita 1.5 new responsive dialogs.
26 demos ported to Python
5 demos ported to Vala
#GNOME #GTK #development #Linux #Python #Rust
Hey #rust #rustlang bubble - I am giving up maintainership of the "config" crate: https://github.com/mehcode/config-rs/issues/549
If someone wants to take over, now's your time.
#maintainer #github #repository 🦀
Please boost to your rustlang bubbles.
Maintainer wanted · Issue #549 · mehcode/config-rs
This project needs more/new maintainers. I took over maintainership in 2019 (IIRC) during a project at my employer back then, because I needed fixes/changes in this crate to fulfill my task at work...GitHub
Of the 15 top Hubris and Oxide firmware contributors by commit count, it looks like 8 had no prior embedded experience.
Let that sink in.
What we're doing here is not easy, but we've built an environment that lets more people contribute. Rust means big-computer skills translate, and better tooling makes us all better devs.
This feels like a vindication of both Hubris's design goals, and the use of Rust in firmware more generally.
A few weeks ago, I introduced and fixed a bug where I accidentally checked if a string literal, instead of a vector, was empty, jokingly saying that I blamed Clippy for not having a lint against it. Following a suggestion from @zeenix, I created a feature request, and it's now actually implemented.
This means that Clippy will now warn you if you try to call `is_empty` on a string. https://rust-lang.github.io/rust-clippy/master/index.html#/const_is_empty
Clippy is really amazing.
Clippy Lints
A collection of lints to catch common mistakes and improve your Rust code.rust-lang.github.io
Does anybody have a good idea how one can verify that your rust compiler and the FFI code you interact with use the same libc?
Some of our rust code inside mesa will allocate/deallocate code indirectly via `malloc`/`free` and I don't think we really want to mix and match across different libc impls here.
So we want to figure out at configure or compiler time that everything uses the same libc.
The new GStreamer 1.24 release is also the first that has a Rust component as part of core, in addition to all the plugins that were already part of previous releases.
https://gstreamer.freedesktop.org/releases/1.24/#ptp
Over the last months the Rust/cargo support in meson improved a lot.
It's now ready to build and install a GTK4 Rust application with around 70 dependencies without having to write almost any custom build glue for the dependencies.
https://github.com/sdroege/mandelbrot#meson-build
The application in question is just a small experiment of mine for rayon and GTK4 input handling / rendering. The more or less same should work for other GTK4 applications at this point.
All this still depends on two unmerged meson PRs, but it's a huge step forward from the situation just a few months ago.
Thanks to the hard work of @xclaesse and dcbaker!
I hope in the future this will allow GNOME applications written in Rust to have a less strange and fragile build setup than what they have right now with mixing cargo and meson.
#rustlang #rust #gtk #gnome #meson #mesonbuild
GitHub - sdroege/mandelbrot: GTK/Rust based viewer for the Mandelbrot set
GTK/Rust based viewer for the Mandelbrot set. Contribute to sdroege/mandelbrot development by creating an account on GitHub.GitHub
Get started writing that #app in your favourite programming language!
https://developer.gnome.org/documentation/introduction/languages.html
Then start working on those features, with tutorials for #Blueprint, #JavaScript, #Python, #Rust and #Vala 🚀
https://apps.gnome.org/Workbench/
#GNOME #Workbench #Opensource #FOSS
Workbench – Apps for GNOME
Learn and prototype with GNOME technologies – Workbench lets you experiment with GNOME technologies, no matter if tinkering for the first time or building and testing a GTK user interface. Among other things, Workbench comes with Live GTK/CSS pre...apps.gnome.org
As promised, our monthly development digest is here! And there are some brief but BIG updates in this one 👀
✅ Thunderbird Sync Update
✅ Taking ownership of the Thunderbird Snap
✅ ThunderCell repo for tracking Rust + Exchange progress
Read Alex’s update here:
https://blog.thunderbird.net/2024/02/thunderbird-monthly-development-digest-february-2024/
#Thunderbird #Development #Exchange #Rust #Snap
Thunderbird Monthly Development Digest: February 2024
In this month's Development Digest, Alex shares exciting news about Thunderbird Sync, Exchange support, and the Thunderbird Snap on Linux.Alessandro Castellani (The Thunderbird Blog)
Hi there,
Been seeing that repo with claims that the memory safety guarantees in #rust can be easily circumvented without using unsafe, but I lack the time/energy to look into it in detail. Any rust user has a comment on it?
🚀 Exciting News! 🚀
We're consolidating our cryptographic libraries with Rust! 🦀
With a unified crypto library, we simplify development, speed up deployment, and ensure consistent security measures across all clients.
This milestone marks a significant step in our journey.
Join us in celebrating this achievement, and looking forward to even more exciting developments ahead! 🎉
https://element.io/blog/meet-element-r-our-new-unified-crypto-implementation/
#Element #Rust #Security #ElementX
Meet Element R: our new unified crypto implementation
We’ve created a common cryptographic library implementation in Rust - codenamed Element R - for all our Element clients.Archie W (Element Blog)
In the past few weeks, I spent a bit of time on a set of #OpenPGP hobby projects around #rpgp (https://github.com/rpgp/rpgp/). Today I'm happy to announce:
rsop v0.1.0 (https://crates.io/crates/rsop), an early stage "stateless OpenPGP" tool based on rpgp.
Relatedly, I also released rpgpie 🦀️🔐🥧 v0.0.1 (https://crates.io/crates/rpgpie), an experimental high level OpenPGP API based on rpgp (rsop is built on top of rpgpie).
GitHub - rpgp/rpgp: Pure rust implementation of OpenPGP
Pure rust implementation of OpenPGP. Contribute to rpgp/rpgp development by creating an account on GitHub.GitHub
News from the machine room: the pure #rust end-to-end encryption engine, "rpgp", saw quite some work and a new release in recent weeks and now @hko released a higher level "rpgpie" interface for application developers ( see https://fosstodon.org/@hko/111997998005869515 ) which also powers running the IETF #OpenPGP #interoperability test suite quite successfully .... Delta Chat's security-audited encryption engine is in fact used from several other projects and in other contexts these days and we are happy about it!
Hm...I'm getting the impression that #Rust is increasingly met with a refusal by some people (it's an almost _hateful_ attitude sometimes).
I wonder why. Of course there are a lot of layers to it, but one is definitely that Rust has gotten a lot more exposure to people and so there are just a lot more potential `match`es that lead to Err(()) and that's Ok(()) (sorry, pun intended).
But I wonder, if there's more to it than what meets the eye (feeling excluded/alienated/left behind?).
🦀 Thunderbird Making Progress With Adopting Rust Code
— Phoronix
"Thunderbird developers have been using Rust for overhauling the mail client's Microsoft Exchange support. Rust is proving useful for replacing a lot of old, unmaintained code within Thunderbird. The hope is that with the Rust transition they'll be replacing a lot of old and delicate code paths and improving the overall architecture."
https://www.phoronix.com/news/Thunderbird-Rust-2024
#thunderbird #rust #opensource
Thunderbird Making Progress With Adopting Rust Code
Earlier this month at FOSDEM in Brussels was a presentation by developers Brendan Abolivier, Ikey Doherty, and Sean Burke on the Thunderbird mail client beginning to make use of the Rust programming language within its codebase.www.phoronix.com
Rustifying libipuz: character sets - https://viruta.org/rustifying-libipuz-charset.html
Rustificar libipuz: conjuntos de caracteres - https://viruta.org/rustifying-libipuz-charset-es.html
A couple of month ago, I opened an issue suggesting a new Clippy lint for rust. (Recommending against using try_into() when into() is available.
Someone implemented it and it recently reached stable with 1.76, I'm surprised at how many times this lint triggered in our codebases 😅.
I guess that means that this lint is useful!
https://github.com/rust-lang/rust-clippy/issues/11577
new lint: `unnecessary_faillible_conversion` · Issue #11577 · rust-lang/rust-clippy
What it does This lint would warn against using try_into from the TryInto or TryFrom trait when there is an available Into or From implementation. Advantage Remove the need for handling an error ca...GitHub
Got back to some of my personal projects (#Godot #rust #astronomy ) and am now stress free and looking forward for whatever comes next!
The Rust Foundation is hiring an Infrastructure Engineer to work on... well, shockingly enough, Rust infrastructure.
A fringe benefit is that you get to work closely with @jdno. He's great! (You also get to work less closely with me; YMMV on that one.)
Details: https://foundation.rust-lang.org/careers/ (make sure you click through to the actual vacancy, since it includes a bunch more detail on the specific position)
Rust Infrastructure Engineer
The Rust Foundation was formed in 2021 as an independent, non-profit organization to serve as a steward of the Rust programming language and its users, maintainers, and enterprise advocates.app.beapplied.com
#Workbench has been added to the showcase on gjs.guide, the #GJS documentation site!
https://gjs.guide/showcase/#workbench
We want newcomers to know there's over 100 API demos in JavaScript, alongside implementations in Python, Rust and Vala.
Get started with #GNOME in #JavaScript or #Python, and you'll have an expressive platform to learn #Vala and #Rust!
#RustConf videos have been posted! Check out my talk among others.
https://www.youtube.com/watch?v=MTnIexTt9Dk&list=PL85XCvVPmGQgR1aCC-b0xx7sidGfopjCj
RIM - Pneuma Solutions
At Pneuma Solutions we provide a seamless bridge between assistive technology and mission critical applications. Our line of products was built with stability…Pneuma Solutions
Thundertalk Alert! ⚡ 🎙️
At 17:10, @brendan and Sean Burke will be giving their talk on going from rot to Rust in the Rust devroom at FOSDEM (H.1308 Rolin) 🦀
If you can't scuttle over, you can watch the stream (https://live.fosdem.org/watch/h1308) or watch and chat (https://chat.fosdem.org/#/room/#2024-h.1308_rolin_:fosdem.org)