---
title: "Day 04 - Advent of Code 2025"
url: https://daily.dev/posts/day-04---advent-of-code-2025-htiumcyej
source_url: https://www.youtube.com/watch?v=6sQcSpcOflI
type: video:youtube
source: "chris biscardi"
published: 2026-05-31T07:48:52.768Z
updated: 2026-05-31T09:20:25.375Z
tags: ["rust"]
reading_time: 41
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Day 04 - Advent of Code 2025

**[chris biscardi](https://daily.dev/sources/chrisbiscardi)** · 41 min read · 0 upvotes · 0 comments

## Summary

A live coding walkthrough of Advent of Code 2025 Day 4 in Rust, covering grid-based puzzle solving using HashSets and IVec2 from the glam library. Part 1 finds paper rolls accessible by forklifts (fewer than 4 neighbors), Part 2 iteratively removes accessible rolls until none remain. The session also covers performance benchmarking with Criterion, parallelism via Rayon, and an extended deep-dive into profiling with Tracy — including setup, span instrumentation, flame graphs, and interpreting timing data for both debug and release builds.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=6sQcSpcOflI>

---

Tags: [#rust](https://daily.dev/tags/rust)

[View this post on daily.dev](https://daily.dev/posts/day-04---advent-of-code-2025-htiumcyej)
