Stop being cringe and adopt the same stack size as everyone else. Oh my god. What on earth are you saving?
Understanding thread stack sizes and how Alpine is different
31–40 of 81 posts
Re: Understanding thread stack sizes and how Alpine is different
#32Re: Understanding thread stack sizes and how Alpine is different
#33I remember reading about arguments over whether Algol should permit recursive procedures, where one side of the argument was apparently claiming that they wouldn't be possible to implement. That seems pretty strange to modern ears, but maybe the underlying point was that it isn't possible to statically know how much stack size would be required. I suppose it wouldn't have been obvious then that if you fudge the issue…
I remember reading that the call stack was invented as an implementation device for recursion as introduced in Algol, but I can’t recall how that claim was sourced.
Re: Understanding thread stack sizes and how Alpine is different
#34And so the mountain must come to Mohamed. Increase Alpine's default stack size to something more in-line with the big boys.
Re: Understanding thread stack sizes and how Alpine is different
#35Re: Understanding thread stack sizes and how Alpine is different
#36By your own table, OpenBSD uses 512 KiB unless you're on an ancient version. Among the listed, Alpine is the lone outlier.
Re: Understanding thread stack sizes and how Alpine is different
#37Stop being cringe and adopt the same stack size as everyone else. Oh my god. What on earth are you saving?
IMO: it's nice to have weird platforms. I've caught lurking UDB and memory corruption in my programs by trying to run them on weird OSes.
Re: Understanding thread stack sizes and how Alpine is different
#38This is one of the reasons why I'm no longer using Alpine as a base in Docker images. I ran into this limit specifically with node-sass. But in general, the difference in image size is negligible because of shared layers, and I just don't think enough testing happens on Alpine / musl in any given stack. Even if your app runtime is tested this way, how many dependencies are? Come to think of it, I'm not even sure why…
Re: Understanding thread stack sizes and how Alpine is different
#39Yeah, it sucks that programs crash on your system, but this is the way of things: The popular systems get targeted and tested in-depth, the less popular systems not so much. This is NOT the developer's fault; this is pragmatism . And so the mountain must come to Mohamed. Increase Alpine's default stack size to something more in-line with the big boys.
Re: Understanding thread stack sizes and how Alpine is different
#40Earlier quoted context omitted.
IMO: it's nice to have weird platforms. I've caught lurking UDB and memory corruption in my programs by trying to run them on weird OSes.
There is no UDB or memory corruption exceeding the stack size. It means your platform is too small to run the program. Of course, Alpine doesn't run on platforms that are too small, they just make nonsensical changes like these that cause incompatibilities but have zero benefits.