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

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…

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

I am making UI library on top of GPUI. hyuskui/ui hyuskui/ui - Native components for GPUI Well-designed components for GPUI, the GPU-accelerated Rust UI framework. Copy them into your app and make them your own. feedbacks are welcome Repository hyuskui/ui GitHub - hyuskui/ui: Copy-and-own components for GPUI Copy-and-own components for GPUI

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…

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

Thanks, @Anlis! I'd like to simplify it, but PostgreSQL's UPDATE doesn't support LIMIT or ORDER BY. A plain UPDATE ... WHERE status = 'pending' would claim every ready job at once instead of one. The subquery is there to pick exactly one row (the oldest ready one), and once there's a subquery, SKIP LOCKED keeps workers from waiting on the same row. Good point on RETURNING: it returns the new value, and that's what I use.

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…

This language is not as advertised

This list mixes legitimate criticisms, overstatements, outdated claims, and subjective preferences. · “Not memory safe/type safe” is mostly false for safe Rust. Safe Rust prevents memory-safety bugs and data races in safe code; unsafe exists, and logic bugs/panics/deadlocks remain. No language promises “no major runtime faults.” · Maturity/optimizations: Rust is younger, but LLVM-based optimization is generally good. Compile times are a real weakness, especially with heavy generics/macros. ·…

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…

This language is not as advertised

conqp: ~> rustup target list | grep bsd aarch64-unknown-freebsd i686-unknown-freebsd x86_64-unknown-freebsd x86_64-unknown-netbsd ~> All of those targets are Tier 3. Which means they are untested, ergo, they will not be reliable. conqp: So you want decentralization, but everything in the standard library? This is the kind of baseless contrarianism that really irritates me about the Rust people, did I ever say "everything in the standard library"? The stdlib lacks things as fundamental as RNG…

This language is not as advertised

I'll take the rage bait. winner: It is not as decentralized as C++, all decisions come down to a very opinionated core team. winner: Incomplete or immature standard library relative to the claims - many basic things still require third-party crates, increasing the surface area for supply-chain risk. So you want decentralization, but everything in the standard library? winner: It's not memory safe, type safe, or free from major runtime faults, which is it's biggest selling point. The Rust…

This language is not as advertised

It's not memory safe, type safe, or free from major runtime faults, which is it's biggest selling point. It's not nearly as mature as C++, and lacks the optimizations that has been made to C++ compilers. It is not as decentralized as C++, all decisions come down to a very opinionated core team. Slow compile times. Restrictive, unintuitive borrow checker that encourages .clone() everywhere, leading to slow, allocation-heavy and non-performant code. Can't use custom allocators because "the…

Lifetime in Rust

Your question is very general and the topic is very broad, so it's hard to give a great reply. Below I given an outline of how borrow checking works, which is probably the most common lifetime-related hangup people have when learning Rust. If your question was more about how to use lifetimes in structs, traits, or function signatures, it may not help much. proRust: and what their main uses are The main role that Rust lifetimes ('a things) play is to enable the borrow checker to do its job. The…

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…

New Open source project - any feedback will be appreciated

Thanks for your feedback. This is presented in the First sub-section in the README.md (Is shrewd Right for You? section) - just bellow the initial short introductory paragraph. Can you perhaps explain more on what exactly you expect here? Are you suggesting to add data distribution examples to the README.md on when the byte packing is better and when its worse?

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

I've had success porting a (much smaller!) project to Rust in a similar way to the Fish blog's description. My main problem there was untangling all the static data that used. It's possible to share that between C++ and Rust, but incredibly ugly! That was a stand out of the more general issue of pulling out a clear and clean dependency tree of what you can port first easily; it's often a lot easier to first refactor the C++ to simplify the dependencies, especially interdependencies, before…

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

MASHMARO2718: Do you think this separation makes sense, or would the need to rethink the original design make it impractical anyway? So you mean automated translation, a transpiler. I'm not sure I see the point, to be honest. If it's a library, I'd definitely use the FFI approach, as others said. It'll avoid having to port the code and maintain two libraries separately. If the C++ library doesn't change any more, maybe you can translate it incrementally if there's time. If the idea is to fork…

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

webdomain0126: SKIP LOCKED: every statement runs in its own implicit transaction, so the row lock inside the subquery is real. Without SKIP LOCKED, two workers can pick the same row; one then waits and gets nothing. With it, each worker skips to a different row. Fair enough, but my main point was that this query probably might be simplified to just UPDATE without additional select, so you could also get rid of lock. The only caveat is that in this case RETURNING d.attempts will return updated…

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

Thanks again, @Anlis! Migrations: great point. I'll switch to sqlx::migrate!() so it runs only new migrations at startup. That also makes the release easier to set up. SKIP LOCKED: every statement runs in its own implicit transaction, so the row lock inside the subquery is real. Without SKIP LOCKED, two workers can pick the same row; one then waits and gets nothing. With it, each worker skips to a different row. Transactions vs lease: I chose the lease on purpose. Holding a transaction during…

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

Some more feedback: Migrations. Currently I don't see any migrations management. The problem is that if you run migrations 2 times it gonna fail because you already have tables/indexes/etc created. Usually you have some migrations manager which creates and manages another table which contains the records about applied migrations. This way if you add new migrations, it applies only new ones, skipping the already applied. Sqlx has it's own built-in migrations manager, see the docs. Claim next…

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?

For me it's entirely different metaprogramming model. Lack of if constexpr and requires means compile-time inspect-and-choose metaprogramming is more-or-less impossible. Instead you are forced to do all these things with macros and collection of marker traits… often there are simply no way to adopt what you have in C++ into Rust: static_assert can be replaced with const { assert!(…); } but if you try to replace if constexpr with if const { … } you often need a lot of creativity to ensuree that…