High Definition Standard Definition
Video id : XmKVRSRFdcw
ImmersiveAmbientModecolor: #b8a897 (color 2)
Video Format : 298 (720p60) mp4 | h264 | 44100Hz | 1379685 bps
Audio Format: 140 (AUDIO_QUALITY_MEDIUM) m4a | aac | 44100hz | STEREO(2channels)
PokeEncryptID: ca14399bb90374080a6b5ff5f1d015690b6f56f30184ab813016dc380981013b976b1bf48d87d190736e11b7df534e4f
Proxy/Companion URL : woke-proxy.
Date : 1759723283907 - unknown on Apple WebKit
Mystery text?? : WG1LVlJTUkZkY3cgaSAgbG92ICB1IHdva2UtcHJveHkucG9rZXR1YmUuZnVu
143 : true
Zig's FixedBufferAllocator - Allocate without the heap #zig #ziglang
 60 FPS video
4,785 Views • 8 months ago • Click to toggle off description
open dyslexic mode

The std.heap.FixedBufferAllocator is an allocator that allocates memory into a fixed buffer and does not make any heap allocations. This is useful when heap usage is not wanted, for example, when writing a kernel. It may also be considered for performance reasons. It will give you the error OutOfMemory if it has run out of bytes.
Metadata And Engagement

Views : 4,785
Genre: Science & Technology
License: Standard YouTube License

Uploaded At 8 months ago ^^
warning: returnyoutubedislikes may not be accurate, this is just an estiment ehe :3
Rating : 4.931 (3/171 LTDR)

98.28% of the users lieked the video!!
1.72% of the users dislieked the video!!
User score: 97.42- Overwhelmingly Positive

RYD date created : 2025-09-27T15:56:40.392768Z
See in json

Connections

28 Comments

Top Comments of this video!! :3

@deckarep

6 months ago

The null-terminator is largely unnecessary unless you’re integrating with C code. Zig strings are generally just bounded by the size of the slice so your name would just use a size of four. Nice video!

15 | 0

@matheus699

8 months ago

Very nice! I've just started learning zig and it is such an interesting language, learned something new today, thanks!

7 | 1

@MrAdBounty

7 months ago

A bit confusing that you need to use std.heap but it's doesn't allocate in the heap.

But nice feature, I was able to speed up some file parsing by a factor of 10x

8 | 1

@jamen1993

3 months ago

What about the alignment of the buffer. Does the allocator respect alignment in some way if I need variables with different alignment requirements?

| 0

@guiyumin

5 months ago

but you did use std.heap, and it can alloc some memory space on stack ? that's confusing

1 | 1

@CoolestPossibleName-swp

4 months ago

The vscode situation is ridiculous. I'm gonna use vim.

1 | 4

@Nvimchad

8 months ago

sir how can I work with you like just for learning purposes I'm a newbie programmer done Lil bit full stack in mern , and now learning go

1 | 6

@mycollegeshirt

5 months ago

In real life I just do "Brad".* so i don't go insane.

1 | 1

@ryzh6544

7 months ago

причина тряски?

1 | 1

Go To Top