3 ms·
Without plugging away at a specific language, I'm a fan of https://github.com/hecrj/iced https://github.com/hecrj/iced. It's native cross-platform (Linux/Windo
by tonyhb 6y ago
Without plugging away at a specific language, I'm a fan of https://github.com/hecrj/iced https://github.com/hecrj/iced. It's native cross-platform (Linux/Windows/Mac) and compiles to wasm for web support. Native as in no web rendering - it renders its own widgets via wgpu - but that's the compromise for easy cross-platform support.
You use one interface for generic compatibility. This doesn't work for all cases, so you can also choose to add platform-specific code via conditional compilation to make sure that each platform's specifics are handled with intent, where you need to do so.
It's exactly what you're looking for. Early stages - file support is a little rusty (pun intended) - but it's coming along fast.
- api 6y agoDoes it have accessibility support? Generally the answer is 'no' for virtually all novel UI toolkits, especially immediate mode ones. I really love imgui but the lack of accessibility support means it can't be used on 'serious' projects that might ever be used by anyone visually impaired.
- tonyhb 6y agoWoof yeah good point, that is a true bummer :( We're using it for an internal prototype. It's not a great story right now: https://github.com/hecrj/iced/issues/282 https://github.com/hecrj/iced/issues/282. But it _does_ support basics for HTML, and ARIA could be added.