3 ms·
Crinkler, the compressing linker, is really interesting. This link inadvertently shows the file_id.diz for Crinkler rather than anything relevant to the rest of
by adzm 4y ago
Crinkler, the compressing linker, is really interesting. This link inadvertently shows the file_id.diz for Crinkler rather than anything relevant to the rest of Elevated; but honestly I always found the Crinkler stuff to be fascinating.
The project lives on today: https://github.com/runestubbe/Crinkler https://github.com/runestubbe/Crinkler and http://crinkler.net/ http://crinkler.net/
- ddtaylor 4y agoDo you know if anyone has a good write up of some of the advanced techniques crinkler uses? I started reading the manual.txt file but it's pretty big!
- djmips 4y agoThis is a write up. https://in4k.github.io/wiki/crinkler https://in4k.github.io/wiki/crinkler And some more info from 2005 seminars. (search for crinkler) https://files.scene.org/browse/parties/2005/assembly05/seminars/ https://files.scene.org/browse/parties/2005/assembly05/semin...
- brodo 4y agoIt is a very impressive pice of technology. The crazy part is the decompressor. It is ~200 bytes of handwritten x86 assembler, tuned for code smallness over 15 years. If you go to the release page, you see every time the shaved one or two bytes of of it. It’s also interesting how compression is done. They do only care about output size, not compression time. So it is possible that you just wrote a couple of KB of GLSL and the compressor takes 12 hours to squeeze that into your 4k demo.