Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login



sort by: page size:

Also worth looking at is false.c, which is considerably shorter: http://git.savannah.gnu.org/cgit/coreutils.git/tree/src/fals...


For the sake of completeness musl libc also does this.

https://git.musl-libc.org/cgit/musl/tree/src/misc/wordexp.c#...


This reminds me of cgit[1], but the UI seems even simpler.

[1] - https://git.zx2c4.com/cgit/about/









I find this code pleasantly readable.

How about this one? http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob;f...


And for a third example, Busybox's implementation:

https://git.busybox.net/busybox/tree/coreutils/yes.c


That's what this demo code project is about:

https://git.zx2c4.com/seedrng/tree/seedrng.c

https://git.zx2c4.com/seedrng/about/

https://twitter.com/EdgeSecurity/status/1509002499507818500

It's trying to do the seed file thing the "right way", and be portable enough that init systems can just copy and paste this where it fits.


Or for a SQL database with Git versioning semantics:

https://github.com/dolthub/dolt



Perhaps this is what you are looking for:

https://github.com/ruby/ruby/blob/master/doc/yjit/yjit.md



next

Legal | privacy