Message from C, C++ discussions

December 2019

— Why is this not a benefit?
It's hard to predict how much time this system call consumes, hence dynamic allocation are not allowed on safe systems.

Additionally heap pages are more likely to be paged out and you might need to synchronize access to heap memory since it's a global resource. Also, you can't leak memory on the stack

Message permanent page


It isn't the benefit, that I wanted to know
I already understand it, so I wanted to know something new about stack array vs heap

— Hi.

— Hi

— Thanks.

— Char str[] = "Hello World";

printf("%c", str[0]); more simple 😂😂

— Can anyone decompile so files

— Android

— Yes one can

— I am

— Good

— 🤔hmm