News for hackers. Stuff that matters.
Re:Tauri 1.0 – Electron Alternative Powered by Rust by 411111111111111 on Thursday June 16, 2022 @08:39AM (#31765351)
> The biggest drawback is that it only supports a subset of Web APIs, even the DOM APIs

Even bigger drawback is that it ain't Free, honestly. Sure, the licence allows you to use it if the users install the sciter runtime separately, but that ain't really am option beyond development imo.

Re:Tauri 1.0 – Electron Alternative Powered by Rust by wongarsu on Thursday June 16, 2022 @08:54AM (#31765499)
Dynamic linking is allowed and you are allowed to ship those, so on Windows it's very painless. You just ship your Go/C#/Python/Rust binary with a sciter.dll that sits in the same folder. On Linux it's not quite as nice since you have to move the libsciter.so to the appropriate folder.

Of course static linking would be nicer, but I think it's fair to charge money for that (as well as for source code access). The project has to finance itself somehow.

Re:Tauri 1.0 – Electron Alternative Powered by Rust by pritambaral on Thursday June 16, 2022 @09:27AM (#31765802)
> On Linux it's not quite as nice since you have to move the libsciter.so to the appropriate folder.

Incorrect. Linux doesn't care where you load a .so from. You could load it by using a path, or you could add a path to your LD_LIBRARY_PATH env var. You could even add it to your compiled binary's RPATH. All methods support relative paths. The latter requires a binary, but the first two work with nearly all scripting languages.

Re:Tauri 1.0 – Electron Alternative Powered by Rust by pessimizer on Thursday June 16, 2022 @09:43AM (#31765955)
None of those options are any easier than moving it. No harder, but no easier.
Re:Tauri 1.0 – Electron Alternative Powered by Rust by electroly on Thursday June 16, 2022 @10:10AM (#31766242)
I don't think I agree. You don't need root and you don't need to "install" anything with these other options; it allows the user to extract and run rather than extract, elevate, install, run. It clearly shifts some of the pain from the user back to the developer. It's particularly clearly a win if you're distributing your app on your website instead of via distro package managers.
Re:Tauri 1.0 – Electron Alternative Powered by Rust by ptspts on Thursday June 16, 2022 @10:32AM (#31766517)
A shell script provided by the app author can automate setting LD_LIBRARY_PATH and running the binary. It's very convenient for the end user. Lots of programs are shipped to Linux this way.
Re:Tauri 1.0 – Electron Alternative Powered by Rust by jjnoakes on Thursday June 16, 2022 @10:02AM (#31766163)
They are easier for the end user in certain cases. Putting the library in the system library search path requires elevated privileges (usually). Having your application run from a self-contained directory does not.
Re:Tauri 1.0 – Electron Alternative Powered by Rust by simplify on Thursday June 16, 2022 @10:37AM (#31766562)
How many great projects will never be, from the common dev's expectation of free?
Re:Tauri 1.0 – Electron Alternative Powered by Rust by galaxyLogic on Thursday June 16, 2022 @11:05AM (#31766898)
I think there is an oversized focus on everything being free. It started with Google being free but it really isn't since you have to view adds and get distracted.

Also think about a software tool that costs say $100. It ain't free but that's your hourly salary Mr. Professional Developer. Using only free tools is penny-wise and pound foolish.

Re:Tauri 1.0 – Electron Alternative Powered by Rust by feanaro on Thursday June 16, 2022 @12:38PM (#31768083)
I think paying once for a tool is outstanding and I fully support it. Prices can even be a lot higher, from my point of view.

The trouble is that everyone wants to be a landlord these days by charging rent instead of allowing you to buy a copy of the software.

Re:Tauri 1.0 – Electron Alternative Powered by Rust by ptato on Thursday June 16, 2022 @01:54PM (#31768981)
No, my hourly salary is 1/10 of that. I would still pay for the license for Sciter if I had a use for it right now, but it isn't a trivial cost.
Re:Tauri 1.0 – Electron Alternative Powered by Rust by b3morales on Thursday June 16, 2022 @11:49AM (#31767443)
Agreed; don't pick the free-as-in-beer tool solely because of that. However, some of the free-as-in-beer tools are the best. And those you should donate to (if they accept it). :)
Re:Tauri 1.0 – Electron Alternative Powered by Rust by remram on Thursday June 16, 2022 @09:42AM (#31765944)
I see, the SDK is BSD but the runtime is freeware.