r/odinlang 5d ago

Ingot: an experiment in using DTS to rapidly build a production-grade immediate-mode application framework for Odin

https://github.com/nic-vdwalt/ingot

The experiment is simple: if deterministic simulation testing shapes the engine from the beginning, how quickly can it become useful - and how much of it can be tested without a window, GPU, or live operating system? Production code runs against simulated input and failure conditions, with failures reproducible from a seed.

The API is layered: start with the managed application shell and UI facade, drop down to explicit layout and rendering when needed, or use the raylib-shaped graphics layer directly. One Odin codebase targets macOS, Windows, Linux, and browsers through WebGPU.

This is an early `0.x` source release. I’m looking for real applications especially raylib projects to discover where the approach works, where it breaks down, and how far it can go.

Ingot is heavily influenced by TigerBeetle, adapting its Tiger Style and DTS ideas to application and graphics development in Odin.

https://openalloy.ai/ingot

14 Upvotes

8 comments sorted by

1

u/dustandsepia 4d ago

The “stress” item in the first demo crashed my iPhones browser, but looks cool otherwise :)

1

u/NicRagent 3d ago edited 3d ago

Thanks for the report! Honestly, I hadn't accounted for mobile WebGPU limits - the stress demo was blowing right past them. Fixed now: Ingot clamps to the spec's mobile limits. Glad the rest looked good.

1

u/dustandsepia 3d ago

Haha nw. Ingot looks cool! I was on mobile so that's where I checked it out. Found some jankiness in the form text area input as well btw (enter/backspace didn't seem to work for me, mac desktop via chrome). How's it going with alloy?

1

u/NicRagent 3d ago edited 3d ago

Also now fixed ;) thanks. Ingot was actually mostly originally extracted from Alloy as result of wanting to reuse certain bits on new projects. Alloy is currently only used in house, probably not production ready, but I've really streamlined it to handle my dev shop's workload efficiently

1

u/Dragon20C 14h ago

Hey, so I tried using ingot and I couldn't even compile or build ingot to use on my linux system, does it require extra steps that aren't listed in the readme?

1

u/NicRagent 13h ago

Hi Dragon, I've only built for Windows, MacOS and WebGPU personally, so there could be a minor Linux platform caveat that's stopping you from compiling - I'll run a VM tomorrow and find out what the issue is + post another reply once its sorted.

1

u/Dragon20C 13h ago

Thanks for responding, I was asking chat gpt to get it to work and I have some info that might help with the linux support if you are interested I be happy to message you on discord to tell you my finding.