Renews.
← IT

Developers Showcase Minimalist Code and Tiny Language Implementations

A collection of recent discussions highlights various programming projects that achieve significant functionality within extremely small code sizes.

IT·1 source
Photo: Boskampi / Pixabay

Philippe Brochard created a Forth implementation that is 46 bytes in size. Forth is described as a small language where the only syntactical construct is the space character. Justine Tunney demonstrated that a LISP with garbage collection can be as small as 436 bytes. Arthur Whitney wrote an array-based language interpreter fragment on the AT&T 3B1 computer in one afternoon. This fragment consists of 122 lines of C code.

William Byrd gave a talk titled 'The Most Beautiful Program Ever Written' about a Lisp interpreter written in Lisp. The talk was transcribed by Alberto Zaccagni. Alex Alejandre shared a link to a transcript of a Geo Carncross talk describing an operating system called kOS. Frank Force created a 3D browser game that fits in 2Kb of JavaScript source. Martin Kleppe's website aem1k.com contains programs that can be run right in the browser.

The demoscene offers computer programs going back to the 1980s. The Lua programming language core is covered in a book version that is 27 pages long. David Ungar gave a talk titled 'Self and Self: Whys and Wherefores' discussing the mistake of Self's multiple inheritance. David Ungar and Smith co-created the Self language. The Ramda functional programming library for JavaScript was described as being like learning a new programming language.

Sources

Every sentence of this story was checked against facts quoted from these articles. How we make the news

Spotted an error? Tell us

Sign in

Keep the stories you like in your favorites.

Forgot your password?

No account?