IRC channel logs

2025-11-08.log

back to list of logs

<ArneBab>Small feedback to hoot: I see a delay with Hello Word appearing: https://www.draketo.de/software/hoot.html ← that’s not due to execution time, but due to serialized loading: hoot.js is loaded at load_time, then it loads wtf8.wasm and then hoot.wasm and then reflect.wasm
<ArneBab>I tried all tricks I could find to prefetch, down to server-side prefetch directives, but they did not work to avoid that delay. Is there a way to tell hoot to use pre-fetched data? Something like a dictionary {<filename>: <raw data>, ...} so I can preload in parallel with Promise.all() and then load hoot?
<ArneBab>To test: open the network tab in dev utils, deactivate the cache, then reload and check the timing. wtf8.wasm, hoot.wasm, and reflect.wasm are loaded in series after DOMContentLoaded.
<ArneBab>the source for hoot.wasm is https://www.draketo.de/software/hoot.w
<ArneBab>The description how to create it is https://www.draketo.de/software/programming-basics-wisp.html#deploy-hoot-wasm
<ArneBab>The loader is https://www.draketo.de/software/hoot.js ⇒ here I’d like to have a way to pass the data for files as data, for example via base64 encoded inline data bundled into the hoot.js