Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I learn the insane art of 4K democoding? [closed]

Tags:

demoscene

I love the demoscene a lot, especially those small 4K exefiles. They don't have any dependencies except for the files already found in windows and they exhibit the awesome power of programming: 3D graphics + sound, all in 4K.

How is this possible? What's the language they are using? What are the tools of trade, best practices and important websites?

like image 478
George Avatar asked May 13 '09 16:05

George


2 Answers

In the meantime I have found a great website dealing with 4K coding:

IN4K

like image 110
George Avatar answered Sep 26 '22 05:09

George


compression algorithms obviously feature heavily, as do short mechanisms for indexing large amounts of data and a deep knowledge of the available libraries on the target system. (That stuff can just be linked in.)

If I were you, I'd start by reverse-engineering your favourite 4k demos; perhaps starting with ones from 7-10 years ago, and working forwards to follow the state of the art as it progresses. Analysing your compiler's output is a good place to start, too, though they tend to optimize for speed rather than for space.

Techniques for embedded programming may also be helpful, given the constraints they operate under regularly.

like image 20
Dan Davies Brackett Avatar answered Sep 26 '22 05:09

Dan Davies Brackett