Grilled Cheese

ExploreLog inSign up

Karl Zylinski

@zylinski.se

194 Following1.2k Followers

Wrote the eBook "Understanding the Odin Programming Language". Made the game "CAT & ONION". Check out what I'm up to these days: https://zylinski.se

PostsRepliesMedia
@zylinski.seOct 8, 2026, 9:16 PM

My friend @kflo.bsky.social made the music and sound for Silver Pines!!

@zylinski.seOct 8, 2026, 8:56 PM

New video where I show how the compile times improved with the latest Odin release www.youtube.com/watch?v=fgSr...

@anyainlove.bsky.socialOct 6, 2026, 9:30 PMReposted by @zylinski.se

Det värsta med att vara sin egen chef är att chefen är dum i hela jävla huvudet.

@mandelbaumski.bsky.socialOct 7, 2026, 1:43 PMReposted by @zylinski.se

Been awhile. Creating has been hard lately. Currently experimenting with combining pen and paper with digital painting. Also, perhaps im just stubborn, but I actually erase backgrounds manually. Magic background deletion always cuts things weirdly to me. There's prolly a better way to do this 😅

@zylinski.seOct 6, 2026, 3:17 PM

Made a video about getting started with writing about programming: www.youtube.com/watch?v=X5xz...

@zylinski.seOct 5, 2026, 12:04 AM

Render backends now take an explicit state pointer: github.com/karl-zylinsk...

Next up: Platform interfaces. At that point I will also add monitor queries. The monitor queries will not need any state pointer, so they can be used before window creation.

@zylinski.seOct 2, 2026, 3:11 PM

When you buy the HTML version, you get the whole book as a single HTML file. All fonts, images etc are embedded in it. It's self-contained like a PDF, but reads nicer on a computer.

@zylinski.seOct 2, 2026, 3:07 PM

The HTML version of my Odin book has gotten a surprising amount of praise.

The design is based on how I want to read books while on a computer: As one giant document, without any annoying PDF page breaks.

Have a look yourself: odinbook.com/sample.html

@zylinski.seOct 1, 2026, 9:03 PM

I'm thinking of doing videos on how to do technical writing. If there is any topic or question anyone wonders about, then do let me know! It can be about anything related to writing technical books or technical blog posts.

@zylinski.seSep 29, 2026, 12:50 AM

A lot of the interfaces-tweaking I've been done comes from what this PR enabled: github.com/odin-lang/Od... The interesting thing you can do is have an interface where the procs have `self` parameters that match type through a `using`. This removes lots of boilerplate casting.

@zylinski.seSep 28, 2026, 5:02 PM

More Karl2D audio backend interface tweaking... I learned that `using` works even when implicitly casting proc parameter types. This simplified creating interfaces that take a "self" parameter. Handy in my case, because I switch impl on failure:
github.com/karl-zylinsk...

@zylinski.seSep 27, 2026, 11:48 PM

WIP: making the Karl2D audio backends take explicit state pointers instead of using globals: github.com/karl-zylinsk...

The usage of a globals is OK in the main Karl2D public API, but it spread to the backends. I'll change all audio, rendering and platform code to work like this.

@johanz.bsky.socialSep 17, 2026, 7:23 PMReposted by @zylinski.se

Too fun to just press Randomize in our new customization system in PIT OF GOBLIN! :D

Most of the time you get pretty cool goblins too!

#gamedev #gameart

@zylinski.seSep 16, 2026, 4:08 PM

Doing a little redesign of Karl2D font cache stuff. My previous design could cause too many draw calls.

The new idea uses up to 4096x4096 texture and then compacts the atlas by trowing out the 50% least recently used glyphs.

How does that sound?

github.com/karl-zylinsk...

@zylinski.seSep 16, 2026, 3:58 PM

This reply sent me down a rabbit hole the last few days. I realized that my design was lacking in this aspect.

So I have redone how it works: github.com/karl-zylinsk...

Now there is one atlas. It can grow to 4096x4096. After that compaction kicks in: Rebuild the atlas, remove 50% LRU

@sandbags.bsky.socialSep 13, 2026, 8:03 PMReposted by @zylinski.se

I haven't written much #odin code yet but I have been devouring @zylinski.se book and find much I like. Whatever my next project that isn't a good fit for the BEAM is, I think I will be using Odin. I was hoping to get into the Jai beta but Odin+Raylib(+Clay I hope) feels like a powerful combination.

@zylinski.seSep 10, 2026, 11:14 PM

New dynamic font cache for Karl2D that fixes old font rendering issues, reduces font memory usage and runs faster.

github.com/karl-zylinsk...

@zylinski.seSep 9, 2026, 4:13 PM

wodin has a WASM backend that lets it emit WASM directly, without LLVM. The Playground runs wodin, which compiles the game and emits new WASM, which is then executed. Note that wodin's WASM backend is AI generated. Nevertheless, I am flabbergasted that this is even possible.

@zylinski.seSep 9, 2026, 4:13 PM

Technical details: The Odin compiler runs in your browser. Even on your phone! This is enabled by an experimental Odin compiler fork called wodin: github.com/karl-zylinsk...

@zylinski.seSep 9, 2026, 4:13 PM

Try Karl2D in the new Karl2D Playground: karl2d.com/playground

You can edit and recompile the examples, directly in your browser!

Older posts
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-10-10 01:38:52 EDT