XIO

xWire

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

The Rust Programming Language Forum - Latest topics

Latest topics

Twilight-cas (v0.1.0): my own uv-style CAS and zero-privilege link cascade

Hi everyone, I just published twilight-cas (0.1.0, Apache-2.0), a small filesystem crate I wrote while building an open-source Minecraft launcher in Rust. Why I built this: I made it just for TwilightMC, so you have to tweak it as you did with GPUI to make GPUI-CE, but that problem might be resolved in the future. And this was made since I want uv-style global deduplication for large game assets/mods (and potentially local AI models or other large artifacts), without requiring Administrator…

Relativedelta 0.4: date rules as values, like Python's dateutil

I've just released relativedelta 0.4. It brings Python's dateutil.relativedelta to Rust: a RelativeDelta is a value that sets some fields of a date and shifts others, so rules like "the 1st of next month", "the last day of March" or "the last Friday of the month" become data you can build, store, and apply to any date. use jiff::civil::date; use relativedelta::{RelativeDelta, Weekday}; // The last Friday of the month: go to the 1st, add a month, step back a day, // then move back to a Friday.…

BOB Conference 2027 (Berlin, Feb 26) - Call for Participation

"What happens when we use what's best for a change?" bobkonf.de/2027/ Berlin, Feb 26 BOB conference is a place for developers, architects, and decision-makers to explore technologies beyond the mainstream in software development and to find the best tools available to software developers today. Our goal is for all participants of BOB to return home with new insights that enable them to improve their own software development experience. Program The program features 16 talks and 8 tutorials on…

Releasing RSSN v0.3.0 and Aevia v0.1.0 with a major architecture shift

Hello Rustaceans! Christmas is coming and 2026 is coming to an end. And we are finally releasing RSSN v0.3.0 and Aevia v0.1.0, which we promised back in February to release before May... But it turned out to be really hard to make the architecture shift, and coordinating with upstream projects and other communities also took time. But anyway, we are here again, releasing them in December 2026. Let me introduce what we have been working on. This is more of a starting point for discussion than a…

My claude made Rust GUI library on top of GPUI

I thought js UI framework like electron is too heavy and have too much packages to manage, so I have decided to use AI to just build it all in Rust. So far I think it has reached working similar as shadcn...? here is the work so far Repository hyuskui/ui GitHub - hyuskui/ui: Copy-and-own components for GPUI Copy-and-own components for GPUI and documentation hyuskui/ui hyuskui/ui - Native components for GPUI Well-designed components for GPUI, the GPU-accelerated Rust UI framework. Copy them into…

How're you parsing dates?

I'm writing a program that needs to parse dates written by humans who don't necessarily follow any particular standard, the way date from GNU coreutils can understand nearly anything. There's a crate that does exactly this, called dtparse, but its git repo hasn't been touched in two years and it also depends on chrono which has been marked unmaintained recommending jiff or time crates as replacements. Both of those crates offer built-in ways to parse date strings that are in a known format, but…

Cairnflow: a durable execution engine in Rust whose only state is an S3 bucket

Hi everyone, I'd like to share Cairnflow, a durable execution engine written in Rust. Its one constraint shapes everything else: nodes hold no state. Every byte — journals, timers, queues, the range table itself — lives in an S3-compatible bucket, and the only coordination primitive is the store's conditional PUT. There is no Raft, no etcd, no Postgres to run beside it. Kill a node with kill -9, start another one anywhere with the same bucket URI, and every invocation continues from its last…

Rill – Exploring Rust-powered infrastructure for Graph Machine Learning

Hey everyone! I've been working on an open-source project called Rill, and I'd love to get some feedback from the Rust community. GitHub: GitHub - Joy-Majumder/Rill: Rust-backed neighbor sampling for PyTorch. · GitHub PyPI: rill-gnn · PyPI What is Rill? Rill is an attempt to build Rust-powered infrastructure for Graph Machine Learning (Graph ML). The initial focus is graph data loading and neighbor sampling for Graph Neural Network (GNN) workloads. When working with GNNs, data processing can…

Spi3derr CLI based 3D editor / workshop

early phase of a CLI based 3D editor / workshop cargo install spi3derr I am very happy for any test. help: /help commands: / The basic key is: Tab = select a next target. T = target under cursor, ESC = lost target. space = stop movement. w = forward s = backward a = left, left turn , s right, right turn r = up, up turn, f = down, down turn. q = edit model under cursor, or create a box and edit detailed post on dev.to: DEV Community cargo install spi3derr cargo install spi3derr Enter fullscreen…

Tracy's flamegraph is missing the sampling option

Previously when I used tracy's flamegraph window I could select between instrumentation (the timing of entire spans) and sampling (the timing of individual functions), the second option suddenly disappeared for some reason, how do i get it back? I use tracing-tracy and tracy 1.13.1 incase it makes a difference. My tracing profile: [profile.trace] inherits = "release" debug = "full" [profile.trace.package."*"] debug = "full" The tracy initialisation code: use…

What's actually hard about migrating C++ to Rust?

Has anyone here tried migrating a C++ codebase to Rust? I'm curious about how you dealt with subtle changes in behavior during the migration. I've been experimenting with C++ to safe Rust translation lately, and the more I work on it, the more I feel like syntax is the easy part. Things like undefined behavior, integer overflow, and iteration order are much more interesting (and painful), especially when the translated code compiles and runs but gives slightly different results. One approach…

How can I avoid create an object every single time I running a program?

I'm new in Rust and I'm working on simple CLI program, so I have a problem. The problem is I create a new object every single time when I run a program but I want to load from JSON. I don't know how to implement it because another part of my code using this object to manipulate with others things in program. This is the part of my main file: fn main() { let mut new_user = Profile::new(); loop { println!("=== MENU ==="); println!("1 - show profile"); println!("2 - add hours"); println!("3 -…

I'm building roadmaps to learn new topics in Rust

Dear Rust community, I've been writing Rust since version 1.5x, when I heard of it for the first time. For the past couple of years, I've wanted to combine my two biggest passions, Rust and teaching, but I've always been too busy (and lazy, probably?) for that. After years of learning and receiving from the Rust community, I finally had the courage and confidence to build https://iamjose.dev to give the Rust community a little something back. My idea is simple: instead of reaching for…

Alignment change on grow/shrink

Hey, I'm currently implementing a bump allocator to learn about the Allocator trait. The documentation for grow and shrink states: Note that new_layout.align() need not be the same as old_layout.align(). My intuition was that these functions are used by container types when the number of elements changes. In these cases the alignment will stay the same, or am I missing something? Are there other common usages of the grow/shrink where the alignment does changes? 2 posts - 2 participants Read…

Different lifetimes in struct impl and trait impl

I've defined this simple struct for a lexer: struct Lexer<'a> { source: &'a [u8], pos: usize, } For convenience, I've implemented std::ops::Index so that I can write lexer[begin..end] instead of lexer.source[begin..end]: use std::ops::{Index, Range}; impl<'a> Index<Range<usize>> for Lexer<'a> { type Output = [u8]; fn index(&self, index: Range<usize>) -> &'a [u8] { &self.source[index] } } However, now I have the problem that the following function does not compile because there is a lifetime…

New Open source project - any feedback will be appreciated

Hey all, First time posting here so be gentle I created a library in rust as an exercise to deepen my rust knowledge and understanding. shrewd-rs The library is a byte packing lib for Vec<i64> - a usecase that i have found myself time and time again implementing in different workplaces (trying to minimize the memory footprint of a Vec<i64> before writing to disk / sending it to network) - so this (beyond being an educational project) has practical use cases. As such - i tried to make it as…

Avoid unecesary copy for recursive from_fn evaluation

Hello, in the following code, it seems y.clone() is unecessary because foo allocate its result completly, why is it disallow ? mwe : const N: usize = 10; fn foo(x:&[f64])->Vec<f64> { x.to_vec() } fn main() { let mut y = vec![0.0;N]; let res:[Vec<f64>;N] = from_fn(|n|{ y = foo(&y); y.clone() }); println!("{:?}",res) } One way to avoid this is let y = vec![0.0;N]; let mut res:[Vec<f64>;N] = from_fn(|_|{ Vec::<f64>::new() }); res[0] = foo(&y); for i in 1..N { res[i] = foo(&res[i - 1]); }…

Introducing Halcyon, a GPU-accelerated UI framework for Rust

Hello everyone, I'd like to introduce Halcyon, an open-source UI framework for Rust. Halcyon is a cross-patform, retained-mode UI framework built on wgpu. It is designed bot both, regular desktop applications and applications requiring specialized rendering, like complex data visualization, and interactive graphics. The framework includes a rich set of widgets, advanced data views, timelines, node graphs, custom GPU rendering, and integrated 2.5D and 3D rendering with physically based rendering…

[Show & Tell] MacroMag OS – A Zero-GNU Linux distribution powered by a Rust PID 1 object-oriented shell (VOS) & custom package manager (MUR) for x86_64 & ARM64

Hi everyone! Over the past month, I’ve been building MacroMag OS — a Linux distribution that replaces the legacy GNU userland and traditional text-based shells with a cohesive, memory-safe userspace written from scratch in Rust. Instead of building just another standalone CLI tool or a Debian derivative, my goal was to design an integrated operating system where init (PID 1), shell execution, sandboxing, and package management share a unified, strongly-typed architecture. Core Architecture VOS…

The last day of the sale v1.0.0

Hi folks! Most of my last time I'm was busy by working on my own projects. I'm was training in OpenGL , but for the training in OpenGL I was prefers to use C++ But it's the different story , and we are not about it now We are about the project which I developed in Rust The previous post about my project in Rust is here: The last day of the sale (a game) announcements I was be inspired by other game that I can remind was be existed in the examples of Game Maker 8 And I was want to "restore"…

Can images linked from README.md be shown on crates.io/docs.rs?

I would like to show some figures (benchmark plots) in my crate's README. Most VCS forges nowadays support this (you "just" put an image reference in your Markdown with a relative URL, and that refers to an image file in your source tree) but crates.io and docs.rs don't pick up those images. For example, compare https://codeberg.org/zwol/logorrhea to https://crates.io/crates/logorrhea. Is there any way to get crates.io and docs.rs to pick up the images? Failing that, is there a recommended way…

[ANN] Curvine: a distributed POSIX file system and cache over object storage, written in Rust

Hi everyone, I'd like to share Curvine, an open-source distributed file system written in Rust. It is Apache-2.0 licensed and is a CNCF sandbox project. GitHub: GitHub - CurvineIO/curvine: AI-native, cloud-native file system in Rust. Full POSIX on object storage with a multi-tier distributed cache, for AI training, inference, and agents. CNCF Sandbox project. · GitHub Docs: Curvine Documentation - Curvine What it does Object storage such as S3 is cheap and durable, but many workloads (ML…

[ANN] FashionCraft 0.2.1 – 3D garment design app (egui + wgpu, GPU cloth simulation)

FashionCraft is an open-source (MIT) desktop app for designing clothes in 3D, built with eframe/egui for the UI and wgpu for rendering and a GPU cloth solver that keeps up with an animated body. 0.2 added DXF-AAMA/ASTM pattern exchange, an MCP server and a new interface; 0.2.1 adds a faster simulation, grading with points of measure, a GPU path tracer and a UV editor. Built with Claude as a coding assistant, on top of the ClothCraft fork. Feedback on the egui side is very welcome. GitHub -…

Feedback wanted: HookForge, a webhook delivery service (Tokio, Axum, SQLx, Postgres)

Hi all! I'm a backend developer (mostly Go and Node.js) and I recently built my first serious Rust project: HookForge, a webhook delivery service. Repo: GitHub - webdomain0126/hookforge: Reliable webhook delivery service in Rust: retries, HMAC signatures, Postgres queue · GitHub What it does: Apps register endpoints and send events through an Axum API Deliveries are stored in Postgres; 4 workers claim them with FOR UPDATE SKIP LOCKED Each delivery is signed with HMAC-SHA256 (timestamp + body)…

Ordet – an offline terminal word processor in Rust

I built Ordet, an offline terminal word processor in Rust inspired by WordStar and other classic DOS-era writing tools. Repository: GitHub - LeonardoAmadeo/Ordet: A local-first, distraction-free word processor for the terminal, written in Rust. · GitHub Instead of using Ratatui, it runs on a small custom TUI framework inside the workspace (ordet-tui-framework) with double-buffered cell diffing, coalesced ANSI output, a constraint layout solver, focus management, and a background task pool.…

Https://github.com/eisenzopf/rvoip Rvoip 0.5 the complete VoIP stack in Rust

voip 0.5 is out Use it to build a Voice AI platform, a SIP gateway, WebRTC server, PBX, SBC, SIP client, and may more use cases. See rvoip/examples at main · eisenzopf/rvoip · GitHub to get start rvoip is our open-source Rust SIP/VoIP stack, built for one workforce where humans and AI agents are both first-class callers. 0.5 is the first release gated on an RFC 7501/7502 SIP benchmark. On a single AWS c8i.4xlarge (16 vCPU), with zero failed calls at the measured rate: • 8,348 CPS, SIP over TLS,…

Is there a way to put delays between integration tests when running them sequentially?

The test suite I have to test my email sending and querying with an email API provider returns 429 too many requests when I run them one after the other in a short amount of time. Even when I run the tests with cargo test -- --test-threads = 1 to keep the requests synchronous. Ideally I would wait something like 5 seconds before running some of the tests. So I checked the book chapter Controlling How Tests Are Run but there's no option there and also Cargo Book Test section, but couldn't find…