↑
logo

Blit: Immediate (Yet Deferred) Mode UI

Posted by nicoburniske |23 minutes ago |2 comments

proc0 8 minutes ago

This is awesome. I think immediate mode with some optimizations where it makes sense to avoid recalculating layout every frame is the sweet spot for UIs. Most UIs don't change that much but retained mode goes too far with trying to cache everything. I'll have to check this out.

nicoburniske 23 minutes ago

I've been working on this for 5 months and was hesitant to post given the flood of rust UI frameworks.

its modularity is pretty unique compared to other rust UI libs. the core is #![no_std] with zero dependencies, and it runs on embedded devices (with a very fast software renderer), TUIs, and wgpu.

it's still early and experimental, but hope you find the writeup interesting.

repo: https://github.com/nicoburniske/blit