News for hackers. Stuff that matters.
Re:Candle: Torch Replacement in Rust by tracker1 on Tuesday August 08, 2023 @12:43PM (#37051811)
I would say for me, the killer app would be just about anything you might reach for Electron with, but want a much smaller install footprint. Tauri in and of itself is pretty cool, kind of a lighter alternative to electron using native platform browser engine.

In general, I would probably reach for Rust if I needed to do anything wither Web-Assembly (wasm) as the path to working is much nicer than other languages imo. Along those lines, Yew is pretty nice as a rust-like framework.

I've also played with Rocket, and found it very nice and effective for api driven web-apps. Haven't done any templating engines in/with Rocket, however.

Re:Candle: Torch Replacement in Rust by yodelshady on Wednesday August 09, 2023 @07:48AM (#37061257)
Tauri might be cool in theory, but Hello World consumers TWO POINT EIGHT GIGABYTES of hard disk on my machine.

Arguing "Rust has no dev speed penalty" in that context is just... no. You are damaging your own cause there, because all advocacy becomes laughable.

Re:Candle: Torch Replacement in Rust by CryZe on Wednesday August 09, 2023 @08:12AM (#37061465)
> but Hello World consumers TWO POINT EIGHT GIGABYTES of hard disk on my machine.

While yes, that's really bad, it's just temporary build files. The actual executable should be fairly tiny.

Re:Candle: Torch Replacement in Rust by tracker1 on Wednesday August 16, 2023 @01:44PM (#37150767)
So, you built the application, created the installer... and your install on another machine is 2.8GB? I find that hard to believe.

From another response, their Windows installer is under 7mb, and much of that is MSI boilerplate.

https://github.com/lencx/ChatGPT/releases/tag/v1.1.0

Re:Candle: Torch Replacement in Rust by lencx on Friday August 11, 2023 @05:01AM (#37086590)
Tauri is indeed very cool, and also very small (the installation package is typically under 5MB). I used it to build a wrapper application for the ChatGPT official website, extending the site with many interesting features through script injection. However, the compatibility of the system webview across different platforms is a frustrating matter. https://github.com/lencx/ChatGPT