News for hackers. Stuff that matters.
Re:Making Rust as Fast as Go by rhinoceraptor on Sunday May 03, 2020 @12:19PM (#23059943)
Go’s pathological NIH syndrome does come with downsides. For example, there was an infamous memory corruption bug in the way they called into vDSO.
Re:Making Rust as Fast as Go by adev_ on Sunday May 03, 2020 @12:31PM (#23060033)
> Go’s pathological NIH syndrome does come with downsides.

Yes. And you can add the inability to use the glibc's nss modules under Linux.

Making it unable to use sssd properly and authenticate a posix user on a machine with LDAP authentication.

Getting completely independent from OS sys lib has consequences

Re:Making Rust as Fast as Go by alecthomas on Sunday May 03, 2020 @07:08PM (#23062644)
This is not accurate. [1]

When compiled on Linux for Linux, Go will use libc and natively call NSS.

When cross-compiling to Linux from another system, Go requires (mostly) CGO to be disabled and a subset of NSS will be implemented in Go. Native NSS modules will not work.

[1] https://github.com/golang/go/issues/24083