News for hackers. Stuff that matters.
Re:Rio-labs/rio: WebApps in pure Python. No JavaScript, HTML... by mattgreenrocks on Tuesday September 17, 2024 @10:53AM (#41568191)
Not sure I agree. What makes the presentation layer of HTML/JS/CSS so different from Win32 of yore, which had VB? VB enabled a LOT of bespoke monstrosities, but it let you do things quickly and easily. We need something like that for the web.

There will always be essential complexity in dealing with the client/server nature of web apps. But there's still a lot of incidental complexity that can be burned off.

Re:Rio-labs/rio: WebApps in pure Python. No JavaScript, HTML... by worewood on Tuesday September 17, 2024 @11:18AM (#41568561)
> What makes the presentation layer of HTML/JS/CSS so different from Win32 of yore, which had VB?

From my experience: besides both Win32 and VB being from the same entity (Microsoft), which helps a lot, what we had basically were VB bindings for the underlying Win32 library.

This Rio project seems more analogous to a library that tries to do an abstraction on top of Win32, like wxWidgets or Java's AWT. They work but the end results always seem a bit "off".

And unlike Win32, web technologies are moving targets and any assumptions one makes may be wrong some browser updates down the line... and there's where the nightmare comes

Re:Rio-labs/rio: WebApps in pure Python. No JavaScript, HTML... by pjmlp on Tuesday September 17, 2024 @11:21AM (#41568593)
Because of the rendering features provided by HTML, CSS and JavaScript semantics.

That is why Flash became so loved by Web designers, allowing them to target a rendering surface, completely bypassing the browser.

Also why we are now having Flash's revenge with WebGL/WebGPU/WebAssembly.

However the "until you have to debug it" still applies, unless you ship the browser with the application, but that isn't something people usually do. /s

Re:Rio-labs/rio: WebApps in pure Python. No JavaScript, HTML... by wiseowise on Tuesday September 17, 2024 @04:51PM (#41572597)
> We need something like that for the web.

It’s called HTML/CSS/JS.

Re:Rio-labs/rio: WebApps in pure Python. No JavaScript, HTML... by mattgreenrocks on Tuesday September 17, 2024 @06:31PM (#41573581)
They should be, but the default browser styling is terrible.