The mental rabbit hole I’ve been prodding. Could I use ImGui via a C bridging layer, from Swift?

It’s an idea that won’t quit, which means I’ll likely FAFO soon 🫠

@davelightbeam oooh let me know. I have been thinking about similar things for a while
@davelightbeam I mean yes you definitely can. But what’re the ergonomics like? And can you make them nice?
@adamc @davelightbeam there a pretty nice rust binding which might be worth examining: https://github.com/imgui-rs/imgui-rs but it feels like most rust projects reach for the rust native https://www.egui.rs/ instead, which suggests that the imgui binding is awkward in some way…
GitHub - imgui-rs/imgui-rs: Rust bindings for Dear ImGui

Rust bindings for Dear ImGui. Contribute to imgui-rs/imgui-rs development by creating an account on GitHub.

GitHub