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
Something I realized while playing around with this project is that the ZLS WASM binary is currently the largest part of the total content transferred over the network (it's 11.22MB with the version of the page currently deployed, and with the latest Zig it's closer to 12MB). For comparison, the latest Zig master (with the appropriate patch) compiled to WASM using ReleaseSmall is 5.3MB.
Attempting to compile ZLS to WASM using ReleaseSmall unfortunately does not work due to ziglang/zig#15469 (the reproducer I provided in the comments of that issue was reduced from ZLS). However, using wasm-strip from https://github.com/WebAssembly/wabt, it is possible to bring the 12MB ReleaseFast build of ZLS down to 2.2MB (just by removing all the custom sections).
The text was updated successfully, but these errors were encountered:
Something I realized while playing around with this project is that the ZLS WASM binary is currently the largest part of the total content transferred over the network (it's 11.22MB with the version of the page currently deployed, and with the latest Zig it's closer to 12MB). For comparison, the latest Zig master (with the appropriate patch) compiled to WASM using
ReleaseSmall
is 5.3MB.Attempting to compile ZLS to WASM using
ReleaseSmall
unfortunately does not work due to ziglang/zig#15469 (the reproducer I provided in the comments of that issue was reduced from ZLS). However, usingwasm-strip
from https://github.com/WebAssembly/wabt, it is possible to bring the 12MBReleaseFast
build of ZLS down to 2.2MB (just by removing all the custom sections).The text was updated successfully, but these errors were encountered: