News for hackers. Stuff that matters.
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.
Re:Reducing Tailscale’s binary size on macOS by saagarjha on Friday February 17, 2023 @10:25PM (#34843564)
You should link against the library directly. dyld’s optimizations are complex, especially when it comes to third party code, but by linking directly the system can cache some of the work.