[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1756741305638.png (71 KB, 640x336)
71 KB
71 KB PNG
>tauri is a lightweight alternative to Electron
>download the default "hello world app" example
>"npm run tauri desktop"
>wait until cargo downloads all of it's slop
>hello world app runs
>"du -sh ."
>"3.3GB"

What the FUCK is wrong with these people. What makes them think that they have the right to shit on my hard drive like it's their designated shitting street??
>>
>>106453918
Embrace low tech
>>
>>106453918
the resulting app is lightweight, not your build files, retard
>>
>>106453918
Do you also consider the size of the OS you are running as part of the binary size?
Tauri is a piece of shit, but that doesnt make you any less retarded.
>>
isn't tauri a full browser running a webpage
>>
>>106454380
Electron du -sh is 300MB (which is still too much, but JS is known for node_modules bloat)
>>
>>106454423
what are the final executable filesizes tho?
>>
>>106454447
No idea.
>>
File: 1737544895943071.jpg (149 KB, 640x718)
149 KB
149 KB JPG
>>106454380
>>106454423
tauri is NOT a full browser running a webpage. it's an app that launches your internal system browser (like Edge WebView on windows) and opens a webpage.
the 3 GB that OP mentions are not the final executable program size, those are just all the Rust libraries (crates) that are needed to build the app
>but i don't want all those Rust libraries that together occupy 3 GB of space with Rust code
okay fuckface, go ahead and implement all of their functionality yourself. what's the problem?
>>106454423
>electron is 300 MB
yes fuckhead because all the most complicated part of the browser are already PRE-BUILT for you, via the chromium executable that is downloaded. all that's left is 300 megabytes of javascript that glues your shitty app to the browser
go ahead and clone chromium repo. it's gonna be like 30 GB of C++

this better be ragebait. the ragebait of the "shitting on Rust for no valid reason daily quota" variety. you can't complain about these things while being this incompetent
>>
>>106453918
If they used C instead of Rust, it wouldn't have to download all that bullshit.
>>
File: file.png (45 KB, 525x380)
45 KB
45 KB PNG
Web technologies are one massive poorly designed mistake
Use solutions that were designed for desktop apps instead of tech that was designed to show popup ads and make seizure inducing flashing text and then was adapted for desktop apps
>>
>>106454380
neither tauri nor electron are "full browsers"
they're the document viewer part of the browser.
>>
>>106454580
honestly that sounds terrible, i'd rather package a browser like electron than have to constantly deal with random platform discrepancies
how long does it take to download a 100mb zip these days, 2 seconds?
>>
>>106453918
>npm
Imagine shilling that garbage here
bun tauri run dev and gtfo
>>
>>106454645
Web developers are plentiful and cheaper than native developers. That's why even large industrial CNC machines now have touchscreens that use React.
>>
>>106453918
>didn't compile in release
>didn't strip
>measuring the size of all intermediate artifacts as well instead of just the final binary
>>
>>106455997
>>didn't compile in release
>>didn't strip
>>measuring the size of all intermediate artifacts as well instead of just the final binary
None of this matters because the facts are the following:
>Cargo wasted 3.3GB of my disk
>Even if release is smaller, my disk will still be fuller because of these pajeets
>Cargo just wasted 3.300.000.000 / 512 write cycles on my SSD for no reason (why don't C or Go have such large artifacts??)
>Even if I delete it, it will just come back next time I build, and even worse, it will waste my write cycles AGAIN
Unpajeetify your language before speaking to me again
>>
>>106456133
>(why don't C or Go have such large artifacts??)
Go does and C uses dynamic linking
>>
>>106456133
This is the Cnile mind btw, there is no cure for willful ignorance



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.