Post AksmkxDiRe024jbPOa by wolf480pl@mstdn.io
 (DIR) More posts by wolf480pl@mstdn.io
 (DIR) Post #AksmkwFS3hnH3pPHSi by ids1024@fosstodon.org
       2024-08-12T02:07:39Z
       
       0 likes, 0 repeats
       
       @mwk This is also my favorite part of POSIX, which I've been ranting about for years to anyone who will listen (and some who wont).Unix philosophy = do one thing; use (up to) one hash table.(More seriously: why? Does anyone use it? Was it *originally* more useful somehow?)
       
 (DIR) Post #AksmkxDiRe024jbPOa by wolf480pl@mstdn.io
       2024-08-12T06:33:05Z
       
       0 likes, 0 repeats
       
       @ids1024 @mwk looks like there is,some software that uses it:- mtr https://github.com/traviscross/mtr/blob/master/ui/asn.c#L338- openzfs https://github.com/openzfs/zfs/blob/master/cmd/zstream/zstream_decompress.c#L94- openrsync https://github.com/kristapsdz/openrsync/blob/master/flist.c#L1433
       
 (DIR) Post #AksmkyACwAmt08y7ZA by lanodan@queer.hacktivis.me
       2024-08-12T06:40:00.945982Z
       
       0 likes, 0 repeats
       
       @wolf480pl @ids1024 @mwk Even found one called hcreate in rustc: http://codesearch.debian.net/search?q=hcreate%28+package%3A%5CQrustc%5CE&literal=1
       
 (DIR) Post #AksnDcrtByzrLv45Ds by lanodan@queer.hacktivis.me
       2024-08-12T06:45:13.646135Z
       
       0 likes, 0 repeats
       
       @wolf480pl @ids1024 @mwk Also other than OpenBSD there is hcreate_r in Unixes which should allow for multiple hash tables.
       
 (DIR) Post #Akso3y3RfPMY7SQdFo by wolf480pl@mstdn.io
       2024-08-12T06:48:06Z
       
       0 likes, 0 repeats
       
       @lanodan @mwk @ids1024 yes but it's not standard, read other replies to the OP :P
       
 (DIR) Post #Akso3z6JmDFrMemRN2 by lanodan@queer.hacktivis.me
       2024-08-12T06:54:39.899140Z
       
       0 likes, 0 repeats
       
       @wolf480pl @mwk @ids1024 Yeah, that said POSIX is made by what Unixes have. And if it's in glibc, musl, FreeBSD, NetBSD, … only way it couldn't get into POSIX is if somehow it's got important implementation differences.Here's the bug tracker https://austingroupbugs.net/ :)