Planckforth is a #smallisbeautiful #bootstrapping #Forth bootstrapped from a handwritten 1KB ELF binary. #source-code
on 02021-01-15#source-code to turn off #USB #hardware power by sending a command to the hub, if it supports it.
on 02017-08-22#DSSIM #graphics #compression #psychovisual image quality assessment algorithm #source-code.
on 02017-08-06#SSIMULACRA #graphics #compression #psychovisual image quality assessment algorithm #source-code. It’s based on DSSIM.
on 02017-08-06Ken Boak’s #SIMPL #source-code for the MSP430 #microcontroller; I think this is the 780-byte version. The source is only 811 lines of #asm. #smallisbeautiful
on 02017-07-11#6502 #asm #source-code for Prince of Persia, one of the all-time great #video-games, one of the first to feature rotoscoped motion, and Linus Torvalds’s favorite game around the time he wrote Linux. This is the original Apple II version, rather than the better known IBM PC version, published by its author Jordan Mechner in 2012 after being recovered by Jason Scott and Tony Diaz. “As the author and copyright holder of this source code, I personally have no problem with anyone studying it, modifying it, attempting to run it, etc. Please understand that this does NOT constitute a grant of rights of any kind in Prince of Persia...”
on 02017-03-30an #ebook with #source-code on #Kalman-filters. With exercises, in IPython/Jupyter. #DSP
on 02016-11-21#Neural-networks style transfer from paintings to photos on #GPGPU. Super interesting #art. Built on TensorFlow. Includes #source-code, but not open-source: “Free for research/noncommercial use”.
on 02016-11-21The #Minoca operating system #source-code repo.
on 02016-11-21library for hooking up PS/2 keyboard #hardware to an #Arduino, using a couple of pins on PORTD and interrupt 0; it’s about 40 or 45 lines of #source-code
on 02016-10-19The #Zig systems programming language #source-code.
on 02016-09-23#source-code for a new #post-quantum #crypto implementation: an embedded-optimized ARM assembly implementation of NewHope key exchange, an algorithm using the NTT (Number-Theoretical Transform), with #performance of under 2M clock cycles on the Cortex-M0. By Erdem Alkim, Philipp Jakubeit, and Peter Schwabe.
on 02016-08-03#source-code by #Detheroc for "msdfgen", which renders #fonts using a multi-channel #SDF to get sharp corners. #graphics
on 02016-08-03#hashing #source-code for the identityHashCode function has several possible methods for hashing, some of which use the object’s current address. Since Java uses a copying collector, it then has to save the hash value into the object’s header so that it won’t change when the object is moved.
on 02016-08-03The #source-code of #Java HashMap, used for most #hashing in Java; now uses tree bins instead of randomization to prevent #HashDoS #security problems
on 02016-08-03