-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nice job, but UPX is not good. #21
Comments
Every once in a while I come back to this repo to mess around. Anyway, I would recommend against using UPX too. Unless you're making a tool that's very, very rarely used so you'd rather save disk space. The reason being that it hurts startup times. Aside from the obvious decompression, there's also another contributor. For UPX to work, it must read and decompress the whole binary at once in memory. In practice the difference in boot times is not likely to be very high, but it exists. |
By default, upx will be disabled 8b4cc5c |
18mb is too large, which makes Avalonia have no advantage over web-based technologies (such as Electron, cef). |
In some cases, we need smaller file sizes |
electron is much larger than 18MB |
Hello everyone,
Nice idea for Aot version. But I don't need upx. But I find funny because single executable requires 2 libraries as *.a for Linux/macOS and *.lib for Windows via directinvoke.
If you use musl-libc Linux like Void-Linux or Alpine then you just add then clang error message and copy whole output of error message and replace "clang" with musl-g++ -static and find -lrt and add -lSkiaSharp -lHarfBuzzSh then strip -S AvaloniaAOT then it looks small executable ca 10 mb under Linux.
The text was updated successfully, but these errors were encountered: