v7unix
musl
v7unix | musl | |
---|---|---|
5 | 17 | |
78 | 170 | |
- | - | |
2.7 | 8.5 | |
almost 3 years ago | 29 days ago | |
C | C | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
v7unix
-
Realist thing I’ve ever seen
This is the source for grep. It's again only 1 file, and tiny. Only uses simple calls, etc. https://github.com/v7unix/v7unix/blob/master/v7/usr/src/cmd/grep.c
- Do you use a linter?
-
Implementing Cosine in C from Scratch
This takes me back in time, to c. 1982 when I got curious about how computers calculated trig functions. Luckily I was using one of the first OSS systems (modulo AT&T lawyers): Unix V7. So I pulled up the source and took a look. You can still see it here: https://github.com/v7unix/v7unix/blob/master/v7/usr/src/libm...
-
There Is No 'Printf'
It's what historic Unix did: https://github.com/v7unix/v7unix/blob/master/v7/usr/src/libc...
Why it did that? I'm not sure, but at the time C did not have 'void' functions: every function returned a value. They probably wanted to make the behavior of the stdlib functions deterministic, even if the return value was useless and undocumented.
-
what does (void*) -1 mean?
See the V7 Unix source for sbrk here.
musl
- musl/__cos.c at master · ifduyue/musl
-
Cosine Implementation in C
well OK, but figure this one out:
https://github.com/ifduyue/musl/blob/master/src/ctype/casema...
How do you regenerate it when the Unicode version changes?
-
What are some good C programs I can read through?
musl-libc
- How to create fundamental libraries for my language?
- Regex and gcc versions
- Implementing Cosine in C from Scratch
-
How do I find the actual code of C functions?
https://git.musl-libc.org/cgit/musl (musl, another open source implementation, I've heard this one has more readable code)
What are some alternatives?
pure-data - Pure Data - a free real-time computer music system
freebsd-src - The FreeBSD src tree publish-only repository. Experimenting with 'simple' pull requests....
wefx - Basic WASM graphics package to draw to an HTML Canvas using C. In the style of the gfx library
vectrig - Vectorized approximate trigonometry library optimized for GCC
scratch-www - Standalone web client for Scratch
supercollider - An audio server, programming language, and IDE for sound synthesis and algorithmic composition.
Libc
systemd - The systemd System and Service Manager
Quake - Quake GPL Source Release