Cheng Shao
Cheng Shao
On Windows, `findExecutable ""` would throw `*** Exception: searchPath: invalid argument (The parameter is incorrect.)`. However, on Linux it simply returns `Nothing`. I believe this is a bug and we...
The wasm backend seems to have bitrotted a bit, I couldn't get it to compile in the latest `dev-slice` branch, so I did some preliminary fixes and improvements. Summary of...
### Version _No response_ ### Platform ```text Linux 824a726bf62a 6.10.5 #1-NixOS SMP PREEMPT_DYNAMIC Wed Aug 14 13:34:38 UTC 2024 x86_64 GNU/Linux ``` ### Subsystem _No response_ ### What steps will...
**Describe the bug** Generate a standard `cabal` config file with `cabal user-config init`, then modify a field within another field (e.g. `ar-location` within `program-locations`). Calling `cabal user-config diff` would result...
The mozillateam ppa contains outdated firefox version. Mozilla has an official apt repo that provides up-to-date firefox package in sync with other OTA release channels, so use that instead. #...
This patch implements fast `Get` logic for integral types based on: - Use a single load operation when loading with same endianness of the host, otherwise do a host load...
Currently, in `binary`, all the primitives to load a single word is done by loading individual bytes and concatenating them with bitwise operations. This works and is portable, but it...
See https://github.com/bytecodealliance/jco/blob/f92eaa519f6db46e02777cf0ac9674025d578d87/packages/preview2-shim/lib/browser/filesystem.js#L123, when this is invoked repeatedly to do a lot of small appends, there is O(n^2) slowdown due to repeatedly concatenating buffers. I noticed this when working on https://github.com/bjorn3/browser_wasi_shim/pull/95;...
See https://github.com/swiftwasm/uwasi/blob/7adb986f4320cfda6d63d8291a8412f42483813d/src/features/fd.ts#L672, `fd_write` always allocates a new buffer and copies over old content when appending content, which results in O(n^2) slowdown when doing a lot of small writes. I noticed...
Closes https://github.com/bjorn3/browser_wasi_shim/issues/93. Note that I've also taken some time to upgrade all the outdated dependencies and fix the code accordingly, if you wouldn't mind.