massentropy.

IDEAS
EXPERIMENTS
SMALL SYSTEMS

Mattias
Högnäs

Languages, games &
curious systems.

A SMALL SPACE OF THINGS I BUILD.

FIG. 01A STUDY IN GRAVITY
Interactive black-hole study.

Selected work

CURRENT
01 / LANGUAGE

Ashes

A pure functional language with a native compiler.

Immutable values, pattern matching and type inference. A full toolchain for turning expressions into native executables.

sum.ash ASHES / LISTS & RECURSION
import Ashes.IO as io

let recursive sum lst acc =
    match lst with
        | []        -> acc
        | x :: rest -> sum(rest)(acc + x)

in io.print(sum([1, 2, 3, 4, 5])(0))
OUTPUT15Recursion. Pattern matching. No loops.

EXAMPLE FROM THE ASHES README

02 / HOCKEY GAME

StickAndPuck

3D hockey game, stylized like 8bit.

Pick a club, chase the puck, and try to stay out of the box. A hockey game with exhibitions, seasons and arcade runs.

Actual StickAndPuck match screenshot from the game repository, Frölunda versus Djurgården
FRÖLUNDA × DJURGÅRDEN / IN-GAME CAPTURE

More experiments

CURIOSITIES
03 / SEARCH

Tails

Datadog search with LLM assistance. An indexing worker, API and CLI for exploring operational data.

Repository
04 / TERMINAL

Agility

A configurable terminal dashboard for active and static data, with a real-time interactive interface.

Repository
05 / AI ORCHESTRATION

Kennel

A playground for monitoring AI agents, real-time interaction, automation and data visualization.

Repository
06 / LOCAL AI

Fetch

A local terminal and TUI coding-agent harness, with semantic indexing, approval modes and optional LSP support.

Repository
07 / STILL EXPLORING

Experiments

Space for ideas that aren’t quite ready to leave the notebook.

SOME IDEAS
TAKE LONGER
TO ORBIT.

About

PERSONAL

The person behind
massentropy.

I’m Mattias Högnäs. I build software for a living and for fun.

This place however is my own personal space of exploring ideas and sharing what I make.

Language design / Game development / Curious systems

CURRENTLY EXPLORING

Ashes · StickAndPuck

Pencil portrait of Mattias Högnäs

Why massentropy?

Massentropy takes its name from the relationship between mass and black-hole entropy. I like the idea that a compact set of rules can produce something surprisingly complex. It’s part of what draws me to building software.

Notes on a black hole +

For a nonrotating, uncharged black hole, entropy is proportional to the area of its event horizon—and grows with the square of its mass.

S = 4πkBGM² / ℏc