Re:Go 1.16 will make system calls through Libc on OpenBSD
by lxgr on Wednesday February 03, 2021 @03:49AM
(#26011827)
Definitely, iSH does the same thing on iOS and it works really well.
But I don't see why we can't have both (a stable syscall interface and requiring all syscalls to go through a standard library).
Re:Go 1.16 will make system calls through Libc on OpenBSD
by masklinn on Wednesday February 03, 2021 @10:40AM
(#26014595)
> But I don't see why we can't have both (a stable syscall interface and requiring all syscalls to go through a standard library).
What's the point of having a stable syscall interface when you can require that only libc perform syscalls?
OTOH Linux having a well defined set of syscalls you can very convincingly fake being a Linux kernel. That’s what wsl1 did. That’s also what SmartOS does, which allows it to mix native and Linux (LX) zones.