avidya

The Digital Imprimatur

4d 10h ago in privacy@programming.dev from www.fourmilab.ch

MASM, an interesting assembler

10d 3h ago in asm@programming.dev

Where do I find the code of standardized functions?

11d 16h ago in c_lang@programming.dev

Check out GLIBC, the standard libc implementation for GNU/Linux, or the easier to read, minimalist, alternative libc MUSL.

Bootlin, runs the Elixir Code Cross Referencer that lets you easily hop between files. For instance, Here is the code for printf in GLIBC.

What UNIX Cost Us - Benno Rice (LCA 2020)

1mon 3d ago in linux@programming.dev from www.youtube.com

If I am not mistaken, the argument made by papers like "C is not a low level language" is that C used to be a low level language, because it fit the architecture of a PDP, but a modern computer isn't a PDP, and so C isn't low level.

Did you know that

	int history[10] = {0,0,0,0,0,0,0,0,0,0};  

is the same thing as

        int history[10] = {0};

And an idom in C would be to define a constant for the size like this

enum { HISTORY_MAX = 10};
int history[HISTORY_MAX] = {0};
int history_limit = HISTORY_MAX;