top | item 44118442

(no title)

tcshit | 9 months ago

As a C++ developer I shrug at those size numbers, but I’m glad you are a happy with Rust.

discuss

order

wk_end|9 months ago

OP's sort of being misleading when they say they "rewrote it in Rust", IMO. They're still using HTML and JS for their UI, rather than a native solution. The size/perf improvements mostly just come from using the OS' native engine instead of bundling Chromium.

the__alchemist|9 months ago

As a rust developer, I do too! Those are not representative of rust GUI/3D etc desktop applications. I've made some pretty complicated stuff with 2D and 3D graphics, lots of functionality; expected size is 5-15Mb on Windows, and 10-25Mb on Linux. Less if you don't need 3D.

anthk|9 months ago

Strip the Linux binaries with strip(1).

correa_brian|9 months ago

What do you think would be more in line with what you've seen in the past? There's definitely room to keep optimizing.

tonyhart7|9 months ago

is there a UI framework production ready yet in rust??? because for Tauri at least you can use JS which is fine

CyberDildonics|9 months ago

If you use FLTK you can start a binary with no dependencies at 100KB.

airstrike|9 months ago

That has nothing to do with Rust and everything to do with Tauri.