Mattias Ljungström @spacesofplay.com · 29/09/2026maybe convert to int anyways (like just x100 cast to int), that way you can be sure what's happening. then you can bitmask out 4 values. each get 8 bits in a 32-bit value. 100
Mattias Ljungström @spacesofplay.com · 29/09/2026as int/uint value I can see it works, as float there's like a million things that can go wrong cross-platform. 101
Reposted by Mattias Ljungströmhuck mason @tylerhuckabee.bsky.social · 28/09/2026bad news babe a rogue openai agent must have hacked our refrigerator last night and drank 15 beers 4161771281
Reposted by Mattias LjungströmAliette de Bodard @aliettedebodard.com · 28/09/2026Any time we hear "AI did this and this", it's not proof programs are becoming sentient, but that the humans deploying said AI did this (which is generally failing to deploy proper sandboxing measures to prevent an AI from going against security) It's not the AI that's rogue, it's the company 6463140
Reposted by Mattias Ljungströmtoaster @toaster-games.bsky.social · 28/09/2026Woohoo, got it submitted! And it even has a title screen, which I never seem to get to in game jams lol. Lot of fun working on this though, and looking forward to playing everyone else's #fallingblockjam submissions! Check mine out here: toastergames.itch.io/dice-to-meet... 33310
Reposted by Mattias Ljungströmdrew shapiro ✦ MUTAGEN Demo out now! @organzola.games · 28/09/2026MENTRIS is out now! Play god with blocks. For #FallingBlockJam organzola.itch.io/mentris 05916
Reposted by Mattias LjungströmLia @liasae.bsky.social · 24/09/2026I am now keeping this on speed-dial 81096318
Reposted by Mattias LjungströmBananaft @bananaft.bsky.social · 25/09/2026whole Mach engine source displayed on the screen 1143
Mattias Ljungström @spacesofplay.com · 25/09/2026Yes, it takes active effort to force LLMs to stop polishing your legacy code base and instead rewrite minimal new solutions. 010
Mattias Ljungström @spacesofplay.com · 25/09/2026Finally found an Atari game that LLMs can play, here's MiniCPM5-2B at Q4_K_M playing Hangman: (all local, all minc code, except for atari env which is in python). 100
Reposted by Mattias Ljungströmzep.p8 @lexaloffle.bsky.social · 25/09/2026#pico8 now has the most officially published cartridges of any console in history. Well done everyone. 15692118
Mattias Ljungström @spacesofplay.com · 24/09/2026Changing the uni-kernel over to the new default memory allocator in minc (TLSF with quick lists) made a huge change for the JS interpreter. (JSON.parse 56 µs to 0.5 µs, Buffer.alloc(16) 9 µs to 0.1 µs) 011
Mattias Ljungström @spacesofplay.com · 24/09/2026Been fixing some minor issues with the minc-kernel in preparation for open sourcing it. Owning the full stack was one reason for this little experiment - tsmc.minc.devtsmc.minc.devtsmc unikernel 140
Reposted by Mattias LjungströmMattias Ljungström @spacesofplay.com · 23/09/2026minc compiler 0.9.15 now available from minc.dev More correctness, optimizations fixes, updated sokol headers to latest, two new sokol-samples (cmdbuf, sparse_ub) at (spacesofplay.github.io/sokol-sample...). Also re-transpiled latest box3d api with new features (spacesofplay.github.io/box3d-minc/). 193
Mattias Ljungström @spacesofplay.com · 23/09/2026minc profile is a built-in mini-profiler for quick and accurate profiling with function names. Agent mode returns data as json, on the cli you get text: 000
Mattias Ljungström @spacesofplay.com · 23/09/2026Especially query allows agents to navigate code fast. The minc compiler's own source, 149,000 lines indexes from cold in about 0.3 seconds. Later calls only re-index the files whose modification time or size changed. The LSP stays in-memory as mcp server. You can of course use it on cli as well: 200
Mattias Ljungström @spacesofplay.com · 23/09/2026Main new feature is agent mode; minc now comes with {build, run, test, query, profile, debug} commands on CLI or as MCP json interface. Allows an agent to run compiler without parsing terminal text, and with much faster iteration speed. minc.dev/agent-mode.h...minc.devAgent mode — mincminc as an MCP server: compile, run, test, debug, profile and query a minc project from a coding agent, in records rather than terminal text. 100
Mattias Ljungström @spacesofplay.com · 23/09/2026minc compiler 0.9.15 now available from minc.dev More correctness, optimizations fixes, updated sokol headers to latest, two new sokol-samples (cmdbuf, sparse_ub) at (spacesofplay.github.io/sokol-sample...). Also re-transpiled latest box3d api with new features (spacesofplay.github.io/box3d-minc/). 193
Reposted by Mattias Ljungströmnolen @itseieio.bsky.social · 21/09/2026I made multiplayer Windows 98 Solitaire. It's called Solitaire Alone Together. You can play together, with the whole internet, but you can't chat or talk. solitairealonetogether.com 9487176
Reposted by Mattias LjungströmZi @majormcdoom.bsky.social · 22/09/2026YESSSS!! Took a couple days, but I now have one motor function that can lets penguins hit any point on anything with any point on any other thing. Probably one of the most versatile motor tasks I've made. SO happy with this! 🐧🐟🔨🙏🧊🚿🪵 #GodotEngine #gamedev #indiedev 2449779
Mattias Ljungström @spacesofplay.com · 21/09/2026thanks, definitely a time-out bug on the tcp connections. 000
Mattias Ljungström @spacesofplay.com · 21/09/2026This is not quite "on the metal", since it runs in a VPS. But there's no OS or container system. Drivers for network (virtio-net) and rng (virtio-rng) used by TLS. Filesystem is read-only in RAM. I'll open source it in the next days. 110
Mattias Ljungström @spacesofplay.com · 21/09/2026Unikernel in minc, running a TypeScript runtime, TLS1.3, TCP, network driver, scheduler, memory manager. All written in minc. Live: tsmc.minc.dev 130
Mattias Ljungström @spacesofplay.com · 21/09/2026yeah, I tried various more complex state descriptions, but this simple model can't reason accurately on them. It fails to do math basically. you can move the math outside the model, but then it's all kind of pointless. 010
Mattias Ljungström @spacesofplay.com · 21/09/2026And yes, there are RL solutions for this that work so much better. This was just a silly test. Local only, 100% minc code. 020
Mattias Ljungström @spacesofplay.com · 21/09/2026Local LLM playing breakout. It's quite bad on this setup, but fast! (Not sure text representation is ever good here.) The state is given as "The ball is to the left of the paddle, drifting away from the paddle." and the model outputs {left, stay, right} state. (MiniCPM5-2B-Q4_K_M, M1 GPU) 220
Mattias Ljungström @spacesofplay.com · 20/09/2026running a spam filter here, about .4-.5s per email. using sokol headless mode with some additions to gpu api. 000
Mattias Ljungström @spacesofplay.com · 20/09/2026Single-pass LLM classification on M1 GPU, inspired by SemIf repo and Jev. Running at parity with llama.cpp or slightly faster on M1 for this specific task. (100% minc code, ggml transpiled for CPU path, GPU kernels from scratch in minc, all local). 110
Mattias Ljungström @spacesofplay.com · 19/09/2026I was about to publish another minc update but found some issues during final testing so going to delay for next week. In pipeline - Sokol headers updated to match latest C api, a complete rewrite of inlining system, and other optimizations. 040
Reposted by Mattias LjungströmMattias Ljungström @spacesofplay.com · 17/09/2026editing and rebuilding editor code project inside the editor itself. terminal session survives editor restart. (the process itself is handed over to the new editor process.) 031
Mattias Ljungström @spacesofplay.com · 17/09/2026editing and rebuilding editor code project inside the editor itself. terminal session survives editor restart. (the process itself is handed over to the new editor process.) 031
Reposted by Mattias LjungströmMatt Henderson @matthen.com · 16/09/2026Trying to forecast the future on a Galton board 1658081
Mattias Ljungström @spacesofplay.com · 12/09/2026yeah, I haven’t used astra but this is typical “default” pick llms do. i made sure all types move unchanged in minc. otherwise all calls to opengl would require expensive reshuffles. 101
Reposted by Mattias Ljungströmvideogame history @vghistory.bsky.social · 11/09/2026imagefight, warning, fm towns (1990) www.mobygames.com/game/27229/i... 940894
Mattias Ljungström @spacesofplay.com · 09/09/2026or the 20 or so daily messages about who is or isn't coming to daycare today. 010
Mattias Ljungström @spacesofplay.com · 09/09/2026short summary here (now at 89%), main category is "early errors: programs the parser should refuse" github.com/SpacesOfPlay... 110
Mattias Ljungström @spacesofplay.com · 08/09/2026Built on sokol_audio, uses sokol_gl / sokol_debugtext_font for visuals. 110
Mattias Ljungström @spacesofplay.com · 08/09/2026Added a new audio example, showing stb_vorbis decodes and audio mixing: minc.dev/playground/g... (click on it to activate audio in browser) 141
Mattias Ljungström @spacesofplay.com · 07/09/2026One of my validation projects for minc compiler has been a TypeScript run-time. It currently pass ~80% on the ECMAScript test suite. Live-demo: spacesofplay.github.io/tsmc/ 140
Mattias Ljungström @spacesofplay.com · 07/09/2026Created an overview of minc compiler _compilation_ speed, using the box3d project as a benchmark since it exist as both C and minc. Details here: minc.dev/compile-time... 121
Mattias Ljungström @spacesofplay.com · 07/09/2026added editor emoji support, works on win/macos so far. 010
Mattias Ljungström @spacesofplay.com · 06/09/2026You can still bind/link the libc math functions if you want, but it needs to be renamed: extern "ucrtbase.dll" f64 libc_sin(f64 x) from "sin"; If you need 'optimal' performance an approximation with float4 or f32x8 would have much higher throughput. 000
Mattias Ljungström @spacesofplay.com · 06/09/2026Most C runtime math (sin/cos/...) have different implementations on win/mac/linux. On windows/linux runtime it branches on your CPU type. Results usually stay within +/- 1 ULP, with most input exact. 110
Mattias Ljungström @spacesofplay.com · 06/09/2026WASM version of the above sample available here: minc.dev/playground/d... Note: wasm doesn't have fused math, it always runs in strict mode. The divergent case is forced with an approximation function to highlight how a 1-bit difference becomes chaotic. 100
Mattias Ljungström @spacesofplay.com · 05/09/2026FileData.len is now i64 to support >2GB files. Reads are chunked (a 100 MB file loads about 10x faster). LSP: semantic diagnostics, indexing optimization, completion fixes, resolve fixes. Compiler binary -62 KB (3%) smaller and self-compiles ~2% faster. 110
Mattias Ljungström @spacesofplay.com · 05/09/2026minc compiler 0.9.14 now available (minc.dev) Focus on numerical correctness - all math func now in pure minc and identical cross-platform (x64/arm64/wasm). The new implementations are either faster or similar performance of C runtime. New sample chaos pendulum with pinned results: 191