アリーナアロケータ
「アリーナアロケータ」を扱った4問。日付を開くと、その日のドリルがそのまま読めます。日付の横の動物は難易度で、ハリネズミ・孔雀・バイソン・クジラの順に重くなります。
- Zig / DEBUG · 2026-11-10 アリーナで作って返す ArenaAllocator, std.mem.Allocator, 一時領域, 解放済みの領域, 所有権, defer arena.deinit, use after free, temporary allocation
- Rust / WRITE · 2026-11-02 添字で指すアリーナの木 アリーナ, 添字で参照する木, インデックスベースの木, 可変借用, arena allocation, index-based tree, NodeId
- Rust / READ · 2026-11-02 アリーナに入れた値の破棄 Drop の順序, アリーナ, まとめて解放, 所有権の移動, 宣言の逆順, drop order, Vec drop order, arena allocation
- Rust / DEBUG · 2026-11-02 文の終わりまで残る借用 RefCell, 二重借用, 一時オブジェクトの寿命, BorrowMutError, already borrowed, temporary lifetime, arena allocation