---
title: "loops just changed forever!"
url: https://daily.dev/posts/loops-just-changed-forever--19tvf6p9a
source_url: https://www.youtube.com/watch?v=thE4K7GcI2I
type: video:youtube
source: "YouTube"
published: 2026-05-24T06:37:29.761Z
updated: 2026-05-24T06:37:49.361Z
tags: ["rust", "zig", "language-design"]
reading_time: 6
upvotes: 35
comments: 7
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.

# loops just changed forever!

**[YouTube](https://daily.dev/sources/youtube)** · 6 min read · 35 upvotes · 7 comments

## Summary

A walkthrough of how loop constructs have evolved across programming languages since C in 1972, covering C++, Python, Rust, and Zig. The author then introduces loop syntax for 'Mine', a custom programming language they are building, featuring a dedicated loop keyword for infinite loops, a while loop that rejects 'while true' at compile time, and a flexible for loop supporting ranges, arrays, and custom iterators with no C-style three-part syntax.

## Full article

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

## Community discussion

Top comments from developers on daily.dev.

**@byteoutlaw** · 3 upvotes

> If you can just watch one short video today, this is it. ;)

**@whlsk34** · 2 upvotes

> What is it with all these fireship-style clones? Get your own style. I'm ready to not-watch in protest of trying to trick people.

**@theace92** · 0 upvotes

> Yey! another language!!!

**@arlangalvez21** · 0 upvotes

> In 6 mins, you got what you got. Lots of expectations, mutable values,  memory allocation control, and failover? garbage collector? You are relying on a lot of things that the old programming languages already solved.

## Similar posts on daily.dev

- [Structured iteration](https://daily.dev/posts/structured-iteration-0qdbtyri7) · Andrzej's C\+\+ blog · 0 upvotes · 0 comments
- [Structured iteration](https://daily.dev/posts/structured-iteration-hri4jxsmi) · C\+\+ · 3 upvotes · 1 comments

---

Tags: [#rust](https://daily.dev/tags/rust), [#zig](https://daily.dev/tags/zig), [#language-design](https://daily.dev/tags/language-design)

[View this post on daily.dev](https://daily.dev/posts/loops-just-changed-forever--19tvf6p9a)
