News for hackers. Stuff that matters.
Re:Advice for the next 100 Rust GUIs by slopinthebag on Sunday November 22, 2026 @05:47AM (#50598360)
well like i said, you can use something like egui's wgpu backend (which is the default) and draw whatever 2d or 3d graphics you want.
Re:Advice for the next 100 Rust GUIs by swiftcoder on Sunday November 22, 2026 @06:51AM (#50598764)
Right, but going that route gives up native text layout, native IME, native accessibility, etc. It's mostly fine for building game-like things, but I wouldn't want to build a productivity app that way.
Re:Advice for the next 100 Rust GUIs by the__alchemist on Sunday November 22, 2026 @07:38AM (#50599127)
I don't know what you're asking. I use EGUI + WGPU for a 3D molecule viewer/editor, and it works great. I don't know what a productivity app is, but I think this is one?
Re:Advice for the next 100 Rust GUIs by swiftcoder on Sunday November 22, 2026 @07:56AM (#50599284)
> Many people pointed out that you have a big selection of tools that can do this.

The vast majority have pointed to tools that do the opposite: they render the UI into my 3D context, not tools that can render my 3D context into their UI.

This is a fundamentally different approach, with significant tradeoffs: you are accepting non-native controls, text layout, IME, accessibility, no direct compositor integration, and re-renders affect the entire UI (not just the 3D viewport).

Re:Advice for the next 100 Rust GUIs by the__alchemist on Sunday November 22, 2026 @08:06AM (#50599348)
Ah got it; I appreciate the clarification. That was indeed the part I'd missed.
Re:Advice for the next 100 Rust GUIs by slopinthebag on Sunday November 22, 2026 @07:55AM (#50599274)
what do you mean by "native text layout, native IME, native accessibility"? egui does text layout, accessibility, etc. if you mean like using the os-native UI, tauri doesn't give you that either...
Re:Advice for the next 100 Rust GUIs by swiftcoder on Sunday November 22, 2026 @07:58AM (#50599297)
> if you mean like using the os-native UI, tauri doesn't give you that either

The browser shell offers a mature text engine, native IME integration, robust accessibility support, access to a wide selection of controls that behave exactly like their native equivalents, and the canvas element is distinct from the rendering model of the surrounding UI elements.

It's not a panacea, but its significantly more advanced than something like egui.

Re:Advice for the next 100 Rust GUIs by slopinthebag on Sunday November 22, 2026 @08:07AM (#50599358)
the browser has it's strengths and weaknesses, if it works for your usecase than great. but i thought we were talking about embedding 3d context into rust ui :)
Re:Advice for the next 100 Rust GUIs by swiftcoder on Sunday November 22, 2026 @10:44AM (#50600696)
> i thought we were talking about embedding 3d context into rust u

I would rather be doing that, yes. The options to do that without moving all my UI into the 3d context are however slim