News for hackers. Stuff that matters.
Re:Google Docs will now use canvas based rendering by mihcsab on Wednesday May 12, 2021 @11:45AM (#27131640)
It`s not slow on an old intel i3 laptop and on a motorola one phone. I keep seeing these comments about flutter web with different examples, they are never slow on my old devices. Also you can make the text selectable if you want to.
Re:Google Docs will now use canvas based rendering by ehnto on Wednesday May 12, 2021 @11:46AM (#27131668)
Which is itself a commentary on the immaturity of the technology. I certainly wouldn't run it in production if I can't trust that all devices of a certain performance level can run it. Random performance issues on top-tier hardware is going to be a non-starter.
Re:Google Docs will now use canvas based rendering by aardvarkr on Wednesday May 12, 2021 @11:51AM (#27131721)
Just loaded it and it ran awfully. We all have anecdotal experiences and it doesn’t make yours any less valid than mine but it does point out that they don’t show much besides what you personally experienced.
Re:Google Docs will now use canvas based rendering by mihcsab on Wednesday May 12, 2021 @12:38PM (#27132260)
wdym by awfully? This makes me crazy, the gallery loaded instanltly, every item I click loads instantly, no problem with scrolling. There is a five second loading delay on the phone when the app loads, the items after that open just as fast as on the laptop.

The only thing I saw that didn'r run smoothly on my weak phone is the flutter plasma demo[0], but it runs without any tearing on the laptop.

[0] https://flutterplasma.dev/

Re:Google Docs will now use canvas based rendering by Mavvie on Wednesday May 12, 2021 @01:29PM (#27132881)
I clicked the "Shrine" app on a 6-core MBP, it took about 3 seconds to render the main gallery page and I got an entire 4 frames rendered during that time.
Re:Google Docs will now use canvas based rendering by hokumguru on Wednesday May 12, 2021 @01:23PM (#27132811)
That doesn’t even load on my iPhone 12
Re:Google Docs will now use canvas based rendering by malkia on Wednesday May 12, 2021 @12:10PM (#27131947)
there is an option for flutter to compile for both canvaskit and html - and then on mobile might select the latter (for reasons being smaller) - it might be that (not sure).

I have two stupid flutter apps that are canvas only - https://malkia.github.io/game_of_life/ and https://malkia.github.io/tictactoe (but haven't rebuilt them with latest & greatest)

Re:Google Docs will now use canvas based rendering by barbecue_sauce on Wednesday May 12, 2021 @11:47AM (#27131671)
As a user or as a developer?
Re:Google Docs will now use canvas based rendering by mihcsab on Wednesday May 12, 2021 @12:19PM (#27132039)
Developer. Texts aren't selectable on mobile by default and they want the web version to act the same.