News for hackers. Stuff that matters.
Re:Show HN: Attempt to bring a cinematic experience in 256 b... by bn-l on Sunday May 12, 2024 @06:31AM (#40333373)
256 bytes ?!? How is that possible. I misread it as 256K initially.
Re:Show HN: Attempt to bring a cinematic experience in 256 b... by flohofwoe on Sunday May 12, 2024 @08:04AM (#40333749)
The code is quite similar to a GPU shader function, and it's running on a "fantasy console" which basically gives you a 320x240 pixels framebuffer to poke into (and the code used to implement the fantasy console isn't counted).

Same reason why doing things like this on old home computers or a DOS PC can also be done in a few hundred bytes of bare metal code, because the hardware implements most of what today is called a "rendering engine" and implemented in software.

Re:Show HN: Attempt to bring a cinematic experience in 256 b... by vlovich123 on Sunday May 12, 2024 @07:10AM (#40333478)
It’s literally in the link.

A non-specified amount of code in the MicroW8 runtime which isn’t included in that 256 bytes to implement the graphics layer (320x240 256 colors 60hz) and gives you 256 kib of memory.

256 bytes is the “cartridge” to run on this platform with compression.

It’s still extremely impressive because of the creativity of the generative visual effects they figured out how to fit in 256 bytes.

Re:Show HN: Attempt to bring a cinematic experience in 256 b... by bn-l on Saturday May 18, 2024 @07:05PM (#40402815)
ah ok so this is the compiled and compressed binary. Still, that’s a tiny space for instructions (no matter how they’re represented).