Goose Explained in 5 Minutes: Memory Safety Made Simple
Mohammad Ebrahimi
0:00 / 0:00
Goose Explained in 5 Minutes: Memory Safety Made Simple
12 035 просмотров · 6 дн. назад
Mohammad Ebrahimi
303 подписчика
12 035 просмотров · 6 дн. назад
Goose programming language explained in under 5 minutes. Learn how Goose uses data stacks, safe references, and compact layouts to manage memory without a garbage collector.
This visual introduction covers the Goose systems programming language by Wouter van Oortmerssen (aardappel). Follow a growing collection of game objects to understand stable storage, compiler-checked lifetimes, and how Goose programs compile and run.
IN THIS VIDEO
• Compiler-managed data stacks and scope-based cleanup
• Grow-only arrays and references that survive growth
• Lifetime checking without handwritten annotations
• Relative references and compact, variable-size data
• Goose syntax: let, var, and const
• Compilation, C interoperability, and language restrictions
CHAPTERS
00:00 What is Goose?
00:28 How memory works
01:23 Growing arrays and safe references
02:10 Compact data and relative references
02:51 Writing and running a Goose program
03:37 Rules, restrictions, and tradeoffs
04:27 Three key ideas to remember
OFFICIAL SOURCES
Goose language and documentation:
https://aardappel.github.io/goose/
Goose by example — official tutorial:
https://aardappel.github.io/goose/doc...
Language reference:
https://aardappel.github.io/goose/doc...
WATCH NEXT
Goose vs Rust: Is This New Language Really Faster?
• Goose vs Rust: Is This New Language Really...
Which Goose feature would you explore first: stable references, data stacks, or compact layouts? Tell me in the comments.
Subscribe for more clear, visual explanations of programming languages and how they work:
/ @m.ebrahimi12
#GooseLang #SystemsProgramming #MemorySafety