You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
It's actually in fact I/O.
For UPX to work, it must read and decompress the whole binary at once in memory.
Meanwhile a regular, uncompressed binary can use Demand Paging to dynamically load the code on page faults only as it's needed.
In practice the difference in boot times is not likely to be very high, but it exists.
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. It's actually in fact I/O.
For UPX to work, it must read and decompress the whole binary at once in memory. Meanwhile a regular, uncompressed binary can use to dynamically load the code on page faults only as it's needed.Demand Paging
In practice the difference in boot times is not likely to be very high, but it exists.
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: