Today, I would like to discuss a project that I care very deeply about: the musl libc. One of the most controversial and long-standing debates in the musl community is that musl does not define a preprocessor macro. What’s in a macro? Simply put, preprocessor macros allow C code to build parts of itself conditionally. … Continue reading The musl preprocessor debate
FreeBSD
Clearing confusion regarding modern PowerPC endianness
I am having to correct, with alarming regularity, confusion regarding the endianness of modern PowerPC and POWER chips. This article is going to answer a lot of those questions, with facts and citations. What endianness are modern PowerPC / POWER CPUs, including POWER9?Fact: All POWER Architecture processors since POWER3 support both big and little endian … Continue reading Clearing confusion regarding modern PowerPC endianness
The Joys of Unix Programming: MAP_ANON(YMOUS)
I was trying to do a little late-night hacking last night on SuperGameHerm, the Game Boy emulator my friends and I are writing, and I hit an error in the memory mapper. Specifically, certain OSes that used to be named after cats don't like calling mmap on /dev/zero (neither does Android). I thought it was … Continue reading The Joys of Unix Programming: MAP_ANON(YMOUS)
FreeBSD on Apple MacBook Pro 8,2: Epilogue.
Why I left FreeBSD.