News for hackers. Stuff that matters.
Re:Google Docs will now use canvas based rendering by ehsankia on Wednesday May 12, 2021 @03:56PM (#27134424)
Did you feel the same when Maps went from HTML to Canvas?

There is no factual basis for your claims. The simplest and most obvious answer is performance. Docs these days can take 5-10s to fully open, especially with comments and annotations.

Re:Google Docs will now use canvas based rendering by SilverRed on Wednesday May 12, 2021 @09:57PM (#27137596)
I think the panic over this is a little unfounded. For docs this makes perfect sense. My concern I guess is if this becomes the normal way of doing development, and people build HTML replacements that work using canvas. What will the impacts be.

* How many browser functions will break.

* Will middle click still work.

* Will screen readers still work?

* Will search engines/ctrl+f still work?

One of the awesome things about web browsers is you get so many features for free on every website. Making the text bigger on a website mostly just works everywhere while on traditional apps it only does if the app has a specific setting for it.

Re:Google Docs will now use canvas based rendering by ehsankia on Wednesday May 12, 2021 @10:42PM (#27137849)
I don't think it'll become the normal way. If anything, the opposite is true, people making Electron apps to get to access the power of web development, instead of making native apps.

It's definitely not easy, it requires you to re-implement everything from scratch. It only makes sense in cases where performance is paramount. I could imagine applications being migrated to the web doing it though, like Photoshop an the like.

But I absolutely don't see normal web development migrating over, it's just way too much pain for little value. Development, debugging, testing, etc. Everything becomes much harder.

Re:Google Docs will now use canvas based rendering by SilverRed on Wednesday May 12, 2021 @11:37PM (#27138118)
>it's just way too much pain for little value

I'm assuming that we will eventually have powerful HTML like frameworks built on top of canvas. So for the end developer, its just as simple as using GTK or HTML.

Re:Google Docs will now use canvas based rendering by souprock on Thursday May 13, 2021 @02:32AM (#27139099)
Oh, maybe that is why I can no longer use Google Maps. It used to perform OK, and then one day it became hopeless.

I was thinking it might be assumptions about 3D acceleration hardware.

Re:Google Docs will now use canvas based rendering by notyourwork on Wednesday May 12, 2021 @04:17PM (#27134639)
No factual basis? Moving from DOM produced content to canvas produced content closes off your ability as a user to see what is happening.

As for Google Maps, it is not speedy or snappy by any stretch of the imagination. In fact, it is pretty abysmal in terms of page performance on the web.