Sobeston / zig.guide

Repo for https://zig.guide content. Get up to speed with Zig quickly.
https://zig.guide
MIT License
688 stars 178 forks source link

Default GPA in examples instead of page_allocator? #240

Open kommander opened 5 months ago

kommander commented 5 months ago

Hey, I was wondering why I didn't get any leak errors when I explicitly leaked something when working through the examples, even though the docs suggested so. I asked on ziggit.dev and now I am wondering if the examples should maybe use the GPA so people get started with it instead of the explicit page,_allocator?