XIO

xWire

Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.

The Rust Programming Language Forum - Latest posts

Latest posts

Tokio-tun goes multi-platform (FreeBSD, macOS, iOS, Android) + Linux GSO/GRO offload support on the road to v1.0

For those unfamiliar, tokio-tun provides asynchronous bindings for allocating and working with TUN/TAP devices directly within Tokio's event loop. I’d like to share a major update that dramatically expands platform reach and performance, marking a significant milestone as the crate matures toward its v1.0 release. What’s New? 1. Cross-Platform Expansion: FreeBSD, macOS, iOS, and Android tokio-tun is no longer Linux-only. You can now build unified, cross-platform networking tools and VPN clients…

How to optimise compiler performance with very macro-heavy code?

Compiling the proc macros with release optimisations may make them a bit faster (rust compiles them with debug optimisations by default) # this only affects the dev profile, # you'll need to change it if you use other profiles. [profile.dev.build-override] opt-level = 3 (see We had fast proc macros all the time, or had we? for details)

Efficient Arc

I have an application that passes around a lot of Arc<dyn Whatever>, and many of the traits have do-nothing or default implementations on a zero-sized type that can be used in a lot of cases. Unfortunately, Arc<T>::new allocates heap memory even when T is zero-sized and doesn't need Drop. Before I go making my own, is there a common crate that can optimize the construction of real std::Arcs for these kinds of ZSTs so I don't have to suffer a heap allocation for each one?

RAVET 0.1.0: audio plug-ins and standalone apps in Rust

Hi all, RAVET 0.1.0 is out. It's a framework for writing audio plug-ins and standalone audio apps in Rust. You write the processor and editor once, and it builds them as VST3, CLAP, LV2, Audio Unit and AAX plug-ins on macOS, Windows and Linux (AU on macOS only, and no AAX on Linux). To try it: git clone --branch v0.1.0 https://github.com/mo0kid/ravet cd ravet python3 scripts/bundle-clap.py --plugin delay That builds the example delay as a CLAP plug-in. The getting started guide covers using…

Options for slop filters

mroth: In my opinion, these so-called “signals” (in this thread) aren’t signals at all. A lot of regular updates? Either the software is buggy as hell or adapting constantly to changing requirements. Project has no "CI"? Maybe the original author use a simple git hook or shell script. A particular software is widely used? A well-known, non-open-source operating system out-performs a popular open-source one? And so on, and so on. I think one example of what used to be an honest signal is tests.…

Options for slop filters

workingjubilee: What they said is what they said: the usage of these agents can create signs that, due to the cost of human effort, were once honest signals. In my opinion, these so-called “signals” (in this thread) aren’t signals at all. A lot of regular updates? Either the software is buggy as hell or adapting constantly to changing requirements. Project has no "CI"? Maybe the original author use a simple git hook or shell script. A particular software is widely used? A well-known,…

Do you use rust for bioinformatics ? Share your story with us at FOSDEM 2027

Hi fellow rustaceans, If you are using Rust for bioinformatics, we have a dedicated dev room for bioinformatics at Fosdem next January ! It's the second year in a row and last year had a lot of interesting talks (no rust involved unfortunately). All the relevant information is here: Call for Participation: 2nd Bioinformatics and Computational Biology Developer Room at FOSDEM 2027 | fosdem-bioinformatics Don't hesitate to PM me for more information. Alexis

How to optimise compiler performance with very macro-heavy code?

You could try using nightly and adding -Zcache-proc-macros to your RUSTFLAGS. This is supposed to cache the result of proc macros, which will avoid the compiler re-executing them and will save doing a bunch of useless work. Unfortunately I believe this is currenly implemented only for derive proc macros, so it might bring huge speed ups to Dioxus code (which I believe uses statement proc macros rather than derive proc macros).

Options for slop filters

The way I read it, you’re saying AI agents only produce low-quality work, and that a result can only be high quality (however that’s defined) when humans put a lot of manual effort into it. That is not what they said. You are attempting to misread them in a way that seems to be intentionally trying to misconstrue them or otherwise pick a fight. What they said is what they said: the usage of these agents can create signs that, due to the cost of human effort, were once honest signals. These are…

Views on learning other languages instead of Rust

In general, reasoning that is conventionally accepted in C code, but is undefined or at least "implementation-defined" according to the C Standard, is far more likely to actually blow your foot off when you do the same thing with Rust code. For instance, consider the extremely long warning on mem::transmute about transmuting pointers. It is habit, in C code, to just say "pointers are funny integers" and gleefully ignore this kind of reasoning. C compilers will try to squirm around you doing…

Options for slop filters

mroth: So if software gets updated all the time, doesn’t that just mean it’s full of bugs? The Steam client appears to perform near-daily background updates. As for yt-dlp, it sustains a high release cadence in order to adapt to the frequently shifting anti-scraping mechanisms employed by YouTube and similar platforms. mroth: The way I read it, you’re saying AI agents only produce low-quality work, and that a result can only be high quality (however that’s defined) when humans put a lot of…

What's everyone working on this week (45/2026)?

Creating a development framework It is not web framework, but just framework, for developing high performance app in Rust It is Rust no_std + custom high performance focused standard library Currently consist of : high performance allocators (big virtual address arena and double ended variant, general purpose allocator) ergonomic high performance error handling, small size enum SSO String (pointer to rodata for initial value, the pointer points to heap only if the value grow dynamically, same…

How to optimise compiler performance with very macro-heavy code?

When you alter code that contains macros, the macros need to be re-processed in order to be sure that their output (e.g. generated impl blocks) are up to date. What you see for those couple of seconds is the kind of thing that would happen all the time if such re-processing didn't happen. The only thing is, running a macro can take an arbitrary amount of time. So bottom line: if you want up to date information in your IDE there's no getting around the fact that those macros need to be…

How to Parse Dates from Markdown Front Matter in Rust

proRust: I’m not sure if there’s another structure that would work for me, or if I should change the format of how the date is written in my Markdown document. I believe the simplest approach would be to do both: First of all, if the frontmatter date field contains just a date (year, month, and day of month, no time of day), then DateTime is the wrong type to use, as it's meant for a combination of date, time of day, and timezone. chrono's NaiveDate appears to be the best type for what you're…

Options for slop filters

tornewuff: Now, though, LLMs are very good at producing the appearance of high effort without a human actually having to expend that effort. The way I read it, you’re saying AI agents only produce low-quality work, and that a result can only be high quality (however that’s defined) when humans put a lot of manual effort into it. But that’s wrong. Quality is measured by the end result. Sure, you can look at how something was built. How long did it take? What resources were used? What impact did…

Options for slop filters

hoelzeli: Even for a separate site besides crates.io? And how would someone proof that there are no alternative ways? I cannot think of any (which is the reason why I opened this thread), but that does probably not mean that there are none I think doing nothing seems to be working fine enough at the moment? Yes there are problems with discovery, but AI content is not impeding people from using non-AI content and can be ignored. For instance, some very popular crates that have interested me use…

How to optimise compiler performance with very macro-heavy code?

I use the Dioxus framework (https://dioxuslabs.com/) for a web front-end, but rust-analyzer and my compiler seem to struggle noticeably with the macros. i.e. deleting a single line of unused code takes several seconds to update, meanwhile the diagnostic stays visible. Does anyone have experience with this kind of problems here? I would be very glad about some recommendations