sigmoid.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A social space for people researching, working with, or just interested in AI!

Server stats:

609
active users

#rust

154 posts131 participants0 posts today

Variadic Generics ideas that won't work for #Rust - by Olivier Faure (aka poignardazur)

poignardazur.github.io//2025/0

"After years of design discussion, we’re finally at a stage where variadic generics are reaching the top of the triage pile. Serious discussion and initial work is, hopefully, about to start. I’m hoping this article helps us not get dragged down in litigating the same alternatives over and over again."

Me, when I see variadic generics: 🤯

PoignardAzur · Variadic Generics ideas that won’t work for RustA long-running interest of mine is how we could add variadic generics to the Rust programming language.

Howdy Rust folks! At Apollo we're looking to hire several senior Rust engineers to work on the Apollo Router. We're a fun bunch and entirely remote, with these roles being either in the UK or US East. If working on high performance infrastructure is your thing and you'd like some details then let me know and I can do my best to answer your questions 😄

The main repo for the router is here: github.com/apollographql/route

But there are a number of related projects as well, including github.com/apollographql/apoll which is particularly interesting (in my opinion!)

Continued thread

One of the cleanups is fixing my super lazy error handling, I'd appreciate any #rust experts to send me good articles on how best to structure errors—just use "anyhow" and go ~fully dynamic, or have a different enum case for every failure mode? Or something in between?

"No, the compiler message about mismatched syntax is right because we have redefined the word 'syntax' in a sprawling Zulip thread.

"PS stop complaining about the message wording in this ticket [which is the one about the message wording].

"PPS I have locked this issue because too many people are making the same mistake as you. Go and discuss it in Zulip instead."

This is not the #Rust devs that I know and love :-/.

github.com/rust-lang/rust/issu

Exciting to see the first #Rust code running on #CHERIoT! Edoardo has rebased the Kent work on a newer rustc and added the CHERIoT bits so we can now add two integers together in Rust!

Probably other things work too. The core library compiles, but not much of it is tested. Cross-compartment calls aren’t possible yet and the alloc crate needs implementing wrapping our shared heap (there’s also a fun project at UBC to replace our allocator with a formally verified one in Rust, but it’s not there yet and, of course, depends on Rust working).