The August 2022 issue of IEEE Spectrum is here!

Close bar

Get Your Interpreters Ready—This Year's BASIC 10-Liner Competition Is Open For Entries

Write a complete game using fewer characters than this blog post

2 min read
Feels Like a City was the 2020 winner in the "PUR-80" category.
Feels Like a City was the 2020 winner in the "PUR-80" category.
Image: RoePipi

Tired of slicing Python lists? Can’t face coding up another class in C++? Take break and try your hand at writing a little BASIC—very little, in fact, because the goal here is to write a game in just 10 lines!

The annual BASIC 10-Liner competition is now taking entries for the 2021 contest. Run almost every year by Gunnar Kanold since 2011, contestants must submit game programs written for any 8-bit home computer for which an emulator is available. Using the program to load a machine code payload is forbidden. 

Some of the entries in previous years have been nothing short of astounding, leveraging the abilities of classic computers like the the TRS-80, Commodore 64, and Atari 800. Back in 2019, IEEE Spectrum interviewed Kanold about the contest, and he gave some tips if you’re thinking about throwing your hat into the ring:

While some contestants are expert programmers who have written “special development tools to perfect their 10 Liners,” the contest is still accessible to neophytes: “The barriers to participation are low. Ten lines [is] a manageable project.” …  Kanold points to programing tutorials that can be found on YouTube or classic manuals [PDF] and textbooks that have been archived online. “But the best resource is the contest itself,” he says. “You can find the 10 Liners from the previous years on the home page, most of them with comprehensive descriptions. With these excellent breakdowns, you can learn how the code works.”

So take a look, download an emulator of your favorite machine (if you don’t already have a favorite, I’m partial to the BBC Micro myself) and start programming! This year’s deadline is 27 March, 2021.

Correction: A previous version of this article incorrectly referenced the Amiga 800, rather than the Atari 800 (or Amiga 600 or 1000 or any number of other models). 

The Conversation (0)

Quantum Error Correction: Time to Make It Work

If technologists can’t perfect it, quantum computers will never be big

13 min read
Quantum Error Correction: Time to Make It Work
Chad Hagen

Dates chiseled into an ancient tombstone have more in common with the data in your phone or laptop than you may realize. They both involve conventional, classical information, carried by hardware that is relatively immune to errors. The situation inside a quantum computer is far different: The information itself has its own idiosyncratic properties, and compared with standard digital microelectronics, state-of-the-art quantum-computer hardware is more than a billion trillion times as likely to suffer a fault. This tremendous susceptibility to errors is the single biggest problem holding back quantum computing from realizing its great promise.

Fortunately, an approach known as quantum error correction (QEC) can remedy this problem, at least in principle. A mature body of theory built up over the past quarter century now provides a solid theoretical foundation, and experimentalists have demonstrated dozens of proof-of-principle examples of QEC. But these experiments still have not reached the level of quality and sophistication needed to reduce the overall error rate in a system.

Keep Reading ↓Show less