A neat XOR trick
Looking over the solutions mega-thread , it seems like not many people discovered this trick; when I posted about it , people found it to be noteworthy.
Visit mattkeeter.com → RSS feedOn Hacker News Mar 2021 – Apr 2026
Software Engineering 5Systems & Performance 4Networking & Internet 2Math & Algorithms 2Tools & Productivity 1Society, Policy & Culture 1
Looking over the solutions mega-thread , it seems like not many people discovered this trick; when I posted about it , people found it to be noteworthy.
I recently came up with a "clever" idea to eliminate one jump from an inner loop, and was surprised to find that it slowed things down. Allow me to explain my terrible error, so that you don't fall victim in the future.
In modern times, everyone knows that writing assembly is a fool's errand: compilers are the result of literal engineer-centuries of work, and they know the processor much better than you do.
Exploring tail-call-style interpreter implementation with an optimized Uxn emulator, on ARM, x86, and WebAssembly
Last summer, I published Raven , an independent implementation of the Uxn CPU and Varavara ordinator . In short, this is a fictional computer designed for cross-platform portability: programs targetting it can be run on any platform that implements the specification.