Vectorized CLZ and CTZ(purplesyringa.moe)
47 points by zX41ZdbW | 5 comments
Blog post on purplesyringa explaining how to implement vectorized count-leading-zeros and count-trailing-zeros using floating-point tricks.
47 points by zX41ZdbW | 5 comments
Blog post on purplesyringa explaining how to implement vectorized count-leading-zeros and count-trailing-zeros using floating-point tricks.
243 points by pngmangi | 21 comments
Blog post examining the x86 FMA instruction vfmaddrnd231pd, which performs fused multiply-add with per-instruction rounding control.
454 points by vgel | 142 comments
Blog post by vgel describing the design and architecture of a small C compiler written in about 500 lines of Python.
58 points by ibobev | 12 comments
Blog post arguing that float arithmetic should be handled by reacting to results (NaN/inf) rather than the preventive checks used for integer overflow in C and Rust.
52 points by ibobev | 30 comments
A blog post exploring when adding decimal numbers as IEEE double-precision floats produces rounding errors and when the results come out exact.
546 points by fagnerbrack | 213 comments
A blog post arguing that many so-called abstractions in codebases are merely layers of indirection that add complexity and hurt performance without real value.
422 points by Anon84 | 149 comments
A Substack primer by Abhinav Upadhyay explaining GPU architecture and computing concepts for software developers familiar mainly with CPUs.
329 points by fanf2 | 114 comments
Blog post by a former WinDbg developer describing odd x86/amd64 trivia learned while writing the CPU emulator for Microsoft's Time Travel Debugging.