News for hackers. Stuff that matters.
Re:Reducing Tailscale’s binary size on macOS by duskwuff on Friday February 17, 2023 @03:42PM (#34840267)
1.5 MB for a stub binary which does nothing but load and call a symbol from another file seems a little excessive in its own right.
Re:Reducing Tailscale’s binary size on macOS by mihaip on Friday February 17, 2023 @04:12PM (#34840646)
The main binary also contains Tailscale’s GUI (onboarding, auth, menu, notifications, etc) so it does a little more than that.
Re:Reducing Tailscale’s binary size on macOS by mrpippy on Friday February 17, 2023 @05:46PM (#34841675)
Plus, it's a universal binary with x86_64 and arm64 slices.
Re:Reducing Tailscale’s binary size on macOS by duskwuff on Friday February 17, 2023 @05:51PM (#34841711)
Oh, if that's the case then 1.5 MB seems much more reasonable. Never mind.
Re:Reducing Tailscale’s binary size on macOS by 1vuio0pswjnm7 on Friday February 17, 2023 @04:03PM (#34840540)
Agreed. Strangely discussions of bloat sometimes trigger snarky replies:

https://news.ycombinator.com/item?id=34732782

Re:Reducing Tailscale’s binary size on macOS by preseinger on Friday February 17, 2023 @08:21PM (#34842863)
bloated is relative and subjective but the only context where an 11MB binary could be considered bloated is embedded

hard to take seriously the idea that 11MB is bloated in a normal linux server or user desktop environment

Re:Reducing Tailscale’s binary size on macOS by 1vuio0pswjnm7 on Saturday February 18, 2023 @12:51AM (#34844314)
If the program in inteneded by me to run on a small form factor computer with limited storage, such as a router, then the program nearly doubling in size is going to draw attention.

Bloated is subjective. That means there will different opinions, like it or not. Not every computer owner has the same usage patterns nor equipment.

What's interstig is that I never used the word "bloated". I simply noted the program size increased. That is not a subjective opinion it is a fact.

Re:Reducing Tailscale’s binary size on macOS by duped on Friday February 17, 2023 @08:19PM (#34842855)
That's pretty normal for statically linked executables unless you're aggressively stripping and removing things (which is hard to do)