Re:Zig self hosted compiler is now capable of building itself
by _3u10 on Saturday April 16, 2022 @09:53PM
(#31057745)
Stacks are a fixed size. Unless you are running out of stack space there is no point in “freeing” memory from the stack. Where in the stack the stack pointer points has no bearing on stack size for any OS I’m aware of.
I’m assuming by string you mean a stack allocated array of char and not a std::string.
I’m assuming by string you mean a stack allocated array of char and not a std::string.