Alloth's Avatar
Alloth
Member since

Recent Activity

Shared Memory Consistency From Scratch Part 1: Causality is now out. This is the first part in a series on shared memory consistency where I develop the ideas from the ground up by designing the (hypothetical) hardware, and then introducing atomic instructions that can give the programmer control over ordering of memory operations. Instead of abstract rules, you'll get to see exactly what the hardware does for each operation. Fair warning: It's a long and dense read!

View original message on Discord

Didn't have time to finish my advanced rotation article for SoME4 so I wrapped up and submitted an entry on polynomial and integer division instead: https://allthoughts.me/blog/numbers-base-x-part-1/
It expands upon basic ideas you learn in school and might be an interesting read for the maths-curious.

View original message on Discord

Updated my old article on sine and cosine computation with sections on measurement and complex numbers: https://allthoughts.me/blog/handmade-maths-cosine-and-sine/.

Along the way I develop many of the fundamental ideas behind 2D rotation with as few dependencies as I could get away with (proper treatment would be book-length). A secondary goal is to point out connections to related subjects for curious readers who want to explore more. It may not be an easy read depending on your background, but it can easily be adapted for the needs of high school students. The section on complex numbers is my answer to the question: "If you think introducing the imaginary unit as the square root of -1 is not ideal, what would be a better alternative?"

View original message on Discord

&foo will be an address relative to whatever the stack pointer points to when the function is called

View original message on Discord