Skip to content
TILens What matters today in tech v0.4.0
Theme
Topics - Languages
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

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

Thirteen years of blogging

Thirteen years later! Thirteen years ago today, I created this blog on WordPress.com because I wanted to share some best practices I discovered while developing various web and enterprise applications with both Java and .NET. Prior to LLMs and AI…

vlad-mihalcea

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

Python Insider: Python Language Summit 2026

The 2026 Python Language Summit was hosted in Kraków, Poland as part of EuroPython 2026. There were 15 talks covering free-threading, Rust, garbage collection, type annotations, and more.

planet-python

A __replace_item__ protocol to complement __replace__

copy.replace() was introduced to centralize operations that create a copy of an object while replacing selected fields. Could Python benefit from a similar copy.replace_item() function for sequences and mappings? This would provide a shared…

discuss-python-ideas

Lists that keep track of their reversal

Summary of a small discussion on how to track, at type level, whether a list is constructed forwards or backwards. It remains to be seen whether this will be useful in everyday life, but the proposal is driven by a specific issue.

ocaml-planet

1769 items available