1024 bytes, not characters, is all programmers in the JS1k contest have to work with when creating demos of their HTML5 programming prowess. (For those of you used to measuring memory in gigabytes, that’s only enough bytes to describe about 0.3% of the pixels in an average laptop screen.) The results of the third annual JS1k contest are nothing short of fantastical. This year’s theme was the classic Apple II game Oregon Trail.
The winner, a physics simulator that puts you in control of the world’s longest, flexiest tapeworm, stretches the bounds of what seems possible in 1k of code – but that’s precisely the point. This challenge “tends to bring out the best in programmers,” says Martijn Laarman, lead developer at Dutch web development studio Poort80 and the creator of a piano rendered entirely with HTML5’s Canvas element. Laarman points out that JS1k is one of the many descendants of the “demo scene” that reached its apotheosis among certain geeks in the early 90’s.
If you were a nerdling with access to a BBS and a sufficiently powerful machine – a tricked-out 386 or, if you were lucky, a 486, Future Crew’s Second Reality demo was the ultimate demonstration of the power that could be squeezed from a PC when programming for it in low-level assembler.
Taking tenth in this year’s contest was an almost painfully clever take-off on the Geek comic of choice - XKCD. I won’t ruin it by trying to reproduce it here - go figure it out for yourself.
How AI is reinventing what computers are
Three key ways artificial intelligence is changing what it means to compute.
These weird virtual creatures evolve their bodies to solve problems
They show how intelligence and body plans are closely linked—and could unlock AI for robots.
A horrifying new AI app swaps women into porn videos with a click
Deepfake researchers have long feared the day this would arrive.
Surgeons have successfully tested a pig’s kidney in a human patient
The test, in a brain-dead patient, was very short but represents a milestone in the long quest to use animal organs in human transplants.
Get the latest updates from
MIT Technology Review
Discover special offers, top stories, upcoming events, and more.