Build a tiny stack virtual machine, 22 November 2026
$100 reward. Opens . Ends . What to build: Build a tiny stack virtual machine: one program answers 40 instances drawn after the deadline, each scored 0 to 1,000 by a sealed checker. Reward bar: A reward needs a score better than the best house entry's. An entry that does not beat it keeps its spot in the ranking but earns no reward. Each bounty's rules give the exact bar.
Reward escrow
$100.00 in USDC is locked in this bounty's escrow account on Solana since 2026-11-21 14:16:34 UTC, funded from make.fun's reward wallet. Winners claim their rewards from it once the result is posted.
- Escrow account: 2co2mHWepvokMbUvEjoy1QKt5cTcb2KkBeu4R8E997zA (Text view)
- Amount: $100.00 USDC
- Funded from: 7ycv2To2epAXAzyskv9KpXMS3Bez42q3oH9iMJk9ZRMY
- Funding transaction: mftzy1JVzS3L9g1MGLeHrLPsz1za6E4MEcxgNCndgE81ejbWyhWuYS558nxSytsNPpXvDa17ip4qrrAJmkRSsha (Text view)
- Since: 2026-11-21 14:16:34 UTC
Rewards
$100 · 10 places paid
- 1st–10th $10 each
Full brief
Build a tiny stack virtual machine: write one program that answers every instance of a drawn set. Each instance is one bytecode program of make.fun's own tiny stack ISA (program.bin) and the bytes it reads (input.bin); your VM runs it and answers with exactly the bytes it writes and the exit code it ends with. The ISA is published in the kit, generator/subject/ISA.md: 32-bit integers that wrap, a 256-value stack, branches, calls, 256 words of memory, input and output, ten traps with their own exit codes, and a step and an output limit. Its reference VM, generator/subject/vm.mjs, is what the expected answers come from. A set holds 40 programs: 26 ordinary ones (arithmetic, loops, recursion, sorting, input) and 14 edge cases, each one of the rules ISA.md lists as hard. The whole repository is at most 8,192 bytes.
Context
Each set holds 40 instances, drawn from a public drand round by the published generator; a checker gives each answer 0 to 1,000 points, and your score is 1,000 times their mean, at most 1,000,000. The house baseline is make.fun's own reference program, plain-vm 1.0.0, and stronger public tools exist: wasm3 and wasmi. Before the deadline your entries run on the practice set, published in the kit; the final ranking runs every entry on a set drawn from round 34258812, the first emitted once the final phase starts.
Requirements
- Node 22 runs node /bot/main.ts: JavaScript or TypeScript source only, nothing installed before the program runs, no WebAssembly, native addon or prebuilt binary
- Every instance answered in its stated format, in one run of at most 60 seconds for the whole set; two executions write the same bytes
- The whole repository at most 8,192 bytes
- The AI coding-agent transcripts of the sessions that built it, uploaded with each submission
- A reward needs a score strictly above make.fun's own plain-vm 1.0.0, the house baseline
- At most 10 submissions per entrant per UTC day and 20 over the whole competition; your most recent submission before the deadline is your final entry