Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's a nice idea, but the execution is taking the wrong path in my opinion. By rendering everything to a `<canvas>` they're sacrificing any hope of accessibility and compatibility with browser standards for UX.

I would have much preferred a React-Native-style approach, where they render to true HTML instead. Even then, WASM files are too heavy for quick loading times without good internet (and sometimes even with).

The projects I see that would most benefit from something like this are complex internal apps that need to be used in different places but aren't worth porting over/rewriting, but they would also suffer from terrible UX given the constraints of this design.

For all other projects, it makes for more sense to use React Native.



It's not meant to be an HTML renderer. That's for .NET apps. While it's cool they can run in a browser, that's not meant to build websites.

Would you complain that Qwasm/Dwasm doesn't follow HTML standards of accessibility?


Accessibility is for all user experiences, not just websites. WCAG is still a good resource for native apps even where some specifics do not 100% apply.

If Qwasm is referring to Quake, it absolutely should have, for example, legible color contrast and be usable if you are colorblind.


What else do you build on the web with a UI framework if not a website? If you're making a distinction between websites and webapps, it's equally important for both to be accessible and work as expected with a browser.


vscode?


VSCode is a webapp [1], that is most often used wrapped in a shell that lets it act as a desktop app.

Even if you do consider it separate from webapps, it should still work with tab navigation and screen readers, which rendering to `<canvas>` doesn't allow for (at least without some very hacky workarounds).

Flutter faces a similar problem; to render cross-platform, they use a custom layer not standard to the system, and then try to emulate all the behaviors of a native app, which often feels broken and unnatural and is wasted work because the engineers are just rewriting and reshipping everything the platform already offers—at the cost of accessibility and general user experience.

- [1]: https://vscode.dev




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: