News for hackers. Stuff that matters.
Re:Ask HN: Why isn't Dart more popular? by a-user-you-like on Tuesday October 25, 2022 @10:15PM (#33338925)
Flutter kills the open web by painting on a canvas.
Re:Ask HN: Why isn't Dart more popular? by beanjuiceII on Tuesday October 25, 2022 @10:40PM (#33339135)
you can pick your renderer for web --web-renderer html
Re:Ask HN: Why isn't Dart more popular? by hsn915 on Tuesday October 25, 2022 @10:43PM (#33339161)
What do you think the browser paints on?

On a more serious note, the open web was killed when people decided to use the browser as an application platform instead of as a document delivery platform.

The open web was killed by many things:

- minification

- node_modules

- webpack

- wasm

- react

Painting on a canvas is the proper way to render application UI.

Re:Ask HN: Why isn't Dart more popular? by IceWreck on Tuesday October 25, 2022 @10:58PM (#33339281)
> Painting on a canvas is the proper way to render application UI.

It kills accessibility and extensibility. It also kills content blockers like uBlock Origin.

Re:Ask HN: Why isn't Dart more popular? by nl on Tuesday October 25, 2022 @10:50PM (#33339217)
You can screenscrape HTML based web apps and there are numerous applications enabled by this - from in-browser extensions (eg grammerly) to the ability of Excel to import tables from the web. DOM-based pages is an imperfect model but it has enabled vast extensionability.

Not so for canvas based apps.