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

Why do admonitions for `rustdoc` consist only of a warning block?

In AsciiDoc and GitHub's Markdown, admonitions (a.k.a. callouts or alerts) consist of five types (NOTE, TIP, IMPORTANT, CAUTION, and WARNING). Asciidoctor Docs AsciiDoc - Admonitions A documentation page for AsciiDoc. GitHub Docs Alerts - Basic…

rust-users-forum

Can someone explain to me how Rust's `Future` trait works?

I’m not sure why... but I find the poll method of the Future trait to be quite abstract State? Polling? Anonymous functions? Also, are we relying too heavily on the tokio crate.. 6 posts - 6 participants Read full topic

rust-users-forum

Intrusive data structure benefits over normal ones

hello, I am trying to understand intrusive data structure with this linked list example. I understand that for T to be an element of a single linked list it must store a pointer to next inside of T, and thus containing a list embedded inside T…

rust-users-forum

Nothing appears on screen except purple (The clear color)

main.rs: use std::sync::Arc; use bumpalo::Bump; use winit::{ application::ApplicationHandler, event::WindowEvent, event_loop::{ActiveEventLoop, ControlFlow, EventLoop}, window::{WindowAttributes, WindowId}, }; mod rendering; use rendering::*; mod…

rust-users-forum

Mdbook preprocessor: how to apply classes to markdown items?

I'd like to be able to put markdown items within a <div class=...> container, or just to tag them with custom classes. To achieve that, I'm trying to update mdbook-classy to mdbook 0.5.4, but I know little about how mdbook works internally. I've…

rust-users-forum

Correctness: casting via `strict_cast()` vs `as`

I'm looking for opinions and advice on the best way to cast "size of buffer" inputs required by ffi calls. given a function of the shape: pub unsafe fn DeviceIoControl( hdevice: HANDLE, dwiocontrolcode: u32, lpinbuffer: *const core::ffi::c_void,…

rust-users-forum

Shell command does not execute and I'm losing my mind

I've been writing a simple shutdown utility in Rust to gracefully close all open apps before running a final command and exiting: https://github.com/dastarruer/gtkshutdown. This final command is provided by the user. However, this final command…

rust-users-forum

Safe unions and error types

Currently there's some workarounds to deal with multiple error types other than creating a sum type, like dyn or anyhow. The idea here is to make the compiler generate this sum type and allow transparent construction and matching. union Error =…

rust-internals

Compiling V8 (d8 shell) to WASM

I've been trying to compile V8 to WASM, including a patch that provides binary I/O capabilities. So far I've been using the free Google Gemini on the Web to try to get the correct formula. 61 attempts so far. Build V8 d8 Shell to WASM (WASI Target)…

rust-users-forum

Understanding precise capture syntax and constraints

Hello , I'm trying to understand the new precise capture syntax. To my understanding it has been introduced to opt-out of the new all parameter capture behaviour - the new default with Edition 2024. When playing around with it I noticed a few things…

rust-users-forum

444 items available