Re:Reducing Tailscale’s binary size on macOS
by manmal on Friday February 17, 2023 @01:55PM
(#34838763)
As a user I’d prefer faster startup over shaving off a couple MB tbh.
[ Parent
| on HN ]
Re:Reducing Tailscale’s binary size on macOS
by hansvm on Friday February 17, 2023 @02:56PM
(#34839624)
Even if so that takes benchmarking on the target systems. Linking can be fast compared to reading a few extra MB from disk.
Re:Reducing Tailscale’s binary size on macOS
by manmal on Friday February 17, 2023 @04:38PM
(#34840917)
With SSDs approaching 10GB/s reads, I think that’s negligible.
Re:Reducing Tailscale’s binary size on macOS
by saagarjha on Friday February 17, 2023 @03:47PM
(#34840325)
Calling dlopen is perhaps one of the slowest way to bring in libraries on Darwin.
Re:Reducing Tailscale’s binary size on macOS
by mihaip on Friday February 17, 2023 @04:01PM
(#34840512)
What would you recommend? dlopen is only used when running in CLI mode (which is not super performance sensitive), but not making it slower than it needs to be would be good too.