News for hackers. Stuff that matters.
Re:Tauri – toolchain for building secure native apps that ha... by tonyhb on Wednesday July 08, 2020 @12:01PM (#23771175)
Without plugging away at a specific language, I'm a fan of 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.

Re:Tauri – toolchain for building secure native apps that ha... by api on Wednesday July 08, 2020 @12:18PM (#23771351)
Does 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.
Re:Tauri – toolchain for building secure native apps that ha... by tonyhb on Wednesday July 08, 2020 @03:46PM (#23773531)
Woof 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. But it _does_ support basics for HTML, and ARIA could be added.