Skip to main content

Search

Items tagged with: rust


Some useful types for database-using Rust web apps by @antifuchs https://boinkor.net/2024/04/some-useful-types-for-database-using-rust-web-apps/ #RustLang #Rust


I think it is worth for #hyper and the #rust ecosystem to work as #curl backend but not other way around. The only reason for curl to support hyper is to validate that the backend api is flexible enough and to have another "validator" for such interface. But probably it is one of those piece of code that maintainers are happy to push to third parties 😅


#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


Achievement unlocked: actually getting to write some #Rust for a #Firefox project, and not a side-project!


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


I am working on a GTK/#Relm4 password manager already 😎
But it is a client for #BitWarden/#VaultWarden only.
You want to build a local one?

#GTK #Rust #rustlang #GNOME #Linux #Ubuntu #Linux #Fedora #OpenSUSE #Debian


Are you experienced with GTK and Rust ? :gnome: ❤️ :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 :boost_love:

#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

#Thunderbird #Exchange #Rust


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

#rust #rustlang #diesel


If you are also wondering why #Rust binaries are so huge, you can minify their size, but be careful of course: https://github.com/johnthagen/min-sized-rust #RustLang


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 :rust: and #Python :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 :boost_ok: 🦀 :rust: :rustcrab:

Please boost to your rustlang bubbles.


Coding Matrix in Rust | 2023-03-14


Coding our Matrix bot in Rust. This time:

  • Finished !greet, making sure it only affects this room
  • Started on a schema upgrade for the arnie plugin, so we can have multiple personalities

Next time:

  • More work on allowing multiple people, so we can !arnie !person !add and make a new one


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.

#rust #embedded


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.

#Rust #Rustlang


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.

#rust #rustlang


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

https://floss.social/@gstreamer/112041532645538483

#GStreamer #RustLang #Rust


📢 GStreamer 1.24 is out - a new major feature release of your favourite multimedia framework! 🕺🏼💃🏼🎉

Check out the release notes for details of all the exciting new features and improvements we have been working on:

https://gstreamer.freedesktop.org/releases/1.24/

Enjoy!

📦 Binary packages for Windows, macOS, iOS and Android are now available at https://gstreamer.freedesktop.org/download/

#GStreamer #Release #opensource #FreeSoftware #Multimedia



Ok does anyone have a rec on #Rust learning materials for the incorrigibly object oriented? Like how those concepts map or do not map onto Rust before I spent all my lifetime failing to learn this language lol
#rust


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


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


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


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?

#rust


🚀 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


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).

#PGP #Rust #rustlang


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!


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).

#PGP #Rust #rustlang



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?).

#RustLang


🦀 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


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

#rust #rustlang #clippy


Been so busy and happy that forgot to make it public till now: last November, I quit my job at Microsoft after the last reorg which sent me away from my xamarin friends and my career goals. Spent 2 months relaxing and recently started on a contract work while I wait for a great opportunity (OSS-related) or the lottery, so that I can retire 😝
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 #RustFoundation #jobs


Regular reminder that if a #rust compiler error isn't clear, we consider that a bug. File a ticket! Worst case scenario it gets closed as a duplicate. Second worst it takes us a long time to get to them. But I assure you I've read every single open A-diagnostics ticket at least twice.
#rust


#rust question: When is it still a good idea to use parking_lot rather than the standard library's Mutex, RwLock, and so on? My understanding is that parking_lot became much less necessary when Rust 1.62.0 introduced thinner, faster mutexes on Linux, and 1.63.0 made the constructors const. And if one only has a small number of mutexes, I suppose the overhead of the parking lot would dominate. Has anyone written a post in the past year or so weighing the pros and cons?
#rust


#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!

https://welcome.gnome.org/


@mixxx I see several topics about #Rust on Zulip. Is it theorical or there is an ongoing work to port the engine to Rust? I'd be very interested in working on this although I don't have any prior experience in sound development or C++ and Rust is still very new to me.


My company, @pneumasolutions, is looking for a developer to work for us on a contract basis, to enhance the screen capture and mouse input implementations in our remote desktop product (https://pneumasolutions.com/products/rim/). This project will involve #rust, #webrtc, native Windows and macOS APIs, and integration with an existing Electron app. A more detailed high-level spec is available to qualified candidates. Please email employment@pneumasolutions.com if you're interested and available.


Sudo rewrite sudo in #rust - just received this postcard at #FOSDEM.


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)

#Thunderbird #FOSDEM #Rust