This is GOAT
03.02.2026 20:27 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0@chunkdev.bsky.social
Building ChunkCity - an Infinite City Builder for PC & mobile ๐ป๐ฑ. No engine, built with #Kotlin and #libGDX
This is GOAT
03.02.2026 20:27 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0Shinestone so to speak
Sorry...
IntelliJ IDEA by jetbrains
01.02.2026 14:59 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0I didnโt have a compiler course or the Dragon Book. Watching a YouTuber called tsoding build compilers from scratch on YouTube was my sole inspiration.
31.01.2026 21:19 โ ๐ 8 ๐ 0 ๐ฌ 1 ๐ 0Probably, yes - just not yet. I want it to be in a somewhat presentable state first.
31.01.2026 21:14 โ ๐ 8 ๐ 0 ๐ฌ 0 ๐ 0First post of the year after a few stressful weeks at work. Added support for Kotlin objects (singletons): no lazy init yet, but the implementation was refreshingly straightforward.
#kotlin
A new devlog about my village building game! ๐บ
Learn about how and why I transformed my game's world from a tiny 200m patch to a mighty 100km island! ๐ฅ
#gamedev #indiedev #indiegames #devlog
youtu.be/00f5GLnVtok
The video:
youtu.be/il-TXbn5iMA
I just learnt that Valve used it in Half-Life and called it "Half Lambert"
05.01.2026 23:00 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0Probably set to private like I did
02.01.2026 13:14 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0Nice, top 80%
02.01.2026 12:38 โ ๐ 2 ๐ 0 ๐ฌ 1 ๐ 0I tried similar things before but this one works exceptionally well while being extremely simple yet elegant.
Also thanks for sprinkling in hermite splines, just to conclude that even math says it's a great solution.
It reminds me of Duff's device: en.wikipedia.org/wiki/Duff%27...
So it's basically goto, and maybe shouldn't be used because it's confusing
So... just two more years? Anyways, I'm looking forward to it
31.12.2025 19:41 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0New blog post! (yep, at New Year's Eve.) A short detour into a fun one-liner shading model I use for clouds in my game ๐ฅฐ
lisyarus.github.io/blog/posts/a...
I need two different move instructions since I use separate stacks for primitive (.p) and object types (.a) for implementation reasons.
The .i in the MUL instruction stands for 32bit integer multiplication, indeed.
Thanks, I haven't released it yet
30.12.2025 19:51 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0Basically role playing with code
30.12.2025 12:40 โ ๐ 3 ๐ 0 ๐ฌ 0 ๐ 0I considered doing it this way, but adding a separate function and calling it reliably behind the scene sounds like a major headache. So instead I added special instructions to the VM to communicate a bit mask of used default values to the function.
They are only present before inlining.
Taught my Kotlin scripting runtime to handle default parameters and named arguments. For simplicity, default evaluation lives in the function body and gets removed when inlined at the call site.
#kotlin
These numbers would piss me off, too
26.12.2025 10:30 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0Angular lerping done wrong in production
25.12.2025 22:33 โ ๐ 23 ๐ 4 ๐ฌ 6 ๐ 0Lua has the issue of extensive boxing and not using statically known types for optimizations. For that I consider it surprisingly fast ๐
Not using LuaJIT here as that wouldn't be as portable.
Optional parameters and passing parameters by name weren't on my roadmap but who knows ๐คท
Absolute tsoding
22.12.2025 19:09 โ ๐ 2 ๐ 0 ๐ฌ 1 ๐ 0Good question. I don't support default or named parameters nor `by` keyword yet so that may be a limitation. In terms of raw performance see the attached screenshot where I let it calculate prime numbers up to 1,000,000. My project is under 10k LOC.
22.12.2025 17:40 โ ๐ 2 ๐ 0 ๐ฌ 1 ๐ 0Things are serious when Unsafe is involved
22.12.2025 17:17 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0Take WebAssembly for example, it's machine code of a virtual machine
21.12.2025 22:56 โ ๐ 3 ๐ 0 ๐ฌ 1 ๐ 0This is not CPU assembly but assembly for interpreting during runtime. That way you don't need a "proper" compiler which wouldn't be allowed on some platforms anyway.
21.12.2025 22:48 โ ๐ 2 ๐ 0 ๐ฌ 1 ๐ 0I'm writing a compiler to compile and run Kotlin within Kotlin without external dependencies. The assembly you are seeing here is proprietary.
21.12.2025 22:39 โ ๐ 4 ๐ 0 ๐ฌ 1 ๐ 0Added vararg support to my runtime. Fewer things broke than expected.
#kotlin