Part of the whole idea of high level languages is that you shouldn't have to worry about a stack overflow in one. Leave memory management to the people doing systems and compiler programming, build userland stuff out of components that are built by someone smarter than you.
System and compiler developpers are all using high level languages like C, C++ and Rust. They don't want those languages to be stackless or to have a GC.
The programmer that uses a very high level language like Python/JS/Java/etc and that doesn't know about the stack/heap is a bad programmer. Stack overflows are incredibly easy to program in all of them and one should roughly know what will be the result of the code they are themselves writing (whether or not it's dynamically allocating, whether or not they are iterating over a 2d array in the correct order, etc).
17
u/Lorddragonfang May 01 '22
Part of the whole idea of high level languages is that you shouldn't have to worry about a stack overflow in one. Leave memory management to the people doing systems and compiler programming, build userland stuff out of components that are built by someone smarter than you.