Tomasz Andrzejak
Tomasz Andrzejak
https://html.spec.whatwg.org/multipage/webappapis.html#report-an-exception
As discussed here: https://github.com/bytecodealliance/StarlingMonkey/pull/200#discussion_r1952578511: It’s unfortunate that we’re only performing encoding to calculate the length of the encoded stream, after which the result is discarded. One possible solution would be...
It's unclear how these `url` instances are dropped, if at all: https://github.com/bytecodealliance/StarlingMonkey/blob/main/builtins/web/url.cpp#L364 https://github.com/bytecodealliance/StarlingMonkey/blob/main/builtins/web/url.cpp#L748 https://github.com/bytecodealliance/StarlingMonkey/blob/main/host-apis/wasi-0.2.0/host_api.cpp#L665
This is an experimental build of StarlingMonkey with GC zealing enabled. The integration tests are run with GC activated every 10 allocations and verify pre write barriers between instructions enabled.
WASI filesystem defines interface for calling `fadvise`: https://github.com/WebAssembly/wasi-filesystem/blob/main/wit-0.3.0-draft/types.wit#L345 This is not supported in Node.js filesystem API thus the call is NOP in current implementation. We should add support for calling...
https://github.com/bytecodealliance/StarlingMonkey/blob/main/docs/src/developer/spidermonkey.md The information in the file above is outdated as it mentions `gecko-dev` branch that is now superseded by https://github.com/bytecodealliance/firefox/tree/wasi-ff140. I think the other instructions in this file are not...
As mentioned here: https://github.com/bytecodealliance/StarlingMonkey/pull/242#issuecomment-3201119743 we should re-enable this warning and use suppression maps from clang: https://clang.llvm.org/docs/WarningSuppressionMappings.html ``` # .clang-suppression: # Suppress -Winvalid-offsetof warnings in SpiderMonkey [invalid-offsetof] src:*/spidermonkey-debug/* src:*/spidermonkey-release/* ``` This...
Our developer guide section on debugging is currently empty: https://bytecodealliance.github.io/StarlingMonkey/developer/debugging.html cc: @squillace
I was recently looking into ways to reduce the size of the StarlingMonkey image, which currently sits at around 11MB. One of the interesting tools that we could perhaps use...
I get the compilation errors when I try to build `mimalloc3` using `wasi` target. ``` git clone --branch v3.1.5 https://github.com/microsoft/mimalloc.git ``` ``` ~/w/h/s/h/t/mimalloc ((v3.1.5)) [1]> ~/workspace/build/wasi-sdk-23.0-x86_64-linux/bin/clang src/static.c -I include/ -I...