r/tinycode • • Nov 30 '20

Flappy bird in 341 bytes

Thumbnail
gist.github.com
60 Upvotes

r/tinycode • • Nov 28 '20

tinyhttp — 0-legacy, tiny & fast web framework as a replacement of Express

Thumbnail
github.com
24 Upvotes

r/tinycode • • Nov 02 '20

Palanqin, an ARM Cortex M0 emulator for DOS in 3514 bytes

Thumbnail
github.com
30 Upvotes

r/tinycode • • Oct 30 '20

HiRes Real-time Ray-tracing in 1024 Bytes with Soundtrack - no GPU- no soundcard - just x86 ASM

Thumbnail
abaddon.hu
45 Upvotes

r/tinycode • • Oct 22 '20

Étude in C minor

Thumbnail zserge.com
35 Upvotes

r/tinycode • • Oct 19 '20

Dissecting a Dweet #9: City Sunset – Tiny JavaScript Analysis

Thumbnail
frankforce.com
30 Upvotes

r/tinycode • • Oct 15 '20

Nokia Composer in 512 bytes

Thumbnail zserge.com
38 Upvotes

r/tinycode • • Oct 12 '20

World smallest office suite

Thumbnail zserge.com
53 Upvotes

r/tinycode • • Oct 11 '20

512 byte JS intro: Raindrops in Emergency Light (NOTLICHT 2020)

Thumbnail
pouet.net
16 Upvotes

r/tinycode • • Oct 04 '20

Gespensterwald - 3D animation with ambient drone in 64 bytes of x86 code

Thumbnail
pouet.net
27 Upvotes

r/tinycode • • Oct 03 '20

RPN integer calculator in C, 353 bytes.

47 Upvotes

C source code:

#define U(o) E(o)s[p]=o s[p];
#define E(o) if(*#o==*v&#o[1]==v[1])
#define P(x) E(x)printf("%"#x"\n",s[p]);
#define F(o) E(o){s[p-1]=s[p-1]o s[p];p--;}
int f,s[9];char p,v[99],*e;main(){while(scanf
("%s",v)>0){f=strtol(v,&e,0);if(e-v)s[++p]=f;else
{F(+)F(-)F(/)F(*)F(%)F(&)F(<)F(>)F(|)F(^)F(<<)F(>>)
F(<=)F(>=)F(==)F(!=)F(&&)F(||)U(!)U(~)P(d)P(x)P(o)}}}

Supports the following binary C operators:

+ - / * % & < > | ^ << >> <= >= == != && || 

Supports the following unary C operators:

! ~

Supports printing the top of the stack in different bases:

d   print as decimal
x   print as hex
o   print as octal

Usage example:

./calc
111 222 * d
24642
0xf000 0x000f | x
f00f

r/tinycode • • Sep 25 '20

Smallest size for a blogging website (kb and lines of code)

9 Upvotes

Let's say I would like to create a blogging website. It could be made from scratch or it could any availabe open source software, both CMSes and static site generatators. What would be the lightest solution available? How small can codebase for such a website be (both in terms of size and lines of code)?


r/tinycode • • Sep 23 '20

Unit testing framework in 3 lines of C code

Thumbnail jera.com
33 Upvotes

r/tinycode • • Sep 21 '20

Kharon - An audio-visual trip to the underworld in only 256 bytes (w/ sourcecode)

28 Upvotes

Straight from the demoscene, hope you guys like it (more info, sourcecode and youtube-video at the link below)

https://www.pouet.net/prod.php?which=86939

This 256 byte MS-DOS intro is about the 5 stages of grief people experience.

It is named after Kharon. The ferryman of Hades who carries souls of the newly deceased across the river Styx that divided the world of the living from the world of the dead. This intro is represents a modernistic version of that trip to the underworld.

- Enjoy!


r/tinycode • • Sep 19 '20

Rainy window effect with sound in 32 bytes

Thumbnail
pouet.net
33 Upvotes

r/tinycode • • Sep 17 '20

1KB Javascript Sand game

Thumbnail js1k.com
25 Upvotes

r/tinycode • • Sep 13 '20

tiny "red" challenge - msdos

Thumbnail pouet.net
13 Upvotes

r/tinycode • • Sep 10 '20

"nightlife" - 64 bytes dos intro

56 Upvotes

Raycast impression of a city night with urban sounds in 64 bytes =)

Programmed in assembler, best executed in DosBox

Download&Comment

Youtube


r/tinycode • • Aug 31 '20

Generative Tiny Invaders (code in comments)

Post image
74 Upvotes

r/tinycode • • Aug 31 '20

A programming language that makes concurrent programs shorter

18 Upvotes

A friend and I created a programming language that looks like Typescript and makes distributed programs shorter and easier to reason about. Alan's compiler and runtime exploits opportunities for parallelization across the computing resources available without being told to do so.

https://alan-lang.org/


r/tinycode • • Aug 30 '20

Tiny Procedural Sprite Sheet Generator

Thumbnail
codepen.io
87 Upvotes

r/tinycode • • Aug 26 '20

Animated version of Andrew Kensler's business card sized ray tracer

49 Upvotes

r/tinycode • • Aug 16 '20

Welcome To OS13k – A Tiny Web Based OS and Game Engine

Thumbnail
github.com
27 Upvotes

r/tinycode • • Aug 16 '20

P5.js animation in 131 characters of code explained

Thumbnail
medium.com
3 Upvotes

r/tinycode • • Aug 15 '20

Introducing ZzFXM - A tiny JavaScript music system

Thumbnail
keithclark.github.io
46 Upvotes