Skip to content
TILens What matters today in tech v0.4.0
Theme
Topics - Rust
Calendar · NOV 2026
‹ Nov 2026 ›
  1. JAN
  2. FEB
  3. MAR
  1. APR
  2. MAY
  3. JUN
  1. JUL
  2. AUG
  3. SEP
  1. OCT
  2. NOV
  3. DEC
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Favorites (0)

Community stream

Community

Confused on the Rust Reference, about Visitem

According to the the reference, a VisItem consists of a Visibility (optional, such as pub) followed by, for example, an Implementation. However, pub is not permitted in front of impl. This seems to conflict with the reference. What is the reason for…

rust-users-forum

Trait with associated type with covariant lifetime parameter

trait SomeTrait { type AssociatedType<'a>; } fn shorten<'short, 'long: 'short, T: SomeTrait>(value: T::AssociatedType<'long>) -> T::AssociatedType<'short> { value } This doesn't compile, because the lifetime parameter of AssociatedType is invariant.…

rust-users-forum

How to think about deallocation when you have graph + slotmap?

I have some code that uses a tree of widgets stored in a slotmap. Well, it's technically a graph, not a tree, because I can walk up to parent: Option<WidgetId> or down to children: Vec<WidgetId>. These properties are stored in the map indexed by…

rust-users-forum

Pre-RFC: Anonymous Trait Impls

Hey there, I was just talking briefly in the Rust discord about ideas for an anonymous trait impl concept, here's what we have so far. Sample syntaxes actively in-debate: fn create_trait(id: u32) -> impl Trait { return impl trait { .. } return impl…

rust-internals

Where can I find developers to test a small Rust UI language?

Hi everyone, I’ve built a small programming language for UI development in Rust, but I’m not sure where to find developers who might be interested in trying it. I’ve mostly tested it on my own examples so far, including a landing page, an in-browser…

rust-users-forum

Internal and External Argument Labels

Hello, I have recently started to use Rust for backend development, before that I spent most of my time writing iOS apps with SwiftUI. What I liked most about Swift was how easy it makes it to write code that reads naturally. The feature that…

rust-internals

Dependencies for other (unused) platforms

When building an app for Linux (for example), I try to ignore/exclude dependencies that are specify to other targets (android, windows, wasm, ...). The goals are multiples: Reduce the risk of supply chain attacks Reduce the number of review with…

rust-users-forum

IPC alternatives in Rust

Over last days, I’ve considered many options to add Python, PHP and Rhai scripting support to my webserver project. Several alternatives to approach a solution for this came up at first, the #1 is over static linking, but I want this worker to be…

rust-users-forum

New keyword idea

(note this is my first new feature proposal feedback WOULD be appreciated) syntax $vis_quantifier wrapper $new_type_name wraps $type_it_wraps; purpose makes it easier to make a 'new type'. While this is a more basic example, in which this new…

rust-internals

444 items available