Live data from Hacker News

Tauri binding for Python through Pyo3

github.com

31–40 of 61 posts

Re: Tauri binding for Python through Pyo3

#31

I don't understand why people like Tauri - the fact it uses the system web browser completely destroys the main advantage of Electron: that you can test it locally and be absolutely sure that it will render like that on any other system since the browser is shipped with it.

You mean the laziness of developers to write standard Web code and rather help Google in their plans to take over the Web?

Re: Tauri binding for Python through Pyo3

#32

I don't understand why people like Tauri - the fact it uses the system web browser completely destroys the main advantage of Electron: that you can test it locally and be absolutely sure that it will render like that on any other system since the browser is shipped with it.

For a lot of people the main advantage of electron was just being able to use the webdev stack for a desktop app. Tauri makes it less portable but is less bloated. Different tradeofs I guess. Also: I think it’s kinda funny that Tauri is basically a very straightforward of example of trading developer comfort for benefit of the user, and you can’t imagine people using it.

I have never seen a Tauri app that was significantly less bloated than Electron. Can you share any?

Re: Tauri binding for Python through Pyo3

#33

I don't understand why people like Tauri - the fact it uses the system web browser completely destroys the main advantage of Electron: that you can test it locally and be absolutely sure that it will render like that on any other system since the browser is shipped with it.

For a lot of people the main advantage of electron was just being able to use the webdev stack for a desktop app. Tauri makes it less portable but is less bloated. Different tradeofs I guess. Also: I think it’s kinda funny that Tauri is basically a very straightforward of example of trading developer comfort for benefit of the user, and you can’t imagine people using it.

It's not for the benefit of the user when you get dozens of issues in Github because webkit-gtk or WebView2 changed something.

Re: Tauri binding for Python through Pyo3

#34
post #30

Python, along with C++ enjoys the benefits of Qt. You can build great stuff with cross-platform Qt. And it won't be webview(Electron / Tauri) based. What would be the benefits of this? I can't think of any yet.

This benefits people and teams who prefer to build UIs with html/js/CSS.

Re: Tauri binding for Python through Pyo3

#35

Earlier quoted context omitted.

For a lot of people the main advantage of electron was just being able to use the webdev stack for a desktop app. Tauri makes it less portable but is less bloated. Different tradeofs I guess. Also: I think it’s kinda funny that Tauri is basically a very straightforward of example of trading developer comfort for benefit of the user, and you can’t imagine people using it.

I have never seen a Tauri app that was significantly less bloated than Electron. Can you share any?

The bundle size is, by definition, much smaller as it doesn't include the browser engine.

Re: Tauri binding for Python through Pyo3

#36
post #2

Nice. It might be worth copying some of the introductory text from the Tauri package explaining what this does. Otherwise a person to lands on the readme gets a lot of technical detail about how it is built without any idea what it actually does.

The first word in the README (other than the title) is a hyperlink to Tauri.

Re: Tauri binding for Python through Pyo3

#38

I don't understand why people like Tauri - the fact it uses the system web browser completely destroys the main advantage of Electron: that you can test it locally and be absolutely sure that it will render like that on any other system since the browser is shipped with it.

Tauri also provides an experimental Servo web engine to follow Electron: https://v2.tauri.app/blog/tauri-verso-integration/

Re: Tauri binding for Python through Pyo3

#39
post #5

Since Tauri is just a thin wrapper over the system webview, what's the point of having a wrapper over a wrapper? I don't think the Python ecosystem was lacking in browser wrappers up till now.

Tauri also has their own experimental Servo engine: https://v2.tauri.app/blog/tauri-verso-integration/ So it's not necessarily a wrapper over system webview.

Re: Tauri binding for Python through Pyo3

#40
post #5

Since Tauri is just a thin wrapper over the system webview, what's the point of having a wrapper over a wrapper? I don't think the Python ecosystem was lacking in browser wrappers up till now.

> Since Tauri is just a thin wrapper over the system webview

This isn't true. It's a thing wrapper over various things, including that.

Even if it were true - so what? There are probably 30 nested wrappers you could name even if you started at WebView as the outermost wrapper.

Post reply on HN