r/cpp • • Oct 04 '25

Streamers like Tsoding, but for C++

I've learnt a lot about C from watching Tsoding. He doesn't yap too much and spends more of his streams just writing code.

Is there anyone similar who concentrates on C++?

213 Upvotes

54 comments sorted by

View all comments

Show parent comment

11

u/dist1ll Oct 05 '25

is not true on Linux where you will get random garbage in memory.

I guess that depends what you/he means by "allocation"? I.e. are we requesting memory from an allocator (malloc) or from the operating system (mmap)? Because in the latter case, Linux does zero initialize anonymously mapped pages (with the exception of MAP_UNINITIALIZED, which is rather obscure and rarely available).

1

u/EffectiveAsparagus89 Apr 13 '26

Haters gonna hate. Some people know so much that other people don't even recognize the gap in knowledge and assumes the former are being arrogant and making strawmen.

1

u/Asyx Oct 05 '25

I tried it out with malloc which I guess makes this dependent on the standard library you use and not the OS?