Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 and http://crinkler.net/



It 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.


Do 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!


This is a write up.

https://in4k.github.io/wiki/crinkler

And some more info from 2005 seminars. (search for crinkler)

https://files.scene.org/browse/parties/2005/assembly05/semin...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: