···27272828 std.debug.print("a: {}, b: {}\n", .{ a, b.* });
2929}
3030+//
3131+// A look into the future:
3232+// When you allocate memory, you store the returned address in
3333+// a const var. The pointer itself never changes — it always
3434+// refers to the same allocation — but you can still read and
3535+// write the data it points to.
3636+//
3737+// Example:
3838+//
3939+// const buf = try allocator.alloc(u8, 1024);
4040+// buf[0] = 42; // fine: the *contents* are mutable
4141+//
4242+// Note:
4343+// Passing this pointer to a function is cheap: it's just an address
4444+// copied on the stack. The caller can work with the data without
4545+// needing to know where it came from or how it was allocated.