News for hackers. Stuff that matters.
Re:Go 1.16 will make system calls through Libc on OpenBSD by tuxychandru on Tuesday February 02, 2021 @12:54PM (#26004213)
This will mean a virtual memory allocation of 800 GB. Such large allocations can fail, even if virtual, depending on over commit settings.
Re:Go 1.16 will make system calls through Libc on OpenBSD by masklinn on Tuesday February 02, 2021 @01:52PM (#26004955)
> Such large allocations can fail, even if virtual, depending on over commit settings.

Given how Go has no issue being prescriptive as hell on other things, I don't see why they couldn't just go "set vm. overcommit_memory to 1 and fuck off", that's exactly what e.g. Redis tells you.

Re:Go 1.16 will make system calls through Libc on OpenBSD by pjmlp on Tuesday February 02, 2021 @02:55PM (#26005739)
Because that is very OS specific.
Re:Go 1.16 will make system calls through Libc on OpenBSD by masklinn on Tuesday February 02, 2021 @03:39PM (#26006308)
AFAIK BSDs don't have a concept of overcommit because you can't even turn it off.

And again it would hardly be the first time Go makes OS-specific decisions.