crane-search icon indicating copy to clipboard operation
crane-search copied to clipboard

Wasm size

Open gitMitos opened this issue 4 years ago • 1 comments

Cool idea. Did you try tinyGo by any chance? Some data indicate that it is much better in generating smaller wasms. I am sure that for sites with Gbs of text it still will not work well in terms of size of wasm, but... for some cases... it could be very interesting solution.

gitMitos avatar Feb 21 '21 03:02 gitMitos

TinyGo would significantly shrink the browser binary. I played around with it a little but ran into some library restrictions.

encoding/gob (as well as encoding/json) aren't supported yet. encoding/csv might be an option.

healeycodes avatar Feb 21 '21 09:02 healeycodes