3 ms·
I just want to observe libc != glibc there have been and continue to be diverse libc. Maybe I missed if zig on BSD is faster without native non-gnu (possibly le
by ggm 2y ago
I just want to observe libc != glibc there have been and continue to be diverse libc. Maybe I missed if zig on BSD is faster without native non-gnu (possibly less or non-portable) libc. It may well be. They tested on asahi Linux.
- AndyKelley 2y agoHello! This is my devlog entry. I've been testing on Linux 6.12.3 AMD Ryzen 9 7950X 16-Core Processor, against this glibc: libc.so.6 => /nix/store/nqb2ns2d1lahnd5ncwmn6k84qfd7vx2k-glibc-2.40-36/lib/libc.so.6 (0x00007fb4dbd62000)
- ggm 2y agoMassively different syscall api in BSD so probably another mountain of work to do zig independent of bsd libc
- AndyKelley 2y agoI've been looking forward to doing that work, actually. Originally it was my impression that for instance FreeBSD required libc as the stable syscall ABI, however David Chisnall informed me that in fact, the syscall ABI is stable! That's great news as far as I'm concerned because it's quite handy for cross-compilation and static executable distribution.
- ggm 2y agoGreat! Have fun, blog it. Would love to read.