News for hackers. Stuff that matters.
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.