Re:Rio-labs/rio: WebApps in pure Python. No JavaScript, HTML...
by Sn3llius on Tuesday September 17, 2024 @01:41PM
(#41570429)
Agreed! And indeed we are still considering switching Rio to a Canvas + WebGL/WebGPU. The reason we've decided against it for now is accessibility, and weird edge cases such as Copy & Pasting.
Re:Rio-labs/rio: WebApps in pure Python. No JavaScript, HTML...
by moritzwarhier on Tuesday September 17, 2024 @02:41PM
(#41571129)
What about text rendering?
Apart from native a11y, hackability/"DX" and affordances like text selection, I feel that text rendering is a big moat of classic web technologies.
Re:Rio-labs/rio: WebApps in pure Python. No JavaScript, HTML...
by bobbylarrybobby on Tuesday September 17, 2024 @01:48PM
(#41570516)
How does a screen reader interact with one of these canvas pages?
Re:Rio-labs/rio: WebApps in pure Python. No JavaScript, HTML...
by afavour on Tuesday September 17, 2024 @03:32PM
(#41571715)
That would be one of the entries in the "unholy nightmare" bullet list.
Re:Rio-labs/rio: WebApps in pure Python. No JavaScript, HTML...
by moffkalast on Tuesday September 17, 2024 @01:36PM
(#41570360)
Well that but with WebGPU just might work without turning your app into lagtown central, in a year or five when it's widely supported anyway.
Re:Rio-labs/rio: WebApps in pure Python. No JavaScript, HTML...
by pjmlp on Tuesday September 17, 2024 @01:38PM
(#41570388)
Welcome to what made Flash took off in first place.
Re:Rio-labs/rio: WebApps in pure Python. No JavaScript, HTML...
by afavour on Tuesday September 17, 2024 @01:41PM
(#41570428)
I'm old enough to remember making admins with Adobe Flex. I unironically kind of miss it.
"We'll take your native constructs and jimmy them into some bastardized HTML" is almost always full of razor-sharp edge cases.